Installing OpenSolaris on the New Partition

Create and Boot From an OpenSolaris Live CD
  1. Download an ISO file of the OpenSolaris Developer from one of the following locations:

HTTP/FTP:

BitTorrent:
  1. Burn the ISO file onto a CDR to make a bootable CD.
    Just like with the g4u CD, if your Windows computer does not have burning software, InfraRecorder, which is open-source, works well.
  2. Insert the OpenSolaris Live CD and reboot the primary computer.
    The computer reboots.
  3. To ensure that your computer boots from the CD drive, rather than the system drive, press F9 as the computer launches, select Boot from the CD, and press Enter.
    The GNU GRUB appears.
  4. Select OpenSolaris Developer Preview 2 and press enter.
    A short setup for the OpenSolaris Developer Preview launches.
  5. Select a keyboard layout.
    United States English is the default.
  6. Read the Users Agreement, and then close it.
    Our lawyers made us say that.
  7. Explore the OpenSolaris Developer Preview environment.

The Live CD boots to a fully functional GNOME desktop environment, including Firefox and Thunderbird. This is how the operating system appears once it is installed.

Delete the Partition to be Taken by OpenSolaris
  1. Right click on desktop and select Open Terminal.
    The Terminal window opens.
  2. Claim user privileges and examine the computer's available hard drives.
    $ pfexec format
  3. At the prompt, enter the password.
    The machine searches for disks, and then prompts you to specify one. The screen might look something like this:
    AVAILABLE DISK SELECTIONS:
    0. c8t0d0 <drive type unknown>
    /pci@0, 0/pci103c, 30c1@1f, 2/disk@o, 0
    Specify disk (enter its number):

The name of the disk in this example is c8t0d0. Write down the name of your hard disk.

  1. Quit the format utility.
    • ^c
      The above notation means hold down the 
      Control button and press c.
  1. Load the disk formatting utility with the fdisk command. The disk that you plan to partition is used as an argument, with p0 added to the end to specify the entire disk. For example:
    # fdisk /dev/rdsk/c8t0d0p0
    The fdisk utility loads.
  2. Determine which partition upon which you plan to install OpenSolaris.
    For reference, the Vista partition should already be active. The partitions' size and architecture are also useful guides.
  3. Open the Delete a partition function.
    • 3
  1. Specify which partition to delete and confirm your choice.
    The partition to delete is the number from step six. y confirms your choice.
Create a Solaris2 Partition
  1. Open the Create a partition function.
    • 1
      A list of partition types appears.
  1. Choose to create a Solaris2 partition. We will do this one more time before the partition is actually created. This is just an intermediate step, so you can find out how much room on the disk is available for the Solaris2 partition.
    • 1
  1. Specify the percentage of the disk to be used for the Solaris2 partition. Because you do not know how much of the space is available for the partition, trick the system by choosing the entire disk.
    • 100
      An error message, similar to the one below, appears:
      fdisk: Maximum percentage available is 45.
  1. Again, open the Create a partition function.
    • 1
      A list of partition types appears.
  1. Create a Solaris2 partition.
    Once again, you are asked to specify how much of the disk is to be used for the Solaris2 partition.
  2. Type in a number equal to, or less than, the number specified by the maximum percentage available, specified in step three.
    A query about whether to make the Solaris2 partition the active partition appears.
  3. Make the Solaris2 partition active.
    • y
  1. Save your changes and exit the fdisk tool.

# 5

  1. Close the terminal.
Launch the OpenSolaris Installation Wizard
  1. Execute the OpenSolaris installer by clicking on the Install OpenSolaris icon near the top left of the desktop.
    The OpenSolaris installer opens.
  2. Move forward by clicking Next, on the bottom right corner.
    Disk management options are presented.
  3. Select “Use existing Solaris partition,” and then click Next.
    Clock and calendar options are presented.
  4. Select the correct time zone, time, and date, and then click Next.
    User account options are presented.
  5. Fill in the appropriate boxes, and then click Next.
    A summary of user input is displayed.
  6. Click Install.
    A progress bar indicates the percentage of completion of the installation. Once complete, a window announces that installation is finished.
  7. Click Reboot, on the bottom right.

The GNU GRUB appears.

Add Vista Back to the GRUB Menu
  1. Select Boot from Hard Disk, and press Enter.
  2. Select `OpenSolaris Developer Preview 2, and press Enter.
    OpenSolaris boots. The system cycles through some first-time startup tasks, so this might take more time than usual. Sign-in screens prompt you to enter your username and password.
  3. Enter your username and password.
    The computer boots to a clean desktop.
  4. Right click on the desktop and select Open Terminal from the drop-down list.
    The Terminal window opens.
  5. Claim user priviliges and navigate to the GRUB menu.
    $ pfexec cd /rpool/boot/grub
  6. Open the GRUB menu text file. The contents of the GRUB menu.lst file determines which operating systems are displayed in the list of available operating systems when you boot the system.
    # vi menu.lst
    The GRUB menu.lst file displays, looking something like this:
    splashimage /boot/grub/splash.xpm.gz
    timeout 30
    default 0
    #-- ADDED BY BOOTADM - DO NOT EDIT --
    title OpenSolaris Developer Preview 2 snv_79b X86
    kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
    module$ /platform/i86pc/$ISADIR/boot_archive
    #- END BOOTADM --
    -
    -
    -
  7. Add Vista back to the GRUB menu file. This step requires knowing a bit about how to use vi, the text editing program.
    splashimage /boot/grub/splash.xpm.gz
    timeout 30
    default 0
    #-- ADDED BY BOOTADM - DO NOT EDIT --
    # title Windows
    rootnoverify (hd0,0)
    chainloader +1

    title OpenSolaris Developer Preview 2 snv_79b X86
    kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
    module$ /platform/i86pc/$ISADIR/boot_archive
    #- END BOOTADM --
    -
    -
  8. Save and quit vi.
  • Press Shift and :

# wq!

  1. Reboot the computer.
    The GRUB menu displays. It should list both OpenSolaris and Vista.
  2. Select the operating system of your choice and press Enter.
    Enjoy.
last modified by admin on 2009/10/26 12:07
Collectives
Project


© Sun Microsystems Inc. 2009
XWiki Enterprise 1.8.2.19075 - Documentation
Terms Of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines | Site map | Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.