Skip to content

Instantly share code, notes, and snippets.

@edsoncelio
Created July 1, 2016 22:43
Show Gist options
  • Save edsoncelio/1432ad0ae1d2e8f4e4f4b369bbd1d0b7 to your computer and use it in GitHub Desktop.
Save edsoncelio/1432ad0ae1d2e8f4e4f4b369bbd1d0b7 to your computer and use it in GitHub Desktop.
meny-entry windolos
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (em /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-42B4-2C42' {
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 42B4-2C42
else
search --no-floppy --fs-uuid --set=root 42B4-2C42
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/30_os-prober ###
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment