grub windows引导
作者:互联网
BEGIN /etc/grub.d/30_os-prober
menuentry 'Windows Boot Manager (on /dev/sdb1)' --class windows --class os $menuentry_id_option 'osprober-efi-E7AB-605C' {
insmod part_gpt
insmod fat
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 E7AB-605C
else
search --no-floppy --fs-uuid --set=root E7AB-605C
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
END /etc/grub.d/30_os-prober
标签:引导,set,gpt1,hd1,grub,hint,windows,605C 来源: https://www.cnblogs.com/INnoVationv2/p/10671398.html