How to reinstall Solaris Grub menu によれば、
- Solarisのインストールメディアで起動する
- grubのカウントダウン途中にcをタイプする
- grubのプロンプトで以下の太字で示すコマンドを実行する
grub> find /boot/grub/stage1
(hd0,1,a) (注) ここで表示されるのは、Solarisの起動パーティションのありかなので、番号はシステムにより異なる
grub> root (hd0,1,a) ←上で得られた起動パーティションを指定する
filesystem is ufs, partition type 0xbf
grub> setup (hd0) ←起動パーティションのあるディスクを指定する
Checking if “boot/grub/stage1” exists...yes
Checking if “boot/grub/stage2” exists...yes
Checking if “boot/grub/e2fs_stage1_5” exists...yes
Running “embed /boot/grub/e2fs_stage1_5(hd0)”...16 sectors
are embedded... succeeded
Running “install /boot/grub/stage1(hd0) (hd0)1+16p (hd0,1,a)
/boot/grub/stage2/boot/grub/menu.lst”... succeeded
succeededと出ればok。