LinuxSir.cn,穿越时空的Linuxsir!

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

运行lilo后出现的warning

[复制链接]
发表于 2004-9-3 14:44:10 | 显示全部楼层 |阅读模式
本人在运行 lilo 之后,出现以下警告,请各位朋友帮忙:

Warning:'/proc/paritions' does not match '/dev' directory structure,Name chang:'/dev/ide/host0/bus0/target0/lun0/disc' ->'/dev/hda'
The kernel was compiled with DEVFS-FS, but 'devfs=mount' was omitted as a kernel command-line boot parameter; hence, the '/dev' directory structure does not reflect DEVFS_FS device names.

在本人重启机器的时候,内核panic,;

mount_devfs_fs():unable to mount devfs,err:=-2 Freeing unused kernel MEM:112k freed
warning: unable to open an inital console ,kernel panic:no init found

请各位朋友相助,多谢!!!
发表于 2004-9-3 20:55:11 | 显示全部楼层
尝试在lilo配置文件中
添加kernel command 参数devfs=mount
例如:
image=/boot/vmlinuz-2.6.3-1mdk
        label="2.6.3-mdk"
        root=/dev/hda1
        read-only
        optional
        append=" devfs=mount"
 楼主| 发表于 2004-9-3 22:01:45 | 显示全部楼层

answer

# exit
# mount -o bind /dev /mnt/gentoo/dev
# chroot /mnt/gentoo /bin/bash
# env-update
# source /etc/profile
# /sbin/lilo
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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