这个问题我问过了。。。
在/boot/grub下有个grub.conf
像我这样加入LFS就好了
default=0
timeout=10
splashimage=(hd0,7)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-14)
root (hd0,7)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ hda=ide-scsi
initrd /initrd-2.4.18-14.img
title Server
rootnoverify (hd0,0)
chainloader +1
title LFS
root (hd0,9)
kernel /boot/vmlinuz-2.4.20 ro root=/dev/hdc10
这里LFS是我新加上的。
我的LFS分区是hd10,所以加上root(hd0,9)
下面的root=/dev/hdc10是根分区的位置啦。
kernel 是内核的位置。 |