Created
September 8, 2016 03:05
-
-
Save agusvama/62762e6e36d895ff39ce14211e22752b to your computer and use it in GitHub Desktop.
Grub entries for Arch and Slackware
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 | |
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. | |
#Arch | |
menuentry "Arch Linux is 4 cr8zy people" { | |
echo "Wake up Neo" | |
set root=(hd0,gpt6) | |
linux /boot/vmlinuz-linux root=/dev/sda6 | |
initrd /boot/initramfs-linux.img | |
} | |
menuentry "Slackware" { | |
set root=(hd0,gpt8) | |
linux /boot/vmlinuz-huge root=/dev/sda8 | |
} | |
menuentry "Reset" { | |
echo "I'll be back" | |
reboot | |
} | |
menuentry "Shutdown" { | |
echo "See you later" | |
halt | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment