Forum Discussion
Altera_Forum
Honored Contributor
21 years agomount root over NFS
Over the last two days, I've been trying to get the NIOS kernel to mount its root FS over NFS, without result. I assume I'm missing something obvious, but I am missing it. The server (D...
Altera_Forum
Honored Contributor
21 years agoto marc :
I got the same error:IP-Config: Complete:
device=eth0, addr=218.192.171.39, mask=255.255.255.0, gw=218.192.171.254,
host=218.192.171.39, domain=, nis-domain=(none),
bootserver=218.192.171.46, rootserver=218.192.171.46, rootpath=
Looking up port of RPC 100003/2 on 218.192.171.46
Looking up port of RPC 100005/1 on 218.192.171.46
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 72k freed (0x1174000 - 0x1185000)
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found. Try passing init= option to kernel. From the log message, rootpath= is empty,but I got the log message in nfs server to indicate the client do login the nfs server. And my root command line was set: CONFIG_CMDLINE="root=/dev/nfs rw nfsroot=218.192.171.46:/f/target,rsize=1024,wsize=1024 ip=218.192.171.39:218.192.171.46:218.192.171.254:255.255.255.0" To wentao: I has copied root fs from <target> to NFS share dir, changed /bin/*.exe to *. But got the same error. Is it the /dev error? I has not change anything in /dev (there are so many such file:@console,c,5,1,@hda,b,3,0...) What to do next? Thanks.