|
楼主 |
发表于 2012-1-4 19:30:56
|
显示全部楼层
Post by smqt;2156967
这个是grub2吗?还是burg?
如果是grub2,可否把grub.cfg传给我下?
我用的是GRUB2,配置文件如下:
$ cat /etc/grub.d/40_custom
- #!/bin/sh
- exec tail -n +3 $0
- # 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.
- # /etc/grub.d/40_custom
- # grub2 启动管理器设置文件
- # Gentoo Hooong 2011.09.10。
- # 1.Grub2运行设置。
- insmod png
- insmod font
- loadfont /usr/share/grub/unicode.pf2
- loadfont /usr/share/grub/edges.pf2
- loadfont /usr/share/grub/gelly.pf2
- loadfont /usr/share/grub/Helvetica-10.pf2
- loadfont /usr/share/grub/Helvetica-12.pf2
- loadfont /usr/share/grub/Helvetica-Bold-12.pf2
- loadfont /usr/share/grub/Helvetica-Bold-14.pf2
- loadfont /usr/share/grub/lime.pf2
- loadfont /usr/share/grub/smoothansi.pf2
- set gfxpayload=1280x800x32
- # 2.内核镜像 Tuxonice
- menuentry "Tuxonice 3.0.13 generic" {
- set root=(hd0,1)
- linux /boot/3.0.13-tuxonice root=/dev/sda1 resume=swap:/dev/sda1:0x44180 i915.modeset=1 acpi_sleep=s3_bios,s3_mode \
- processor.max_cstate=2 fbcon=scrollback:128K splash=silent,fadein,theme:gentoo-blue quiet CONSOLE=/dev/tty1
- initrd /boot/fbsplash-tuxonice-gentoo-blue-1280x800
- }
- # 3.内核镜像 Tuxonice
- menuentry "Tuxonice 3.0.9 generic" {
- set root=(hd0,1)
- linux /boot/3.0.9-tuxonice root=/dev/sda1 i915.modeset=1 acpi_sleep=s3_bios,s3_mode \
- processor.max_cstate=2 fbcon=scrollback:128K splash=silent,fadein,theme:gentoo-blue quiet CONSOLE=/dev/tty1
- initrd /boot/fbsplash-gentoo-blue-1280x800
- }
- # 4.内核镜像 Tuxonice
- menuentry "Tuxonice 3.0.9 (recovery mode)" {
- set root=(hd0,1)
- linux /boot/3.0.9-tuxonice root=/dev/sda1 acpi_sleep=s3_bios,s3_mode resume=off
- }
- # 5.内存测试命令。
- menuentry "Memtest86+" {
- linux16 /boot/memtest86plus/memtest.bin
- }
- # 6.启动Windows设置,本例中Windows系统位于/dev/sdb1。
- # menuentry "Windows7 Ultimate" {
- # insmod chain
- # set root=(hd0,1)
- # drivemap -s hd0 hd1
- # chainloader +1
- # }
复制代码 |
|