>They are not available in IPS. You can install the SVR4 packages on your 
>system, but I am not sure what you need the live upgrade user package 
>for. We don't use the old live upgrade on OpenSolaris, we have 'Snap 
>Upgrade', which is managed via beadm(1M).


I don't think they'll work properly either.

If you have both an IPS and a SXDE environment you can change fairly
easily.   "beadm" will list zfs liveupgrade environments:

BE       Active Mountpoint Space Policy Created          
--       ------ ---------- ----- ------ -------          
osol_132 NR     /          7.58G static 2010-02-15 12:04 
snv_130  -      -          5.18G static 2010-02-15 09:20 


"beadm" misses some things needed for easily scripting (such as the
"lucurr" command) but it can allows booting from an older environment.

You can't boot a "liveupgrade" environment, you'll need to change the
grubmenu (x86) and the bootfs in your zpool.

I'm currently upgrading all my "liveupgrade systems" to "Opensolaris";
I can do this more or less automatically, except for editing the grub menu.

There were some issues, such as the "isp" device driver not available in
OpenSolaris (I need it to boot my SF 6800)  It took me a few hours over
the weekend to create and test the scripts.

My mechanism to upgrade from SXDE to OpenSolaris is:

        - make sure you have rpool and you can boot from that environment;
          it needs to have room for two entire boot environments.

        - snapshot & clone "/"
        - save all the "volative/editable" files
        - remove all the sxde packages using "pkgrm" (removing all the
          post/pre remove scripts and all the r. scripts as they don't 
          always work properly
        - rm etc/svc/deathrow
        - install the SVr4 packages for IPS (download ips gate, compile it)
        - create an image (pkg image-create ...)
          and install all the packages
        - copy all the system files from the current root to the IPS root
          (including your repository)
        - change bootfs in rpool
        - reboot
        - and you'll see some issues about CDE missing but these are then 
          gone from the repository.

Issues I ran across are:
        - IPS will die when something "weird" happens (e.g., if you still       
          have a /usr/openwin *directory* then IPS bails out and needs to
          be restart after removing the offending file; then it will need
          to download everything (???)
        - IPS just install "everything"; you most for install SUNWcsd else
          other packages will fail because /etc/group doesn't exist.
        - IPS uses quite a bit of memory, systems with less then 2GB will 
          be uncomfortable when running IPS.
        - when I made an error and I wanted to the packages then all 
          directories with some local content were moved to var/adm/pkg/
          lost+found (this is where /usr/local was moved to)
        - error reporting is not always helpful
        - building the recent ips gate seems to install some files in the
          wrong location.


If  you run SXDE from ufs, then, unfortunately, you will need to
convert.  Liveupgrade allows that (as I have done with most of my 
machines).  If your root is a mirror, then it's probably even easier: just
split the mirror and use the second half.

I think you'll need at least 20GB for the root (two ZFS boot environments,
with compression, most everything installed)

Casper

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to