Skip to content

Instantly share code, notes, and snippets.

@DriesS
Created May 13, 2012 20:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save DriesS/2689971 to your computer and use it in GitHub Desktop.
Save DriesS/2689971 to your computer and use it in GitHub Desktop.
/boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-23-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod raid
insmod mdraid
insmod ext2
set root=(md1)
search --no-floppy --fs-uuid --set 1ec3cd2f-f354-4ab5-90c4-006e464221e0
linux /boot/vmlinuz-2.6.31-23-generic root=UUID=1ec3cd2f-f354-4ab5-90c4-006e464221e0 ro quiet splash
initrd /boot/initrd.img-2.6.31-23-generic
}
menuentry "Ubuntu, Linux 2.6.31-23-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod raid
insmod mdraid
insmod ext2
set root=(md1)
search --no-floppy --fs-uuid --set 1ec3cd2f-f354-4ab5-90c4-006e464221e0
linux /boot/vmlinuz-2.6.31-23-generic root=UUID=1ec3cd2f-f354-4ab5-90c4-006e464221e0 ro single
initrd /boot/initrd.img-2.6.31-23-generic
}
menuentry "Ubuntu, Linux 2.6.31-22-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod raid
insmod mdraid
insmod ext2
set root=(md1)
search --no-floppy --fs-uuid --set 1ec3cd2f-f354-4ab5-90c4-006e464221e0
linux /boot/vmlinuz-2.6.31-22-generic root=UUID=1ec3cd2f-f354-4ab5-90c4-006e464221e0 ro quiet splash
initrd /boot/initrd.img-2.6.31-22-generic
}
menuentry "Ubuntu, Linux 2.6.31-22-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod raid
insmod mdraid
insmod ext2
set root=(md1)
search --no-floppy --fs-uuid --set 1ec3cd2f-f354-4ab5-90c4-006e464221e0
linux /boot/vmlinuz-2.6.31-22-generic root=UUID=1ec3cd2f-f354-4ab5-90c4-006e464221e0 ro single
initrd /boot/initrd.img-2.6.31-22-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.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/grub.d/40_custom ###
@Israelromero117
Copy link

Gracias

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment