|
发表于 2006-10-30 11:26:40
|
显示全部楼层
grub源码下载编译安装后,再建立目录/boot/grub,把/usr/local/lib/grub/i386-pc里的东西都拷贝到/boot/grub中去,再编辑/boot/grub/menu.lst,比如我的:
[php]
# By default, boot the first entry.
default 0
# Boot automatically after 30 secs.
timeout 1
# Fallback to the second entry.
fallback 1
# For booting GNU/Linux
title GNU/Linux 2.6.18
kernel (hd0,0)/boot/vmlinuz-2.6.18 root=/dev/hda1 ro
[/php]
之后运行grub,进入后输入root (hdX/Y),再输入setup (hdX),确认输出信息无误就将grub安装到MBR了 |
|