protosswei 发表于 2005-2-26 22:01:19

请教,该如何修改grub(redhat9+lfs)

未装lfs前,给redhat9分了个/boot和/。
/boot在hda7,/在hda10.
我把lfs装在了hda11,现在想让lfs和redhat共用/boot分区,不知道应该如何修改grub。
此外,对于在装lfs时,产生的System.map和bzImage该怎么处理呢?

chinazhng 发表于 2005-2-27 14:33:04

add grub

sorry ,my chinese-input-method is error!

copy System.map /boot/System.map.(version)
copy bzImage /boot/vmlinuz-(version)

add grub below title to grub.conf
title lfs
root (hd0,x)
x is the boot partation.
kernel /boot/vmlinuz-(version) ro root=/dev/hda11
initrd /boot/vmlinuz-(version) ( the line should none if you have not )
save your grub.conf
reboot your system to lfs system

protosswei 发表于 2005-2-27 15:32:49

谢谢。搞定。
页: [1]
查看完整版本: 请教,该如何修改grub(redhat9+lfs)