|

楼主 |
发表于 2009-9-9 20:59:32
|
显示全部楼层
用的是grub2 1.97beta1
$ cat 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 ###
set default=0
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set ee488d92-4873-46e0-85c3-ca395bc3637a
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 3ec4f02e-fb42-4309-aaa3-bb516a3ec368
insmod png
if background_image /grub/moreblue-orbit-grub.png ; then
set color_normal=black/black
set color_highlight=magenta/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, Linux 2.6.30-1-amd64" {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 3ec4f02e-fb42-4309-aaa3-bb516a3ec368
linux /vmlinuz-2.6.30-1-amd64 root=UUID=ee488d92-4873-46e0-85c3-ca395bc3637a ro quiet
initrd /initrd.img-2.6.30-1-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.30-1-amd64 (recovery mode)" {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 3ec4f02e-fb42-4309-aaa3-bb516a3ec368
linux /vmlinuz-2.6.30-1-amd64 root=UUID=ee488d92-4873-46e0-85c3-ca395bc3637a ro single
initrd /initrd.img-2.6.30-1-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.29-2-amd64" {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 3ec4f02e-fb42-4309-aaa3-bb516a3ec368
linux /vmlinuz-2.6.29-2-amd64 root=UUID=ee488d92-4873-46e0-85c3-ca395bc3637a ro quiet
initrd /initrd.img-2.6.29-2-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.29-2-amd64 (recovery mode)" {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 3ec4f02e-fb42-4309-aaa3-bb516a3ec368
linux /vmlinuz-2.6.29-2-amd64 root=UUID=ee488d92-4873-46e0-85c3-ca395bc3637a ro single
initrd /initrd.img-2.6.29-2-amd64
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ### |
|