menuentry 'Windows 8' { set root=(hd0,1) ※grub2のデバイスのpartition番号は 1 origin chainloader +1 } |
bcdedit /create /d "fedora" /application bootsector <-エントリを追加 bcdedit /set {xxxx} device partition=C: ブートローダ(grldr.mbr)の置いてあるドライブを指定 bcdedit /set {xxxx} path \grldr.mbr <- ブートローダ(grldr.mbr)の置いてあるPathを指定 bcdedit /displayorder {xxxx} /addlast <-ブートメニューの最後部に追加 |
color blue/green yellow/red white/magenta white/magenta timeout 0 default /Fedora title Fedora root (hd0,1) ※Grub4Dosのデバイスのpartition番号はゼロ origin kernel /boot/grub2/i386-pc/core.img title reboot reboot title halt halt |