[indiana-discuss] Revised instructions for updating from http://pkg.opensolaris.org/
Keith Bierman
khbkhb at gmail.com
Mon Oct 6 12:53:58 PDT 2008
Sadly this hasn't seemed to work for me. I've done it several times (minor variations). Here is the last attempt. After the script is finished, I do a pfexec reboot and it correctly tries to boot from the new "opensolaris-" but sadly it says it's not bootable (or something similar that flies by too fast to see) and then it's back to the grub select an image to boot from.
Script started on Mon Oct 06 12:23:09 2008
khb at opensolaris~>BUILD=`uname -v | sed s/snv_//`
khb at opensolaris~>echo $BUILD
86
khb at opensolaris~>alias pf=pfexec
khb at opensolaris~>pf pkg refresh
pfkhb at opensolaris~>pf pkg install SUNWipkg at 0.5.11-0.$BUILD
Nothing to install in this image (is this package already installed?) ! yes, from previous attempts
khb at opensolaris~>beadm list
BE Active Active on Mountpoint Space
Name reboot Used
---- ------ --------- ---------- -----
opensolaris yes no legacy 169.65M
opensolaris9x_080922 no no - 2.43G
os0922 no yes - 5.60G
khb at opensolaris~>pf beadm create opensolaris-
khb at opensolaris~>mkdir /tmp/mnt$$
khb at opensolaris~>pf beadm mount opensolaris- /tmp/mnt$$
khb at opensolaris~>pf pkg -R /tmp/mnt$$ image-update
Checking that SUNWipkg (in '/') is up to date...
DOWNLOAD PKGS FILES XFER (MB)
Completed 548/548 29023/29023 501.96/501.96
PHASE ACTIONS
Removal Phase 7143/7143
Install Phase 13721/13721
Update Phase 73918/73918
PHASE ITEMS
Reading Existing Index 9/9
Indexing Packages 548/548
opensolaris- has been updated successfully
---------------------------------------------------------------------------
NOTE: Please review release notes posted at:
http://opensolaris.org/os/project/indiana/resources/rn3/
---------------------------------------------------------------------------
khb at opensolaris~>beadm list
BE Active Active on Mountpoint Space
Name reboot Used
---- ------ --------- ---------- -----
opensolaris yes no legacy 178.71M
opensolaris9x_080922 no no - 2.43G
os0922 no yes - 5.60G
opensolaris- no no /tmp/mnt1988 2.43G
khb at opensolaris~>pf beadadm activate opensolaris-
beadadm: Command not found
khb at opensolaris~>pf beadm activate opensolaris-
khb at opensolaris~>exit
script done on Mon Oct 06 13:50:10 2008
--
This message posted from opensolaris.org
More information about the indiana-discuss
mailing list