Skip to content

Instantly share code, notes, and snippets.

@e00dan
Created March 17, 2014 18:32
Show Gist options
  • Save e00dan/9605405 to your computer and use it in GitHub Desktop.
Save e00dan/9605405 to your computer and use it in GitHub Desktop.
### BEGIN /etc/burg.d/10_linux ###
menuentry 'elementary OS GNU/Linux, with Linux 3.2.0-60-generic' --class elementary --class gnu-linux --class gnu --class os --group group_main {
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 8c4bdce6-688f-4c0c-8c10-5cd49691d06a
echo 'Loading Linux 3.2.0-60-generic ...'
linux /boot/vmlinuz-3.2.0-60-generic root=UUID=8c4bdce6-688f-4c0c-8c10-5cd49691d06a ro quiet splash
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-60-generic
}
### END /etc/burg.d/10_linux ###
### BEGIN /etc/burg.d/30_os-prober ###
menuentry "Windows 8 (loader) (on /dev/sda1)" --class windows --class os {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set fc42edb942ed7932
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/burg.d/30_os-prober ###
### BEGIN /etc/burg.d/10_linux ###
menuentry 'elementary OS GNU/Linux, with Linux 3.2.0-60-generic (recovery mode)' --class recovery --class gnu-linux --class gnu --class os --group group_main {
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 8c4bdce6-688f-4c0c-8c10-5cd49691d06a
echo 'Loading Linux 3.2.0-60-generic ...'
linux /boot/vmlinuz-3.2.0-60-generic root=UUID=8c4bdce6-688f-4c0c-8c10-5cd49691d06a ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-60-generic
}
### END /etc/burg.d/10_linux ###
### BEGIN /etc/burg.d/40_custom ###
# 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.
### END /etc/burg.d/40_custom ###
### BEGIN SHUTDOWN
menuentry "Shutdown" --class shutdown {
halt
}
### END SHUTDOWN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment