[indiana-discuss] 'pkg image-update' experience and confusion
Tao Chen
nameistao at gmail.com
Sun Jun 8 08:42:39 PDT 2008
Hi,
I just upgraded 2008.05 (VB guest on WinXP) to snv_90 with 'pkg
image-update'.
First 3 attempts failed, last one was a timeout error, even with
PKG_CLIENT_TIMEOUT=90.
I am in Beijing, 1MB ADSL (capable of 150KB/sec download speed), but
connection to pkg image server is apparently poor.
Upgrade finally succeeded with PKG_CLIENT_TIMEOUT=200:
(I use ksh93 for root, as a real user account)
# PKG_CLIENT_TIMEOUT=200 pkg image-update
DOWNLOAD PKGS FILES XFER (MB)
Completed 534/534 13974/13974 1174.16/1174.16
PHASE ACTIONS
Removal Phase 3117/3117
Update Phase 13877/13877
Install Phase 5852/5852
A clone of opensolaris exists and has been updated and activated. On
next boot the Boot Environment opensolaris-2 will be mounted on '/'.
Reboot when ready to switch to this updated BE.
According to the last message, opensolaris-2 is my new BE.
'beadm list' command returned three entries:
# beadm list
BE Active Active on Mountpoint Space
Name reboot Used
---- ------ --------- ---------- -----
opensolaris yes no legacy 1.55M
opensolaris-2 no yes - 4.70G
opensolaris-1 no no /tmp/tmpjsiWMC 578.5K
I think opensolaris-1 was created during a failed attempt earlier? Can I
delete it?
Then I run:
# mount -F zfs rpool/ROOT/opensolaris-2 /mnt
# /mnt/boot/solaris/bin/update_grub -R /mnt
Creating GRUB menu in /mnt
Installing grub on /dev/rdsk/c4d0s0
stage1 written to partition 0 sector 0 (abs 16065)
stage2 written to partition 0, 264 sectors starting at 50 (abs 16115)
# reboot
After reboot, I was greeted by four entries, with the last one selected by
default:
OpenSolaris 2008.05 snv_86_rc3 X86
opensolaris-1
opensolaris-2
Solaris 2008.11 snv_90 X86 <-
That is confusing - where did the last one come from? and why is it
called "Solaris
2008.11" ?
I tried last two entries, results are the same.
# uname -a
SunOS Indiana 5.11 snv_90 i86pc i386 i86pc
# beadm list
BE Active Active on Mountpoint Space
Name reboot Used
---- ------ --------- ---------- -----
opensolaris no no - 56.97M
opensolaris-2 yes yes legacy 4.71G
opensolaris-1 no no - 578.5K
In menu.lst, the difference between last two entries are (kernel$, module$
omitted):
#============ End of LIBBE entry =============
title opensolaris-2
bootfs rpool/ROOT/opensolaris-2
#============ End of LIBBE entry =============
#---------- ADDED BY BOOTADM - DO NOT EDIT ----------
title Solaris 2008.11 snv_90 X86
findroot (pool_rpool,0,a)
#---------------------END BOOTADM--------------------
So the last entry was added by bootadm.
Can I remove opensolaris-1 and opensolaris-2 from grub?
Thanks & regards,
Tao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.opensolaris.org/pipermail/indiana-discuss/attachments/20080608/92a59048/attachment.html>
More information about the indiana-discuss
mailing list