Everest的grub和别的系统有所区别。他用了系统上的grub.conf来配置,应该是grub很多东西都还在系统盘上,有点像windows的loader。启动内核也需要指出根目录。以我的机器为例。grub.conf的位置在/boot/grub/grub.conf
引导机器应该使用的命令为
root(hd0,1)
kernel/boot/vmlinuz-2.6.21.0-22roroot=LABEL=/
initrd/boot/initrd-2.6.21.0-22.img
root=LABEL=/应该是根据卷标来表示,也可以改成这样的方式:/dev/hda*。装了两个系统,修改了第二个系统的grub.conf来引导第一个系统。但是总不能装一次系统,配置一次第二个系统的grub.conf吧。启动系统,按ESC,按C,进入grub命令行,打help,发现有个confingurefile命令,输入
confingurefile(hd0,1)/boot/grub/grub.conf
grub自动重起,发现果然是原来系统修改过的启动项,感觉很好。不过再次重启后,grub的配置又回到原来的状态。应该是个Bug。
我的grub.conf
timeout=5
default=0
timeout=5
gfxmenu(hd0,1)/boot/message
titleEverestwork
root(hd0,1)
kernel/boot/vmlinuz-2.6.21.0-22roroot=LABEL=/
initrd/boot/initrd-2.6.21.0-22.img
titleEverest(2.6.21.0-22)
root(hd0,5)
kernel/boot/vmlinuz-2.6.21.0-22roroot=LABEL=/
initrd/boot/initrd-2.6.21.0-22.img
titleTest
root(hd0,5)
kernel/boot/vmlinuz-2.6.21.0-22roroot=LABEL=/mnt/testvga=788splash=silent
initrd/boot/initrd-2.6.21.0-22.img
titleOther
rootnoverify(hd0,0)
chainloader 1
也发现为什么我test的系统根目录会出问题了。在root=LABE=/mnt/test那里。如果把后面的vga=788splash=silent去掉,就可以回到我们久违的命令行启动式样,感觉很亲切。
Everest发行版grub配置Everest发行版grub配置Everest发行版grub配置Everest发行版grub配置Everest发行版grub配置Everest发行版grub配置Everest发行版grub配置Everest发行版grub配置Everest发行版grub配置Everest发行版grub配置
阅读(229) | 评论(0) | 转发(0) |