|
|
@@ -11,8 +11,6 @@ Installation
|
|
|
[root@acro ~]# chmod 755 /opt/local/bin/platform-upgrade
|
|
|
```
|
|
|
|
|
|
-Optionally edit the script to select the desired mirror/download site at the top.
|
|
|
-
|
|
|
Usage
|
|
|
-----
|
|
|
|
|
|
@@ -24,37 +22,39 @@ correctly from the USB stick.
|
|
|
|
|
|
```
|
|
|
[root@acro ~]# platform-upgrade
|
|
|
-Checking current boot device... detected /dev/dsk/c0t0d0p1, mounted, OK
|
|
|
-Downloading latest platform... OK
|
|
|
+Downloading latest platform (platform-20150306T202346Z.tgz)... OK
|
|
|
Verifying checksum... OK
|
|
|
Extracting latest platform... OK
|
|
|
+Marking release version... OK
|
|
|
+Checking current boot device... detected c0t0d0, mounted, OK
|
|
|
Updating platform on boot device... OK
|
|
|
-Remounting boot device... OK
|
|
|
+Remounting boot device... OK
|
|
|
Verifying kernel checksum on boot device... OK
|
|
|
Verifying boot_archive checksum on boot device... OK
|
|
|
Activating new platform on /dev/dsk/c0t0d0p1... OK
|
|
|
|
|
|
Boot device upgraded. To do:
|
|
|
|
|
|
- 1) Sanity check the contents of /tmp/tmp.Tsas6L/usb
|
|
|
+ 1) Sanity check the contents of /tmp/tmp.I8aw9L/usb
|
|
|
2) umount /dev/dsk/c0t0d0p1
|
|
|
3) reboot
|
|
|
-[root@acro ~]#
|
|
|
+[root@acro ~]#
|
|
|
```
|
|
|
|
|
|
Once the upgrade is done, verify that the contents of the USB stick looks sane,
|
|
|
unmount it and reboot to the new platform.
|
|
|
|
|
|
```
|
|
|
-[root@acro ~]# ls -l /tmp/tmp.KCaawL/usb
|
|
|
+[root@acro ~]# ls -l /tmp/tmp.I8aw9L/usb
|
|
|
total 24
|
|
|
drwxrwxrwx 1 root root 4096 Jan 3 2011 boot
|
|
|
-drwxrwxrwx 1 root root 4096 Dec 28 16:03 platform
|
|
|
-drwxrwxrwx 1 root root 4096 Dec 28 15:24 platform.old
|
|
|
-[root@acro ~]# ls -l /tmp/tmp.KCaawL/usb/platform
|
|
|
-total 9
|
|
|
-drwxrwxrwx 1 root root 4096 Dec 28 16:03 i86pc
|
|
|
--rwxrwxrwx 1 root root 17 Dec 28 02:40 root.password
|
|
|
+drwxrwxrwx 1 root root 4096 Mar 13 07:33 old
|
|
|
+drwxrwxrwx 1 root root 4096 Mar 13 07:29 platform
|
|
|
+[root@acro ~]# ls -l /tmp/tmp.I8aw9L/usb/platform/
|
|
|
+total 10
|
|
|
+drwxrwxrwx 1 root root 4096 Mar 13 07:29 i86pc
|
|
|
+-rwxrwxrwx 1 root root 17 Mar 6 23:36 root.password
|
|
|
+-rwxrwxrwx 1 root root 17 Mar 13 07:29 version
|
|
|
[root@acro ~]# umount /dev/dsk/c0t0d0p1
|
|
|
[root@acro ~]# reboot
|
|
|
```
|
|
|
@@ -65,8 +65,7 @@ command line:
|
|
|
|
|
|
```
|
|
|
[root@acro ~]# platform-upgrade /dev/dsk/c1t0d0p1
|
|
|
-Checking current boot device... using /dev/dsk/c1t0d0p1, mounted, OK
|
|
|
-Downloading latest platform...
|
|
|
+Downloading latest platform (platform-20150306T202346Z.tgz)...
|
|
|
```
|
|
|
|
|
|
License
|