Skip to content

Instantly share code, notes, and snippets.

@zooks
Created February 11, 2020 18:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zooks/28bbb640ae9f4ddba9bd752ad30ce40c to your computer and use it in GitHub Desktop.
Save zooks/28bbb640ae9f4ddba9bd752ad30ce40c to your computer and use it in GitHub Desktop.
Windows Boot Manager (on /dev/sda1)
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 040D-E584
else
search --no-floppy --fs-uuid --set=root 040D-E584
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment