トリプルブートのメモ

目標:ハードディスク2台でトリプルブート

パーティション

  • 2台目

GRUBの設定

  • インストール時にgrubをhd0(1台目のHD)のMBRにインストール
  • Winは初めからブート可能になってたので、BSDを起動するための記述を追加
    • 設定ファイル:/boot/grub/grub.confを編集
title           Ubuntu, kernel 2.6.20-16-generic
root            (hd1,4)
kernel          /boot/vmlinuz-2.6.20-16-generic root=UUID=fae7ff17-8adf-4742-84c4-0051a2b90d48 ro quiet splash locale=ja_JP
initrd          /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title           Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root            (hd1,4)
kernel          /boot/vmlinuz-2.6.20-16-generic root=UUID=fae7ff17-8adf-4742-84c4-0051a2b90d48 ro single
initrd          /boot/initrd.img-2.6.20-16-generic

title           Ubuntu, memtest86+
root            (hd1,4)
kernel          /boot/memtest86+.bin
quiet

# Windows XP Pro
title           Microsoft Windows XP Professional
root            (hd0,0)
savedefault
makeactive
chainloader     +1

+# FreeBSD
+title           FreeBSD
+root            (hd0,2,a)  # カーネルのあるファイルシステムを指定
+kernel /boot/loader