[indiana-discuss] upgrading to an older release
Fajar A. Nugraha
fajar at fajar.net
Thu Apr 2 20:28:50 PDT 2009
On Fri, Apr 3, 2009 at 6:14 AM, W. Wayne Liauh <wp at hawaiilinux.us> wrote:
> This is what I meant (abstractly speaking): zpool send 109@ => beadm destroy 109 => pfexec pkg -R /mnt install entire at 0.5.11,5.11-0.108 => (optionally) zpool recv 109@
You mean something similar to debootstrap or "yum install
--installroot" on Linux?
Wouldn't that create a "new" install, without any old data?
Testing it goes something like this:
# zfs create rpool/ROOT/opensolaris-6
# zfs set canmount=noauto rpool/ROOT/opensolaris-6
# zfs set mountpoint=/a rpool/ROOT/opensolaris-6
# zfs mount rpool/ROOT/opensolaris-6
# pkg image-create -p opensolaris.org=http://pkg.opensolaris.org/dev /a
# pkg -R /a install entire at 0.5.11,5.11-0.108
PHASE ACTIONS
Install Phase 1269/1269
PHASE ITEMS
Reading Existing Index 7/7
Indexing Packages 1/1
Problem is, it only install entire without anything else (might need
to pass more packages to "pkg install", I'm not sure). Plus there
should be additional post-installation tasks (creating vfstab,
installing boot record, etc.)
Regards,
Fajar
More information about the indiana-discuss
mailing list