jeudi janv. 15, 2009

Upgrade form OpenSolaris 2008.11 to OpenSolaris 2008.11 release 105

OpenSolaris 2008.11 release 105 is available for upgrade with IPS from http://pkg.opensolaris.org/dev. I have successfully upgrade my labtop with the following procedure:


# pfexec pkg set-authority -O  http://pkg.opensolaris.org:80/dev opensolaris.org-dev
# pfexec pkg set-authority -P opensolaris.org-dev
# pfexec pkg authority
AUTHORITY                           URL
blastwave                           http://blastwave.network.com:10000/
sunfreeware                         http://pkg.sunfreeware.com:9000/
opensolaris.org-dev (preferred)     http://pkg.opensolaris.org:80/dev/
opensolaris.org                     http://pkg.opensolaris.org:80/
# pfexec pkg refresh
# pfexec pkg image-update


Then reboot your OpenSolaris. If you are using OpenSolaris on a Labtop run the frkit again and reboot because svc:/site/powernow:default will failed to start.

mercredi nov. 05, 2008

Upgrade OpenSolaris from snv_99 to snv_100

Today I have successfully upgrade my OpenSolaris desktop to snv_100. The first image-update attempt has failed and I was unable to reboot on the last OpenSolaris release. The pkg image-update has return "A system error [Errno 12] Not enough space was caught executing for bootadm", but the zfs list command show more than 8Go of free space in rpool ! So I used this procedure to upgrade it to snv_100:


# pfexec pkg refresh
# BUILD=`uname -v | sed s/snv_//`  
# pfexec pkg install SUNWipkg-AT-0.5-DOT-11-0.${BUILD}
# pfexec pkg install entire-AT-0.5-DOT-11-0.${BUILD}
# pfexec pkg image-update
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                641/641 11879/11879 322.04/322.04
PHASE                                        ACTIONS
Removal Phase                              5124/5124
Install Phase                              8309/8309
Update Phase                             13859/13859
PHASE                                          ITEMS
Reading Existing Index                           9/9
Indexing Packages                            641/641
pkg: A system error [Errno 12] Not enough space was caught executing /sbin/bootadm update-archive
-R /tmp/tmp01Fuv- A clone of opensolaris-5 exists and has been updated and activated. On next boot
the Boot Environment opensolaris-6 will be mounted on '/'. Reboot when ready to switch to this
updated BE.


Just Re-run bootadm


# beadm list
BE            Active Mountpoint Space  Policy Created         
--            ------ ---------- -----  ------ -------         
opensolaris-3 -      -          38.22M static 2008-09-22 14:45
opensolaris-4 -      -          14.08M static 2008-10-24 17:37
opensolaris-5 N      /          20.45M static 2008-10-31 14:05
opensolaris-6 R      -          11.84G static 2008-11-05 15:54
# beadm mount opensolaris-6 /a
# bootadm update-archive -f -R /a
Creating boot_archive for /a
updating /a/platform/i86pc/boot_archive
updating /a/platform/i86pc/amd64/boot_archive
# beadm unmount opensolaris-6


Then Reboot to last opensolaris release.


# uname -a
SunOS opensolaris 5.11 snv_100 i86pc i386 i86pc Solaris
# beadm list
BE            Active Mountpoint Space  Policy Created          
--            ------ ---------- -----  ------ -------          
opensolaris-3 -      -          98.04M static 2008-09-22 14:45
opensolaris-4 -      -          14.08M static 2008-10-24 17:37
opensolaris-5 -      -          97.79M static 2008-10-31 14:05
opensolaris-6 NR     /          12.20G static 2008-11-05 15:54


About

Jerome Blanchet

Search

Categories
Archives
« avril 2014
lun.mar.mer.jeu.ven.sam.dim.
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today