[syslinux] network boot nfs as root
Josef Siemes
jsiemes at web.de
Wed May 15 10:00:34 PDT 2002
Hi,
<robvog at hetnet.nl> schrieb am 15.05.02:
> > How do you tell the kernel the root FS?
> I have:
> In /tftpboot/pxelinux.cfg/default
> default linux root=/dev/nfs nfsaddrs=192.168.1.1:192.168.1.1:192.168.1.1:255.255.255.0:netserver:eth0 nfsroot=192.168.1.1:/netboot/base
> where netboot/base is where root for client system begins.
oops, this looks bad. nfsaddrs tells the kernel also the _client's_
address, so you've configured your client to be 192.168.1.1,
and the server (& gateway) to be the same - but I doubt there's some
NFS server running on localhost 8-).
BTW, this is nowerdays renamed to 'ip=', look into
<kerneltree>/Documentation/nfsroot.txt for the full explanation of
the options.
I use 'DHCP Autoconfig' in the kernel, so I just give 'ip=dhcp'
to the kernel, and the kernel does (another) DHCP. Also
you could try 'ipappend 1' in the pxelinux config file, then pxelinux
will give the appropriate 'ip=' to the kernel, to avoid an additional
DHCP.
Regards,
Josef
________________________________________________________________
Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr!
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13
More information about the Syslinux
mailing list