quanguoheme 发表于 2012-07-05 12:31

使用uboot启动内核,内核挂载nfs出错,求助

IP-Config: Complete:
   device=eth0, addr=192.168.0.45, mask=255.255.255.0, gw=255.255.255.255,
   host=192.168.0.45, domain=, nis-domain=(none),
   bootserver=192.168.0.46, rootserver=192.168.0.46, rootpath=
Looking up port of RPC 100003/2 on 192.168.0.46
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Looking up port of RPC 100005/1 on 192.168.0.46
Root-NFS: Server returned error -2 while mounting /home/hgj/rootfs
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00             384 mtdblock0 (driver?)
1f01            2048 mtdblock1 (driver?)
1f02         63104 mtdblock2 (driver?)
1f03         65536 mtdblock3 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

nevermore4030 发表于 2012-07-06 16:12

你的NFS目录能在本机挂载吗?NFS不通

quanguoheme 发表于 2012-07-10 12:13

可以在pc机器上挂

caidy_unix 发表于 2012-07-10 23:37

环境变量是不是设错了

quanguoheme 发表于 2012-07-13 14:56

可以在本机上挂载现在可以了 ,环境变量问题   
页: [1]
查看完整版本: 使用uboot启动内核,内核挂载nfs出错,求助