|
楼主 |
发表于 2003-8-12 01:18:31
|
显示全部楼层
lilo.conf:
prompt
timeout=50
default=win
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32
#image=/boot/vmlinuz-2.4.21
# label=linux-2.4.21
# read-only
#append="root=LABEL=/"
# root=/dev/hda7
image=/boot/vmlinuz-2.4.18-14
label=linux-2.4.18-14
root=/dev/hda7
read-only
other=/dev/hda1
optional
label=win
说明一下:我的硬盘40G,其中c,d是windows的ntfs格式,而linux安装在/dev/hda7下,本来使用的kernel是2.4.18-14,现在是kernel2.4.21,上面的lilo.conf是我改动以后的,在发现内核升级出险问题后,我想要恢复原来的kernel,这是我改动后的,却无法运行lilo,运行出现:fatal read /dev/hda :no such file or directory.
/etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda8 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0
0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
~
[root@wugang root]# df -a
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda7 13915040 4508984 8699200 35% /
none 0 0 0 - /proc
none 0 0 0 - /dev/pts
none 58976 0 58976 0% /dev/shm
以上是/etc/fstab和df的内容,请指出问题的症结所在,谢谢! |
|