Skip to content

Instantly share code, notes, and snippets.

@Rio6
Created November 19, 2017 22:59
Show Gist options
  • Save Rio6/1535d4d862970ebeb4a5c8bf41ee3d38 to your computer and use it in GitHub Desktop.
Save Rio6/1535d4d862970ebeb4a5c8bf41ee3d38 to your computer and use it in GitHub Desktop.
Grub config to boot windows iso content
default=1
timeout=15
menuentry "Start Windows Installation" {
insmod ntfs
insmod search_label
insmod search_fs_uuid
search --no-floppy --set=root --fs-uuid <uuid>
ntldr /bootmgr
boot
}
menuentry "Boot from the first hard drive" {
insmod ntfs
insmod chain
insmod part_msdos
insmod part_gpt
set root=(hd1)
chainloader +1
boot
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment