+ -
当前位置:首页 → 问答吧 → 运行lilo后出现warning,不知何故?

运行lilo后出现warning,不知何故?

时间:2003-08-22

来源:互联网

安装好woody后,我把系统升级为sid,用了2.4.21的内核,再运行lilo,发现出现了warning.如下
Warning: '/proc/partitions' does not match 'dev' directory
Name change : '/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 stracture does not reflect DEVFS_FS device names.
应该如何修改呢,先谢了

作者: shmily   发布时间: 2003-08-22

提示不是很清楚么?要我翻译?

kernel启动参数加上devfs=mount

作者: carlos   发布时间: 2003-08-22

加在lilo里面,不行阿,出现如下错误阿
Unrecognized token "devfs" at or above line 114 in file '/etc/lilo.conf'

作者: shmily   发布时间: 2003-08-22

我把内核参数变成如下,就不再出现这个问题。
# CONFIG_DEVFS_FS is not set
# CONFIG_DEVFS_MOUNT is not set
# CONFIG_DEVFS_DEBUG is not set
CONFIG_DEVPTS_FS=y

在编译内核时,去掉file system->devfs
选择下面的unix pts文件类型(记不是很清)。

作者: 听峰   发布时间: 2003-08-23

$ vi /etc/lilo.conf
append="devfs=nomount"

disable devfs 支持。

作者: quanliking   发布时间: 2003-08-23