As promised, here is what I did to get Nevada installed in Parallels. It is neither fast, nor pretty, but it works.
I started out by creating a new VM, using defaults for everything but the CD, which I set to my DVD image of Solaris 10 update 2.
Once I booted the VM, I selected "Solaris" from the GRUB menu, and then option 4, "Solaris Interactive Text (Console session)".
After that I complete the Solaris installation as usual.
Note that I create a partition exactly as big as the / partition on slice 3.
This will later be uses to for live upgrade, to get from Solaris 10 update 2
to Nevada build 42a.
When the system reboots, I stop the VM and set the CD to the file
/Library/Parallels/Tools/vmtools.iso and boot the VM.
Then select Xorg instead of Xsun, and once the boot completes configure it as follows:
- PS/2 mouse
- Emulate 3 buttons: n
- Mouse device: default (/dev/kdmouse)
- Keyboard: generic 104-key PC
- U.S. English
- Keyboard layout: default
- Additional XBD options: no
- 31.5 - 82.0; Monitor that can do 1280x1024 @ 76 Hz
- vert sync: 3. 50 - 100
- Generic VESA compatible
- 4096K
- Default depth 16 bits
# cd /cdrom/prltools/drivers/network/rtl8029/solaris # ./network.sh Extracting driver... Compiling driver... Installing driver... Will you receive IP addresses from DHCP server (Y/N) y Configuring DHCP client... Network has been successfully configured. Please reboot your operating system.
Now I halt the system and stop the VM. I replace the Solaris 10 update 2 DVD image with my Nevada build 42a DVD image, and boot the VM again. Onc you have logged in, it is time to setup live upgrade. I start by removing the Solaris 10 LiveUpgrade packages, as they know nothing about Nevada and how it works:
# pkgrm SUNWluu SUNWlur
The following package is currently installed:
SUNWluu Live Upgrade (usr)
(i386) 11.10,REV=2005.01.09.21.46
Do you want to remove this package? [y,n,?,q] y
## Removing installed package instance <SUNWluu>
## Verifying package <SUNWluu> dependencies in global zone
WARNING:
The <SUNWzoneu> package depends on the package
currently being removed.
Dependency checking failed.
Do you want to continue with the removal of this package [y,n,?,q] y
## Processing package information.
## Removing pathnames in class <none>
/usr/share/lib/xml/dtd/lu_cli.dtd.1
/usr/share/lib/xml/dtd <shared pathname not removed>
/usr/share/lib/xml <shared pathname not removed>
/usr/share/lib <shared pathname not removed>
/usr/share <shared pathname not removed>
/usr/sbin/luupgrade
/usr/sbin/luumount
/usr/sbin/lustatus
/usr/sbin/lurename
/usr/sbin/lumount
/usr/sbin/lumake
/usr/sbin/lufslist
/usr/sbin/ludesc
/usr/sbin/ludelete
/usr/sbin/lucurr
/usr/sbin/lucreate
/usr/sbin/lucompare
/usr/sbin/lucancel
/usr/sbin/luactivate
/usr/sbin/lu
/usr/sbin <shared pathname not removed>
/usr/lib/lu/menu/lu.init
/usr/lib/lu/menu/Text.success
/usr/lib/lu/menu/Text.status
/usr/lib/lu/menu/Text.ok
/usr/lib/lu/menu/Text.lockerr
/usr/lib/lu/menu/Text.list
/usr/lib/lu/menu/Text.flash.nomedia
/usr/lib/lu/menu/Text.flash.noarchive
/usr/lib/lu/menu/Text.flash.invalid
/usr/lib/lu/menu/Text.flash.delete
/usr/lib/lu/menu/Text.fail
/usr/lib/lu/menu/Text.err
/usr/lib/lu/menu/Text.current
/usr/lib/lu/menu/Text.cancel
/usr/lib/lu/menu/Sub2Help.flash
/usr/lib/lu/menu/Sub1Help5.compare
/usr/lib/lu/menu/Sub1Help4.copy
/usr/lib/lu/menu/Sub1Help4.compare
/usr/lib/lu/menu/Sub1Help3.copy
/usr/lib/lu/menu/Sub1Help3.compare
/usr/lib/lu/menu/Sub1Help2.rename
/usr/lib/lu/menu/Sub1Help2.create
/usr/lib/lu/menu/Sub1Help2.copy
/usr/lib/lu/menu/Sub1Help2.compare2
/usr/lib/lu/menu/Sub1Help2.compare
/usr/lib/lu/menu/Sub1Help2.activate
/usr/lib/lu/menu/Sub1Help.rename
/usr/lib/lu/menu/Sub1Help.nfs
/usr/lib/lu/menu/Sub1Help.lt
/usr/lib/lu/menu/Sub1Help.list
/usr/lib/lu/menu/Sub1Help.lf
/usr/lib/lu/menu/Sub1Help.ld
/usr/lib/lu/menu/Sub1Help.http
/usr/lib/lu/menu/Sub1Help.flash
/usr/lib/lu/menu/Sub1Help.delete
/usr/lib/lu/menu/Sub1Help.create
/usr/lib/lu/menu/Sub1Help.copy
/usr/lib/lu/menu/Sub1Help.compare2
/usr/lib/lu/menu/Sub1Help.compare
/usr/lib/lu/menu/Sub1Help.activate
/usr/lib/lu/menu/Menu.lu
/usr/lib/lu/menu/Menu.flash.retr
/usr/lib/lu/menu/Menu.flash
/usr/lib/lu/menu/Menu.compare
/usr/lib/lu/menu/Menu.choices
/usr/lib/lu/menu/MainHelp.upgrade
/usr/lib/lu/menu/MainHelp.status
/usr/lib/lu/menu/MainHelp.rename
/usr/lib/lu/menu/MainHelp.list
/usr/lib/lu/menu/MainHelp.flash
/usr/lib/lu/menu/MainHelp.exit
/usr/lib/lu/menu/MainHelp.delete
/usr/lib/lu/menu/MainHelp.current
/usr/lib/lu/menu/MainHelp.create
/usr/lib/lu/menu/MainHelp.copy
/usr/lib/lu/menu/MainHelp.compare2
/usr/lib/lu/menu/MainHelp.compare
/usr/lib/lu/menu/MainHelp.cancel
/usr/lib/lu/menu/MainHelp.activate
/usr/lib/lu/menu/Help
/usr/lib/lu/menu/Form.upgrade
/usr/lib/lu/menu/Form.rename
/usr/lib/lu/menu/Form.list
/usr/lib/lu/menu/Form.flash.nfs
/usr/lib/lu/menu/Form.flash.lt
/usr/lib/lu/menu/Form.flash.lf
/usr/lib/lu/menu/Form.flash.ld
/usr/lib/lu/menu/Form.flash.http
/usr/lib/lu/menu/Form.flash
/usr/lib/lu/menu/Form.delete
/usr/lib/lu/menu/Form.create
/usr/lib/lu/menu/Form.copy
/usr/lib/lu/menu/Form.compare2
/usr/lib/lu/menu/Form.compare
/usr/lib/lu/menu/Form.cancel
/usr/lib/lu/menu/Form.activate
/usr/lib/lu/menu
/usr/lib/lu/lux86devpathcare
/usr/lib/lu/lux86bootdevicecare
/usr/lib/lu/luupgrade
/usr/lib/lu/luupdall
/usr/lib/lu/luupd_boot
/usr/lib/lu/luumount
/usr/lib/lu/lutime_valid
/usr/lib/lu/lutab_update
/usr/lib/lu/lusync
/usr/lib/lu/lustripcpioerr
/usr/lib/lu/lustatus
/usr/lib/lu/lustat_set
/usr/lib/lu/lurootdev
/usr/lib/lu/lurename
/usr/lib/lu/luprintf
/usr/lib/lu/lupop
/usr/lib/lu/lunewid
/usr/lib/lu/lunames_list
/usr/lib/lu/lunames_get
/usr/lib/lu/luname_valid
/usr/lib/lu/luname_to_id
/usr/lib/lu/lumount
/usr/lib/lu/lumkfs
/usr/lib/lu/lumkboot
/usr/lib/lu/lumk_iconf
/usr/lib/lu/lumedia
/usr/lib/lu/lumake
/usr/lib/lu/lulib
/usr/lib/lu/luids_get
/usr/lib/lu/lufslist
/usr/lib/lu/lufsck
/usr/lib/lu/luedvfstab
/usr/lib/lu/luedmnttab
/usr/lib/lu/lueddumpadm
/usr/lib/lu/ludu
/usr/lib/lu/ludo
/usr/lib/lu/ludevices
/usr/lib/lu/ludesc
/usr/lib/lu/ludelete
/usr/lib/lu/ludefine
/usr/lib/lu/lucurr
/usr/lib/lu/lucreatezone
/usr/lib/lu/lucreate
/usr/lib/lu/lucopy
/usr/lib/lu/luconfig
/usr/lib/lu/lucompare
/usr/lib/lu/lucomp_size
/usr/lib/lu/lucomm_del
/usr/lib/lu/lucancel
/usr/lib/lu/luactivate
/usr/lib/lu/lu_init_d
/usr/lib/lu/help/C/split.help
/usr/lib/lu/help/C/schedule.help
/usr/lib/lu/help/C/print.help
/usr/lib/lu/help/C/merge.help
/usr/lib/lu/help/C/main.help
/usr/lib/lu/help/C/device.help
/usr/lib/lu/help/C/choice_fstype.help
/usr/lib/lu/help/C
/usr/lib/lu/help
/usr/lib/lu/compare
/usr/lib/lu
/usr/lib <shared pathname not removed>
/usr <shared pathname not removed>
## Updating system information.
Removal of <SUNWluu> was successful.
The following package is currently installed:
SUNWlur Live Upgrade (root)
(i386) 11.10,REV=2005.01.09.21.46
Do you want to remove this package? [y,n,?,q] y
## Removing installed package instance <SUNWlur>
## Verifying package <SUNWlur> dependencies in global zone
WARNING:
The <SUNWluzone> package depends on the package
currently being removed.
Dependency checking failed.
Do you want to continue with the removal of this package [y,n,?,q] y
## Processing package information.
## Removing pathnames in class <EtcDefLu>
## Removing pathnames in class <AddNoUpdate>
## Removing pathnames in class <none>
/sbin/lucurr
/sbin/luactivate
/sbin <shared pathname not removed>
/etc/rc2.d/S10lu
/etc/rc2.d <shared pathname not removed>
/etc/rc1.d/S10lu
/etc/rc1.d <shared pathname not removed>
/etc/rc0.d/K62lu
/etc/rc0.d <shared pathname not removed>
/etc/lu/zones_pkgadd_admin
/etc/lu/tmp <non-empty directory not removed>
/etc/lu/solaris_profile
/etc/lu/solaris_flash_update_profile
/etc/lu/solaris_flash_profile
/etc/lu/rc.d
/etc/lu/lu_transfer_list
/etc/lu/lu_content_control
/etc/lu/compare <non-empty directory not removed>
/etc/lu/DelayUpdate
/etc/lu <non-empty directory not removed>
/etc/lib/lu/plugins/lupi_svmio
/etc/lib/lu/plugins/lupi_bebasic
/etc/lib/lu/plugins <shared pathname not removed>
/etc/lib/lu/lusync
/etc/lib/lu/lurootdev
/etc/lib/lu/luprintf
/etc/lib/lu/ludo
/etc/lib/lu/lubootdev
/etc/lib/lu <shared pathname not removed>
/etc/lib <shared pathname not removed>
/etc/init.d/lu
/etc/init.d <shared pathname not removed>
/etc/default <shared pathname not removed>
/etc <shared pathname not removed>
## Updating system information.
Removal of <SUNWlur> was successful.
Now I add the LiveUpgrade packages from Nevada:
# pkgadd -d /cdrom/sol_11_x86/Solaris_11/Product SUNWlur SUNWluu
Processing package instance <SUNWlur> from </cdrom/sol_11_x86/Solaris_11/Product>
Live Upgrade (root)(i386) 11.11,REV=2006.06.09.01.33
Copyright 2006 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
14 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWlur> [y,n,?] y
Installing Live Upgrade (root) as <SUNWlur>
## Executing preinstall script.
## Installing part 1 of 1.
2574 blocks
[ verifying class <AddNoUpdate> ]
Updating /etc/default/lu
[ verifying class <EtcDefLu> ]
## Executing postinstall script.
=========================================================================
IMPORTANT NOTICE
Patches Needed to Run Solaris Live Upgrade
Correct operation of Solaris Live Upgrade requires that a limited set of
patch revisions be installed for SunOS 5.10 for the i386 platform.
Before installing or running Live Upgrade, you are required to install a
limited set of patch revisions. Make sure you have the most recently
updated patch list by consulting sunsolve.sun.com. Search for the info doc
72099 on the SunSolve(tm) web site.
Live Upgrade may fail to work properly if the latest limited set
of patch revisions are not installed on this system.
=========================================================================
Installation of <SUNWlur> was successful.
Processing package instance <SUNWluu> from </cdrom/sol_11_x86/Solaris_11/Product>
Live Upgrade (usr)(i386) 11.11,REV=2006.06.09.01.33
Copyright 2006 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
7 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWluu> [y,n,?] y
Installing Live Upgrade (usr) as <SUNWluu>
## Installing part 1 of 1.
2191 blocks
## Executing postinstall script.
=========================================================================
IMPORTANT NOTICE
Patches Needed to Run Solaris Live Upgrade
Correct operation of Solaris Live Upgrade requires that a limited set of
patch revisions be installed for SunOS 5.10 for the i386 platform.
Before installing or running Live Upgrade, you are required to install a
limited set of patch revisions. Make sure you have the most recently
updated patch list by consulting sunsolve.sun.com. Search for the info doc
72099 on the SunSolve(tm) web site.
Live Upgrade may fail to work properly if the latest limited set
of patch revisions are not installed on this system.
For x86 systems: A reboot is required after patch application, else
Live Upgrade may fail.
=========================================================================
Installation of <SUNWluu> was successful.
When you have the new LiveUpgrade packages installed, you can create the new boot environment:
# lucreate -m /:/dev/dsk/c0d0t3:ufs -n nv_b42a -c s10u2 Discovering physical storage devices Discovering logical storage devices Cross referencing storage devices with boot environment configurations Determining types of file systems supported Validating file system requests Preparing logical storage devices Preparing physical storage devices Configuring physical storage devices Configuring logical storage devices Analyzing system configuration. No name for current boot environment. Current boot environment is named <s10u2>. Creating initial configuration for primary boot environment <s10u2>. The device </dev/dsk/c0d0s0> is not a root device for any boot environment. PBE configuration successful: PBE name <s10u2> PBE Boot Device </dev/dsk/c0d0s0>. Comparing source boot environment <s10u2> file systems with the file system(s) you specified for the new boot environment. Determining which file systems should be in the new boot environment. Updating boot environment description database on all BEs. Searching /dev for possible boot environment filesystem devices Updating system configuration files. The device </dev/dsk/c0d0s3> is not a root device for any boot environment. Creating configuration for boot environment <nv_b42a>. Source boot environment is <s10u2>. Creating boot environment <nv_b42a>. Checking for GRUB menu on boot environment <nv_b42a>. The boot environment <nv_b42a> does not contain the GRUB menu. Creating file systems on boot environment <nv_b42a>. Creating <ufs> file system for </> on </dev/dsk/c0d0s3>. Mounting file systems for boot environment <nv_b42a>. Calculating required sizes of file systems for boot environment <nv_b42a>. Populating file systems on boot environment <nv_b42a>. Checking selection integrity. Integrity check OK. Populating contents of mount point </>. Copying. Creating shared file system mount points. Creating compare databases for boot environment <nv_b42a>. Creating compare database for file system </>. Updating compare databases on boot environment <nv_b42a>. Making boot environment <nv_b42a> bootable. Updating bootenv.rc on ABE <nv_b42a>. Population of boot environment <nv_b42a> successful. Creation of boot environment <nv_b42a> successful.
Once the boot environment is setup, you can start the LiveUpgrade:
# luupgrade -u -n nv_b42a -s /cdrom/sol_11_x86 Install media is CD/DVD. </cdrom/sol_11_x86>. Waiting for CD/DVD media </cdrom/sol_11_x86> ... Copying failsafe multiboot from media. Uncompressing miniroot Creating miniroot device miniroot filesystem is <ufs> Mounting miniroot at </cdrom/sol_11_x86/Solaris_11/Tools/Boot> Validating the contents of the media </cdrom/sol_11_x86>. The media is a standard Solaris media. The media contains an operating system upgrade image. The media contains <Solaris> version <11>. Constructing upgrade profile to use. Locating the operating system upgrade program. Checking for existence of previously scheduled Live Upgrade requests. Creating upgrade profile for BE <nv_b42a>. Checking for GRUB menu on ABE <nv_b42a>. Checking for x86 boot partition on ABE. Determining packages to install or upgrade for BE <nv_b42a>. Performing the operating system upgrade of the BE <nv_b42a>. CAUTION: Interrupting this process may leave the boot environment unstable or unbootable. Upgrading Solaris: 100% completed Installation of the packages from this media is complete. Deleted empty GRUB menu on ABE <nv_b42a>. Updating package information on boot environment <nv_b42a>. Package information successfully updated on boot environment <nv_b42a>. Adding operating system patches to the BE <nv_b42a>. The operating system patch installation is complete. ABE boot partition backing deleted. Configuring failsafe for system. Failsafe configuration is complete. INFORMATION: The file </var/sadm/system/logs/upgrade_log> on boot environment <nv_b42a> contains a log of the upgrade operation. INFORMATION: The file </var/sadm/system/data/upgrade_cleanup> on boot environment <nv_b42a> contains a log of cleanup operations required. INFORMATION: Review the files listed above. Remember that all of the files are located on boot environment <nv_b42a>. Before you activate boot environment <nv_b42a>, determine if any additional system maintenance is required or if additional media of the software distribution must be installed. The Solaris upgrade of the boot environment <nv_b42a> is complete. Installing failsafe Failsafe install is complete.
Now you have Nevada installed in Parallels, but to run it you have to activate the boot environment and then reboot (you must use init):
# luactivate nv_b42a # init 6
I will try to get a Nevada image up on the Solaris on Parallels page some day.
[Technorati Tags: Solaris OpenSolaris Mac OS X ]





