LinuxSir.cn,穿越时空的Linuxsir!

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

mount出错

[复制链接]
发表于 2004-1-27 16:41:12 | 显示全部楼层 |阅读模式
/etc/fstab

/dev/hda6   /hda6  vfat   umask=0,iocharset=gb2312,codepage=cp936 0 0

系统启动的时候无法挂接
必须要手动使用mount -t vfat /dev/hda6 /hda6 才行,怎么办?
 楼主| 发表于 2004-1-27 16:55:52 | 显示全部楼层
下边是启动报错
recording existing mounts in /etc/mtab
mounting remaining file system...
modprobe:moprobe:can't locate module
mount:fs type not supported by kernel               [failed]
you should no be reading this error message. it means that an un forseen error took place in /etc/rc.d/rcsysinit.d/S40mountfs.which exited with a return value of 96



我就没搞懂
说是内核不支持
但我为什么可以用手动mount的方式挂接上去?
发表于 2004-1-27 21:49:34 | 显示全部楼层
试过重新编译内核吗?
发表于 2004-1-27 22:34:34 | 显示全部楼层
比较一下手工mount前后,lsmod的区别,
把多出来的modules放在/etc/modules里。
发表于 2004-1-27 23:00:02 | 显示全部楼层
umask=0
umask应该是三位数字吧?
发表于 2004-1-27 23:33:37 | 显示全部楼层
如果是000的话,一位也行
发表于 2004-1-28 03:31:25 | 显示全部楼层
可能是内核里没有编译cp936吧。
 楼主| 发表于 2004-1-28 16:56:51 | 显示全部楼层
我不记得是不是加上了CP936
于是我重新编译了一遍,
现在的错误如下
mount:fs type not supported by kernel
modprobe: modprobe:can't locate module nls_iso8859-1
modprobe: modprobe:can't locate module nls_iso8859-1
modprobe: modprobe:can't locate module nls_iso8859-1
modprobe: modprobe:can't locate module nls_iso8859-1   [failed]
you should no be reading this error message. it means that an un forseen error took place in /etc/rc.d/rcsysinit.d/S40mountfs.which exited with a return value of 96

我在编译的时候将ISO8859-1也直接编译进了内核,但怎么会出错呢?

BTW,如何查看当前使用的内核包含了哪些模块,以及怎么查看编译进当前内核的内容?
 楼主| 发表于 2004-1-28 16:58:08 | 显示全部楼层
另,我现在已经去掉了FSTAB里的挂接参数

/etc/fstab

/dev/hda6   /hda6   vfat   umask=0   0  0


仍然要出现以上错误
救命……
发表于 2004-1-28 21:22:12 | 显示全部楼层
最初由 fishfeather 发表
我不记得是不是加上了CP936
于是我重新编译了一遍,
现在的错误如下
mount:fs type not supported by kernel
modprobe: modprobe:can't locate module nls_iso8859-1
modprobe: modprobe:can't locate module nls_iso8859-1
modprobe: modprobe:can't locate module nls_iso8859-1
modprobe: modprobe:can't locate module nls_iso8859-1   [failed]
you should no be reading this error message. it means that an un forseen error took place in /etc/rc.d/rcsysinit.d/S40mountfs.which exited with a return value of 96

我在编译的时候将ISO8859-1也直接编译进了内核,但怎么会出错呢?

BTW,如何查看当前使用的内核包含了哪些模块,以及怎么查看编译进当前内核的内容?


cat /proc/ksyms | grep -i 'nls_iso8859'

你怎么编译的内核?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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