opt/grub2/grub.cfg.sample

50 lines
1.2 KiB
Plaintext

#
# /boot/grub/grub.cfg - sample grub2 configuration file
#
# This is only a sample, you will need to check/edit the root value
# or UUID used for your configuration.
# See the official grub documentation for more information.
# Set menu colors
set menu_color_normal=white/blue
set menu_color_highlight=light-blue/white
# Set menu display time
set timeout=10
# Set the default boot entry (first is 0)
set default=0
# Set the root variable - grub2 uses this to find files if the
# root device is not specified in the entry itself.
# It can be set explicitly like so:
#set root='(hd0,msdos2)'
# Or it can be set using grub2's builtin search feature like so:
#search --no-floppy --fs-uuid --set root xxxxxxxx-yyyy-zzzz-aaaa-bbbbbbbbbbbb
# The string xxxxxxxx-yyyy-zzzz-aaaa-bbbbbbbbbbbb should be replaced with
# the proper UUID for the root device. It can be found using 'blkid' from
# util-linux.
# Boot entries:
# CRUX
menuentry "CRUX 2.8 (3.6.3)" {
linux /boot/vmlinuz-3.6.3 root=/dev/sda2
}
menuentry "CRUX 2.8 (3.6.3) single-user rescue" {
linux /boot/vmlinuz-3.6.3 root=/dev/sda2 single
}
# Windows 7
menuentry "Windows 7" {
set root='(hd0,msdos1)'
chainloader +1
}