On Fri, May 29, 2009 at 6:40 PM, Ivan Ordonez <[email protected]> wrote: > OpenSolaris 2009.06 snv_110 X86 > Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. > Use is subject to license terms. > Assembled 19 March 2009
Then you are using OpenSolaris - not SXCE. In the bad-old-days of live upgrade, you had to worry about slices and copying file systems between them. In most systems, this established a practical limit of only a couple boot environments - especially if you wanted to be sure that you always had mirrors. With the good new days of Snap Upgrade (and ZFS enhancements to Live Upgrade as of S10 u6), ZFS comes to the rescue. Creation of a new boot environment is much simpler. You don't have to worry about slices for extra boot environments. With OpenSolaris, it is as simple as... beadm create mynewbe That should take less than a second. The new boot environment is bootable. More details at http://wikis.sun.com/download/attachments/78086473/beadm.1m.txt. But most people will never do that because the packaging system now likes to create boot environments for you. On Monday when OpenSolaris 2009.6 is released it will be at build 112b. You should be able to upgrade your existing machine to it - in a new boot environment - with: Upgrade the ipkg utility to the current version. This changes your active BE $ pfexec pkg install SUNWipkg Create a new BE and upgrade it: $ pfexec pkg image-update On your next reboot you will boot to the newly installed bits. You should also see a grub menu entry for the previous BE in the event that things didn't go well. It's not clear whether you are trying to do this for the advertised reasons for using live upgrade or for the purpose of cloning your system to make another one that looks just like it. If you are trying to clone the system, you probably want to use beadm with the -p option to have the new boot environment be created in a new zpool. That is, it would probably be something like: zpool create newpool /dev/dsk/<disk> beadm create -p newpool mynewbe (set up grub on <disk>) I haven't tried this, so there are probably some gotchas when moving to a new system. I'm sure you will write back if/when you stumble across this and discover the fix. ;) -- Mike Gerdts http://mgerdts.blogspot.com/ _______________________________________________ opensolaris-discuss mailing list [email protected]
