Created
November 19, 2017 22:59
-
-
Save Rio6/1535d4d862970ebeb4a5c8bf41ee3d38 to your computer and use it in GitHub Desktop.
Grub config to boot windows iso content
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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