QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 772|回复: 2

如何将lilo写进根分区的首扇区?

[复制链接]
发表于 2003-8-30 13:03:05 | 显示全部楼层 |阅读模式
安装linux时可以选择lilo装在mbr或根分区的首扇区(the first sector of your root partition),
而在linux里有什么方法可以把lilo写进根分区的首扇区而不是mbr?
发表于 2003-8-30 13:22:00 | 显示全部楼层
lilo.conf中有提示 [code:1]
# Specifies the boot device.  This is where Lilo installs its boot
# block.  It can be either a partition, or the raw device, in which
# case it installs in the MBR, and will overwrite the current MBR.
#
boot=/dev/sda
[/code:1]
如果你的根分区是hda2
则可以写成 boot=/dev/hda2
回复

使用道具 举报

 楼主| 发表于 2003-8-30 20:08:21 | 显示全部楼层
那么mbr就是boot=/dev/hda吗?
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-18 15:45 , Processed in 0.041511 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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