Created
November 8, 2015 08:49
-
-
Save yoh2/7eae0eecc6fb27135c91 to your computer and use it in GitHub Desktop.
UEFIから起動するWindowを起動するためのGRUB2設定。root=(...)はEFI用パーティションを指定。
This file contains hidden or 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
| #!/bin/sh | |
| exec tail -n +3 $0 | |
| # This file provides an easy way to add custom menu entries. Simply type the | |
| # menu entries you want to add after this comment. Be careful not to change | |
| # the 'exec tail' line above. | |
| menuentry "Windows" --class windows --class os { | |
| set root=(hd0,2) | |
| chainloader '/EFI/Microsoft/Boot/bootmgfw.efi' | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment