|
前几天把RH8给删了。
当然RH8的GRUB就没啦,
自己再在debian中装了个grub,使用基本正常,但有一些问题一直弄不清楚。
首先在执行grub-install /dev/hda时出现这样的提示:
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(fd0) /dev/fd0
(hd0) /dev/hda
不管我重新运行这个命令多少次都是这个提示。
然后我查看了一下/boot/grub,发现该目录只有以下文件:
device.map、e2fs_stage1_5、fat_stage1_5、ffs_stage1_5、jfs_stage1_5、minix_stage1_5、reiserfs_stage1_5、stage1、stage2、vstafs_stage1_5、xfs_stage1_5
最重要的menu.lst、grub.conf则没有,于是我自己创建了这两个文件(menu.lst链接到grub.conf),内容如下:
[code:1]default=0
timeout=10
splashimage=(hd0,8)/boot/grub/splash.xpm.gz
title Debian
root (hd0,8)
kernel /boot/vmlinuz-2.4.20 root=/dev/hda9
initrd (hd0,8)/boot/System.map-2.4.20
title WinXP
root (hd0,0)
chainloader +1
[/code:1]
然后在忐忑不安中重启电脑。
OK,LINUX可以正常引导,XP也可以正常引导。
不过为什么没有背景图片,只是黑乎乎的一片呢?/boot/grub/下是有splash.xpm.gz这个文件的。
这个文件不管是我在网上DL下来的或者自己做的都不行。
呵呵,我的问题就是:
一、安装GRUB时总提示那些话是否正常(不管运行多少次那个命令都是这些话)?
二、刚安装完grub,/boot/grub是不是就只有我上面提到的那些文件,menu.lst跟grub.conf就只得自己创建呢?
三、grub的背景像我上面那样做有什么不对的吗?图片的格式绝对没有问题,还是图片文件的大小有限制呢(但我最大的一个图片也只有70多K)?而且即使是我下载的grub splash也不行。 |
|