From: Wakko Warner <wakko@animx.eu.org>
To: Andreas Steinmetz <ast@domdv.de>
Cc: Theewara Vorakosit <g4465018@pirun.ku.ac.th>,
linux-kernel@vger.kernel.org
Subject: Re: NFS root on 2.4.18-14
Date: Mon, 14 Oct 2002 09:56:47 -0400 [thread overview]
Message-ID: <20021014095647.A6453@animx.eu.org> (raw)
In-Reply-To: <3DAAC457.3040402@domdv.de>; from Andreas Steinmetz on Mon, Oct 14, 2002 at 03:19:19PM +0200
> > 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.
I hope it doesn't. I use it quite frequently at work. It's jsut so much
easier to use than installing a bootloader onto a floppy, mounting, copying
the kernel and so forth.
I did this patch which works for me, but only if root=/dev/nfs It was done
against 2.4.13 or something around there, but it applies with offset to all
newer 2.4 kernels and I believe all 2.5 kernels.
--- net/ipv4/ipconfig-orig.c 2001-11-19 20:48:35.000000000 -0500
+++ net/ipv4/ipconfig.c 2001-11-19 20:56:21.000000000 -0500
@@ -1105,7 +1105,11 @@
proc_net_create("pnp", 0, pnp_get_info);
#endif /* CONFIG_PROC_FS */
- if (!ic_enable)
+ if (!ic_enable
+#if defined(IPCONFIG_DYNAMIC) && defined(CONFIG_ROOT_NFS)
+ && ROOT_DEV != MKDEV(UNNAMED_MAJOR, 255)
+#endif
+ )
return 0;
DBG(("IP-Config: Entered.\n"));
--
Lab tests show that use of micro$oft causes cancer in lab animals
next prev parent reply other threads:[~2002-10-14 13:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-14 13:13 NFS root on 2.4.18-14 Theewara Vorakosit
2002-10-14 13:19 ` Andreas Steinmetz
2002-10-14 13:56 ` Wakko Warner [this message]
2002-10-14 15:10 ` Andreas Steinmetz
2002-10-14 15:43 ` Mr. James W. Laferriere
2002-10-14 18:00 ` Samuel Flory
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021014095647.A6453@animx.eu.org \
--to=wakko@animx.eu.org \
--cc=ast@domdv.de \
--cc=g4465018@pirun.ku.ac.th \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox