配置nfs启动支持选项
[*] Networking support --->Networking options ---> [*] TCP/IP networking
File systems --->[*] Network File Systems (NEW)
出错了,VFS: Cannot open root device "nfs" or unknown-block(0,255): error -6
百度后发现有配置内核时候有些选项没选:赶紧选上
这时候nfs文件系统选项下面多了个选项,就是因为这个没选上:
--- Network File Systems | |
| | <*> NFS client support | |
| | [*] NFS client support for NFS version 3 | |
| | [ ] NFS client support for the NFSv3 ACL protocol extension | |
| | [ ] NFS client support for NFS version 4 (EXPERIMENTAL) | |
linux内核文件放在哪 | | [*] Root file system on NFS | |
| | < > NFS server support
#Vi config 也可直接更改.config文件
#
# Networking options
#
# CONFIG_IP_PNP is not set
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
CONFIG_IP_PNP_BOOTP=y
CONFIG_IP_PNP_RARP=y
CONFIG_NET_IPIP=y
CONFIG_NET_IPGRE_DEMUX=y
CONFIG_NET_IPGRE=y
#
# File systems
#
# CONFIG_UFS_FS is not set
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
# CONFIG_NFS_V4 is not set
CONFIG_ROOT_NFS=y
# CONFIG_NFS_FSCACHE is not set
# CONFIG_NFSD is not set
好了,现在可以开始编译了:
root@xjg:/home/x210v3/kernel/linux-3.8.3# make uImage
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论