|
发表于 2009-12-19 14:08:58
|
显示全部楼层
debian sid i386 环境下,grub2 不分区环境引导配置文件 /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 ###
- set default=0
- insmod ext2
- set root=(hd0)
- search --no-floppy --fs-uuid --set 7c3ca617-c511-4bc8-b4f9-3b2e90d172bf
- 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 locale_dir=/boot/grub/locale
- set lang=en
- insmod gettext
- set timeout=5
- ### END /etc/grub.d/00_header ###
- ### BEGIN /etc/grub.d/05_debian_theme ###
- set menu_color_normal=cyan/blue
- set menu_color_highlight=white/blue
- ### END /etc/grub.d/05_debian_theme ###
- ### BEGIN /etc/grub.d/10_linux ###
- menuentry "Debian GNU/Linux, with Linux 2.6.32-trunk-686" {
- insmod ext2
- set root=(hd0)
- search --no-floppy --fs-uuid --set 7c3ca617-c511-4bc8-b4f9-3b2e90d172bf
- linux /boot/vmlinuz-2.6.32-trunk-686 root=/dev/hda ro quiet
- initrd /boot/initrd.img-2.6.32-trunk-686
- }
- menuentry "Debian GNU/Linux, with Linux 2.6.32-trunk-686 (recovery mode)" {
- insmod ext2
- set root=(hd0)
- search --no-floppy --fs-uuid --set 7c3ca617-c511-4bc8-b4f9-3b2e90d172bf
- linux /boot/vmlinuz-2.6.32-trunk-686 root=/dev/hda ro single
- initrd /boot/initrd.img-2.6.32-trunk-686
- }
- ### 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 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 ###
复制代码 |
|