Re: NFS root on 2.4.18-14

From: Andreas Steinmetz (ast@domdv.de)
Date: Mon Oct 14 2002 - 08:19:19 EST


Theewara Vorakosit wrote:
> Dear All,
> I use Red Hat 8.0 and kernel 2.4.18-14, which come from redhat
> distribution. I want create a NFS-root kernel to build a diskless linux
> using NFS root. I select "IP kernel level configuration-> BOOTP, DHCP",
> NFS root support. I boot client using my kernel, it does not requrest for
> an IP address. It try to mount NFS root immediately. Do I forget
> something?
If you try to boot from a floppy that was created like "dd if=vmlinuz
of=/dev/fd0" you will need the attached patch. Alan Cox however told me
that the ability to boot without boot manager (e.g. lilo) will
eventually go away.

-- 
Andreas Steinmetz
D.O.M. Datenverarbeitung GmbH

diff -rNu linux/net/ipv4/ipconfig.c linux-custom/net/ipv4/ipconfig.c --- linux/net/ipv4/ipconfig.c 2002-09-27 14:05:32.000000000 +0200 +++ linux-custom/net/ipv4/ipconfig.c 2002-09-27 14:57:01.000000000 +0200 @@ -107,7 +107,7 @@ */ int ic_set_manually __initdata = 0; /* IPconfig parameters set manually */ -int ic_enable __initdata = 0; /* IP config enabled? */ +int ic_enable __initdata = 1; /* IP config enabled? */ /* Protocol choice */ int ic_proto_enabled __initdata = 0

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:49 EST