スーパーユーザーになるか、同等の役割を引き受けます。
# /sbin/installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/cwtxdysz |
これは、パーティションのブートファイルです。
これは、ブートブロックコードです。
これは、Solaris ルートスライス上の GRUB メニューの場所 /boot/grub/menu.lst を表す raw デバイス名です。
詳細は、installgrub(1M) のマニュアルページを参照してください。
システムをリブートし、レベル 3 で実行することによって、ブートブロックがインストールされていることを確認します。
# init 6 |
次の例では、ブートブロックを x86 システムにインストールする方法を示します。
# /sbin/installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c1d0s0 stage1 written to partition 0 sector 0 (abs 2016) stage2 written to to partition 0, 227 sectors starting 50 (abs 2066) |