Created
January 3, 2015 19:17
-
-
Save NoUsername/c35bcfa81e7cae60a3bf to your computer and use it in GitHub Desktop.
GRUB2 boot file for windows (by exiting grub)
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
#!/bin/sh -e | |
echo "Adding Windows to GRUB 2 menu" | |
cat << EOF | |
menuentry "Windows" { | |
exit | |
} | |
EOF | |
## to activate this run: | |
## sudo grub-mkconfig -o /boot/grub/grub.cfg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment