当前位置: 技术问答>linux和unix
lilo的菜问题为何没人解决??..???..??...????....??..?????
来源: 互联网 发布时间:2014-10-25
本文导语: 我的硬盘分区: /hda1 pc-dos7.0 fat pri /hda2 /boot(lilo) ex2fs pri /hda3 win98 fat32 ...
我的硬盘分区:
/hda1 pc-dos7.0 fat pri
/hda2 /boot(lilo) ex2fs pri
/hda3 win98 fat32 pri
/hda4 ext
/hda5 / ex2fs log
/hda6 swap swap log
/hda7 fat32 log
/hda8 fat32 log
我的lilo.conf:
boot=/dev/hda2
map=/boot/map
install=/boot/boot.b
prompt
timeout=100
image=/boot/vmlinuz-2.2.14-1.5.0
label=linux
root=/dev/hda5
read-only
other=/dev/hda1
label=dos
table=/dev/hda
other=/dev/hda3
label=win98
table=/dev/hda
以前/hda2为active,但lilo只能启动dos & linux,启动不了win98,症状为先出现PC-DOS下的启动菜单,然后出现win98启动画面(启动画面我早已取消,不知为何会出现)然后出来:
The following file is missing or corrupted:command.com
Type the name of the command interpreter (e.g;C:WINDOWSCOMMAND.COM)
C>
此时输入c:command.com or c:windowscommand.com or d:command.com均无效,输入f:command.com后出来dos命令状态,此时c盘为/hda1,但dos版本号却是Windows 98 [Version 4.10.2222],我怀疑和/boot/chain.b有关,不知怎样改这个文件?
后来用system command 4.0启动,还凑合,但前几天却expire,只好改用蓝点的grub,很好用,但今天又出现奇怪的事:将活动分区改为/hda2后出现和上述一样的情况,改回/hda3后又没事。lilo到底能不能和win98&dos共存,请各位大侠不吝赐教!
我的/boot/grub/menu.lst
timeout 5
default 0
fallback 1
color 0x17 0x70
title Microsoft Windows 98
root (hd0,2)
chainloader (hd0,2)+1
title PC-DOS 7.0
root (hd0,0)
chainloader (hd0,0)+1
title linux 2.2.14
root (hd0,4)
kernel (hd0,1)/vmlinuz-2.2.14-1.5.0 root=/dev/hda5
/hda1 pc-dos7.0 fat pri
/hda2 /boot(lilo) ex2fs pri
/hda3 win98 fat32 pri
/hda4 ext
/hda5 / ex2fs log
/hda6 swap swap log
/hda7 fat32 log
/hda8 fat32 log
我的lilo.conf:
boot=/dev/hda2
map=/boot/map
install=/boot/boot.b
prompt
timeout=100
image=/boot/vmlinuz-2.2.14-1.5.0
label=linux
root=/dev/hda5
read-only
other=/dev/hda1
label=dos
table=/dev/hda
other=/dev/hda3
label=win98
table=/dev/hda
以前/hda2为active,但lilo只能启动dos & linux,启动不了win98,症状为先出现PC-DOS下的启动菜单,然后出现win98启动画面(启动画面我早已取消,不知为何会出现)然后出来:
The following file is missing or corrupted:command.com
Type the name of the command interpreter (e.g;C:WINDOWSCOMMAND.COM)
C>
此时输入c:command.com or c:windowscommand.com or d:command.com均无效,输入f:command.com后出来dos命令状态,此时c盘为/hda1,但dos版本号却是Windows 98 [Version 4.10.2222],我怀疑和/boot/chain.b有关,不知怎样改这个文件?
后来用system command 4.0启动,还凑合,但前几天却expire,只好改用蓝点的grub,很好用,但今天又出现奇怪的事:将活动分区改为/hda2后出现和上述一样的情况,改回/hda3后又没事。lilo到底能不能和win98&dos共存,请各位大侠不吝赐教!
我的/boot/grub/menu.lst
timeout 5
default 0
fallback 1
color 0x17 0x70
title Microsoft Windows 98
root (hd0,2)
chainloader (hd0,2)+1
title PC-DOS 7.0
root (hd0,0)
chainloader (hd0,0)+1
title linux 2.2.14
root (hd0,4)
kernel (hd0,1)/vmlinuz-2.2.14-1.5.0 root=/dev/hda5
|
GRUB: Use the command map, to exchange BIOS drives virtually, like this: grub> map (hd0) (hd1) grub> map (hd1) (hd0)