* NFS root on 2.4.18-14
@ 2002-10-14 13:13 Theewara Vorakosit
2002-10-14 13:19 ` Andreas Steinmetz
2002-10-14 18:00 ` Samuel Flory
0 siblings, 2 replies; 6+ messages in thread
From: Theewara Vorakosit @ 2002-10-14 13:13 UTC (permalink / raw
To: linux-kernel
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?
Thanks,
Theewara
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: NFS root on 2.4.18-14
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
2002-10-14 18:00 ` Samuel Flory
1 sibling, 1 reply; 6+ messages in thread
From: Andreas Steinmetz @ 2002-10-14 13:19 UTC (permalink / raw
To: Theewara Vorakosit; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 691 bytes --]
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
[-- Attachment #2: ip.patch --]
[-- Type: text/plain, Size: 490 bytes --]
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: NFS root on 2.4.18-14
2002-10-14 13:19 ` Andreas Steinmetz
@ 2002-10-14 13:56 ` Wakko Warner
2002-10-14 15:10 ` Andreas Steinmetz
0 siblings, 1 reply; 6+ messages in thread
From: Wakko Warner @ 2002-10-14 13:56 UTC (permalink / raw
To: Andreas Steinmetz; +Cc: Theewara Vorakosit, linux-kernel
> > 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: NFS root on 2.4.18-14
2002-10-14 13:56 ` Wakko Warner
@ 2002-10-14 15:10 ` Andreas Steinmetz
2002-10-14 15:43 ` Mr. James W. Laferriere
0 siblings, 1 reply; 6+ messages in thread
From: Andreas Steinmetz @ 2002-10-14 15:10 UTC (permalink / raw
To: Wakko Warner; +Cc: Theewara Vorakosit, linux-kernel
Wakko Warner wrote:
> 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.
Me too.
Oh, originally I posted my patch to lkml on Tue, 23 Oct 2001 13:20:50.
--
Andreas Steinmetz
D.O.M. Datenverarbeitung GmbH
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: NFS root on 2.4.18-14
2002-10-14 15:10 ` Andreas Steinmetz
@ 2002-10-14 15:43 ` Mr. James W. Laferriere
0 siblings, 0 replies; 6+ messages in thread
From: Mr. James W. Laferriere @ 2002-10-14 15:43 UTC (permalink / raw
To: Andreas Steinmetz; +Cc: Linux Kernel Maillist
Hello Andreas & All , I have to third that request that directly
bootable kernel floppies not go the way of staticly built kernels
and the dodo bird . JimL
On Mon, 14 Oct 2002, Andreas Steinmetz wrote:
> Wakko Warner wrote:
> > 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.
> Me too.
> Oh, originally I posted my patch to lkml on Tue, 23 Oct 2001 13:20:50.
> --
> Andreas Steinmetz
> D.O.M. Datenverarbeitung GmbH
>
> -
> 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/
>
+------------------------------------------------------------------+
| James W. Laferriere | System Techniques | Give me VMS |
| Network Engineer | P.O. Box 854 | Give me Linux |
| babydr@baby-dragons.com | Coudersport PA 16915 | only on AXP |
+------------------------------------------------------------------+
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: NFS root on 2.4.18-14
2002-10-14 13:13 NFS root on 2.4.18-14 Theewara Vorakosit
2002-10-14 13:19 ` Andreas Steinmetz
@ 2002-10-14 18:00 ` Samuel Flory
1 sibling, 0 replies; 6+ messages in thread
From: Samuel Flory @ 2002-10-14 18:00 UTC (permalink / raw
To: Theewara Vorakosit; +Cc: linux-kernel
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?
>Thanks,
>Theewara
>
>
>
You need to give the kernel instructions to use dhcp. I've always
found this works:
ip=::::::dhcp nfsroot=192.168.1.5:/vol0/nfs/root/10.01
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-10-14 17:49 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2002-10-14 15:10 ` Andreas Steinmetz
2002-10-14 15:43 ` Mr. James W. Laferriere
2002-10-14 18:00 ` Samuel Flory
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.