Tony Nugent wrote,
>Last time I tried to do it like this, it simply didn't work (and I
>wasted a LOT of time trying). The ONLY way I could get it to work,
>was to compile the nfs-root stuff (arp, bootp etc - like you have
>done) into the kernel, along with the necessary ethernet drivers.
>The main problem was getting the kernel to do the bootp stuff
>*after* loading the drivers etc. And actually specifying network
>config at this point is rather a useless waste of time (that's what
>dhcpd/bootp is for!) And I couldn't get it to switch / to an
>nfsroot filesystem once I had the kernel booted from an initrd.
>(Disclaimer: this is all over 12 months ago, not recently).
Thank you Tony.
I appreciate your suggestions.
But, I failed to find /proc/sys/kernel/nfs-root-name and nfs-root-addres
in kernel 2.2.16 anyway, so I examined the kernel source trees.
Surprisingly, there are no descriptions about nfs-root-* in 2.2.16/kernel/sysctl.c.
On the other hand, kernel 2.0.38 included both of parameters in sysctl.c.
It seems to me that "NFS-root switching function of initrd" has been thrown away
since kernel 2.2. If so, "initrd.txt" is too obsolete and it should be rewritten, I
think.
Regards,
Wataru Nishida
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
- root-nfs-addrs does not appear in /proc NISHIDA Wataru
- Re: root-nfs-addrs does not appear in /proc Tony Nugent
- NISHIDA Wataru
