[Debian-au] Re: Problems with NFS-mounted root

Christopher Yeoh cyeoh at samba.org
Thu Jul 17 04:41:13 UTC 2003


At 2003/7/17 13:51+0930  Greg 'groggy' Lehey writes:
>     timeout 2
> 
>     title Kernel 2.4.21
>     root (nd)
>     kernel (nd)/tftpboot/diskless/sat-gw/boot/vmlinuz root=/dev/nfs
>     nfsroot=192.109.197.82:/tftpboot/diskless/sat-gw ip=dhcp
> 
> Ethereal shows that the kernel doesn't even try to access the NFS
> server: there's no traffic at all after the kernel finishes loading.
> I'm guessing that it has to be either an error in the grub config file
> or in the kernel configuration.  Both are derived from a description
> at http://bogmog.sourceforge.net/document_show.php3?doc_id=36.

I had the exact same error in setting up an nfsroot box a few months
ago.  I can't remember exactly what I did to fix it (there were a few
issues along the way - firewalling myself off by accident being one of
them :-) but at one stage I gave up using the ip=dhcp (saw some
references to that being broken on certain 2.4.x kernels).

So I have something like this:

kernel (nd)/var/ftpd/vmlinuz-2.4.19-via root=/dev/nfs nfsroot=192.168.1.1:/data/blue_root ip=192.168.1.11:192.168.1.1:192.168.1.1:255.255.255.0:blue:eth0:off vga=0x318

If I remember correctly it dhcp's again after loading the kernel and
that bit wasn't working. Of course I could be misremembering but
it might be worth trying.

btw - if anyone has had problems with netbooting VIA mini-itx boxes
I'd be interested in hearing about it. I have a problem where if I
netboot I get memory problems with the machine (even just netbooting
memtest86) but booting the same thing from disk its ok. Kind of
suspect something wrong with PXE boot rom, but don't really know.

Chris
-- 
cyeoh at samba.org



More information about the debian-au mailing list