QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 738|回复: 2

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

[复制链接]
发表于 2005-2-26 22:01:19 | 显示全部楼层 |阅读模式
未装lfs前,给redhat9分了个/boot和/。
/boot在hda7,/在hda10.
我把lfs装在了hda11,现在想让lfs和redhat共用/boot分区,不知道应该如何修改grub。
此外,对于在装lfs时,产生的System.map和bzImage该怎么处理呢?
发表于 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
回复

使用道具 举报

 楼主| 发表于 2005-2-27 15:32:49 | 显示全部楼层
谢谢。搞定。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-10-5 02:34 , Processed in 0.157800 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表