LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 744|回复: 6

lilo多重菜单启动问题,(在线等待)

[复制链接]
发表于 2003-7-18 11:30:30 | 显示全部楼层 |阅读模式
今天搞了一上午的lilo启动菜单还是搞不定,
我的lilo.conf如下
boot=/dev/hda
map=/boot/map
default="linux"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw

image="/boot/vmlinuz"
        label="linux"
        root="/dev/hda9"
        initrd="/boot/initrd.img"
        append="devfs=mount acpi=off quiet"
        vga=788
        read-only

image=/boot/vmlinuz
        label="linux-nonfb"
        root=/dev/hda9
        initrd=/boot/initrd.img
        append="devfs=mount acpi=off"
        read-only

image=/boot/vmlinuz
        label="failsafe"
        root=/dev/hda9
        initrd=/boot/initrd.img
        append="devfs=nomount acpi=off failsafe"
        read-only

image=/boot/vmlinuz-2.4.20
        label="gentoo"
        root=/dev/hda8
        append="devfs=mount acpi=off quiet"
        read-only

other=/dev/hda1
        label="windows"
        table=/dev/hda

other=/dev/fd0
        label="floppy"
        unsafe

other=/dev/hda3
        label="freebsd"
        table=/dev/hda

其他的都能启动,就是gentoo启动不了,好象菜单上面连gentoo的选项都没有,不知道是不是有个数的限制

还有在控制中心修改lilo时,总是出来这样的错误信息

WARNING: the config file is currently NOT ok.
Do you really want to override /etc/lilo.conf?
If you aren't sure, select "no" and click the "Check configuration" button to see the details.
If you don't know what's wrong, try clicking the "robe" button to auto-generate a working lilo.conf.
If you're getting this message after using the "robe" button, please send a full bug report,
including the output of "Check configuration" and the generated lilo.conf (displayed in the "Expert" tab),
to bero@kde.org.

我的gentoo安装在/dev/hda8上面。

/dev/hda1 vfat   winme
/dev/hda5 vfat
/dev/hda6 vfat
/dev/hda7 vfat
/dev/hda8 etx3  gentoo
/dev/hda9 etx3 mdk
/dev/hda10  swap
/dev/hda3 freebsd5.1
发表于 2003-7-18 14:38:36 | 显示全部楼层
你的gentoo和mdk不是共用/boot分区的,所以不能这么写,应该指定gentoo所在的物理分区。记得是有个选项可以做到的,man lilo.conf看看。
 楼主| 发表于 2003-7-18 16:10:12 | 显示全部楼层
刚才看了一下man,英文看得不大懂,还是不能引导gentoo,

哪们有用lilo引导双linux系统的,把你的 lilo.conf贴上给我研究一下

先谢了
发表于 2003-7-18 16:23:46 | 显示全部楼层
参考一下这篇文章:
http://www.linuxsir.cn/postnuke/ ... order=0&thold=0

还可以试试把gentoo里面的/boot/vmlinuz-2.4.20(如果它是个链接,应该找到它所指向的文件) cp到mandrake的/boot里面并改个名字,例如vmlinuz-2.4.20-gentoo,然后改lilo.conf:

image=/boot/vmlinuz-2.4.20-gentoo
label="gentoo"
root=/dev/hda8
append="devfs=mount acpi=off quiet"
read-only
 楼主| 发表于 2003-7-19 00:06:38 | 显示全部楼层
多谢windrose兄的指教,看了许多书还不如windrose兄一句话:cp到mandrake的/boot里面
好使,已经成功引导,

不过我还有一点不明白我是,windrose兄在你的那篇文章上说用other=/ev/hda8可以引导,但是我发现如果我加上other=/dev/hdax时,经必须为主分区(如1,2,3等),不然就会报错
发表于 2003-7-19 13:08:14 | 显示全部楼层
其实不用cp过去都可以。其中一个主要的装lilo在mbr,另外的linux装引导器(lilo或grub)装在其分区的超级块。
 楼主| 发表于 2003-7-19 13:28:15 | 显示全部楼层
哦,这个明白,

用lilo来引导其他主分区的引导程序,不过好象有点麻烦点,不大方便

顺便还问个问题吧,在MDK下面做的启动盘为什么不能用啊,
好象启动的时候出现
boot:
输入linux后不能启动,说什么没有内核,启动盘上面好象只有一个文件,

该怎么样把lilo装在软盘上,来引导机器
(由于原来都用GRUB,对lilo不大了解)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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