以下の内容を/etc/grub.d/40_customに書き込む。/dev/sda6にインストールされたGRUBなどのローダーが起動する。
# vi /etc/grub.d/40_custom
menuentry "/dev/sda6/" {
set root='(hd0,msdos6)'
chainloader +1
}
複数のOSをインストールしている場合に、grubをローダーとして使っている。このとき、各パーティションに独立にインストールされたローダーを起動する方法。
以下の内容を/etc/grub.d/40_customに書き込む。/dev/sda6にインストールされたGRUBなどのローダーが起動する。
# vi /etc/grub.d/40_custom
menuentry "/dev/sda6/" {
set root='(hd0,msdos6)'
chainloader +1
}