しばらく OpenSolaris 2008.05 をそのまま使っていたのですがやはり新しいものを使いたくなりますよね。ということでアップデートにチャレンジです。
# pkg image-update
でアップデートできますが、その後にいくつかコマンドを実行する必要があるようです。以下のエントリを参考にしました。
opensolaris# pkg image-update
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                581/581 26132/26132 1872.99/1872.99

PHASE                                        ACTIONS
Removal Phase                              6255/6255
Update Phase                             21701/21701
Install Phase                            11618/11618
A clone of opensolaris exists and has been updated and activated. On next boot the Boot Environment opensolaris-1 will be mounted on '/'. Reboot when ready to switch to this updated BE.
opensolaris#
このあと以下の操作が必要です。
opensolaris# beadm list

BE                                       Active Active on Mountpoint     Space
Name                                            reboot                   Used
----                                     ------ --------- ----------     -----
opensolaris_static:-:2008-06-01-11:47:12 no     no        -              61.5K
opensolaris                              yes    no        legacy         290.5K
opensolaris-1                            no     yes       -              5.81G
opensolaris# pfexec mount -F zfs rpool/ROOT/opensolaris-1 /mnt
opensolaris# pfexec /mnt/boot/solaris/bin/update_grub -R /mnt
Creating GRUB menu in /mnt
Installing grub on /dev/rdsk/c5t0d0s0
stage1 written to partition 0 sector 0 (abs 16065)
stage2 written to partition 0, 265 sectors starting at 50 (abs 16115)
opensolaris#
opensolaris-1 と Solaris 2008.11 svn_93 が GRUB メニューで出てきますがこれって同じものなんでしょうか??うぅ、まだまだ修行がたりません…



と、ここまでは練習で VMware 上で試してみました。うまくいったようなので VAIO ノートの実機でもやってみました。ネットワーク、オーディオ、グラフィック等問題ありませんでした。今のところ問題なく使えています。
Comments:

Post a Comment:
Comments are closed for this entry.

This blog copyright 2009 by katakai