Skip to contentSkip to conversation

doc: Updated Documentation/nfsroot.txt

PATCH In review Nico Schottelius 4 participants 4 messages Mar 18, 2006 – Mar 20, 2006 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: Updated Documentation/nfsroot.txt

Hello LKML!

What am I doing terrible wrong that I do not get any comment on this patch?

----- Forwarded message from Arthur Othieno <[email protected]> -----

Date: Tue, 14 Feb 2006 11:05:53 -0500
To: [email protected]
Cc: Nico Schottelius <[email protected]>,
Arthur Othieno <[email protected]>
Subject: [PATCH] doc: Updated Documentation/nfsroot.txt
From: Arthur Othieno <[email protected]>

From: Nico Schottelius <[email protected]>

I today booted the first time my embedded device using Linux 2.6.15.2, which was booted by pxelinux, which then bootet itself from the nfsroot.

This went pretty fine, but when I was reading through Documentation/nfsroot.txt I saw that there are some more modern versions available of loading the kernel and passing parameters.

So I added them and the patch for that is attached to this mail.

---

 Documentation/nfsroot.txt |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

bb5fd479f34c5c53f3e3316052656c7795c02f90

Documentation/nfsroot.txt +14 -3
index a87d4af..d56dc71 100644
@@ -3,6 +3,7 @@ Mounting the root filesystem via NFS (nf
 
 Written 1996 by Gero Kuhlmann <[email protected]>
 Updated 1997 by Martin Mares <[email protected]>
+Updated 2006 by Nico Schottelius <[email protected]>
 
 
 
@@ -168,7 +169,6 @@ depend on what facilities are available:
 	root. If it got a BOOTP answer the directory name in that answer
 	is used.
 
-
 3.2) Using LILO
 	When using LILO you can specify all necessary command line
 	parameters with the 'append=' command in the LILO configuration
@@ -177,7 +177,11 @@ depend on what facilities are available:
 	LILO and its 'append=' command please refer to the LILO
 	documentation.
 
-3.3) Using loadlin
+3.3) Using GRUB
+	When you use GRUB, you simply append the parameters after the kernel
+	specification: "kernel <kernel> <parameters>" (without the quotes).
+
+3.4) Using loadlin
 	When you want to boot Linux from a DOS command prompt without
 	having a local hard disk to mount as root, you can use loadlin.
 	I was told that it works, but haven't used it myself yet. In
@@ -185,7 +189,7 @@ depend on what facilities are available:
 	lar to how LILO is doing it. Please refer to the loadlin docu-
 	mentation for further information.
 
-3.4) Using a boot ROM
+3.5) Using a boot ROM
 	This is probably the most elegant way of booting a diskless
 	client. With a boot ROM the kernel gets loaded using the TFTP
 	protocol. As far as I know, no commercial boot ROMs yet
@@ -194,6 +198,13 @@ depend on what facilities are available:
 	and its mirrors. They are called 'netboot-nfs' and 'etherboot'.
 	Both contain everything you need to boot a diskless Linux client.
 
+3.6) Using pxelinux
+	Using pxelinux you specify the kernel you built with
+	"kernel <relative-path-below /tftpboot>". The nfsroot parameters
+	are passed to the kernel by adding them to the "append" line.
+	You may perhaps also want to fine tune the console output,
+	see Documentation/serial-console.txt for serial console help.
+
 
 
 
Signature · 8 lines
1.1.5


----- End forwarded message -----

-- 
Please reply to nico-kernel2 (same domain as sending address).
Replying to this address needs a confirmation, but works, too.
#1 lore raw
Quoted 4 lines · Nico Schottelius

Hello LKML!

What am I doing terrible wrong that I do not get any comment on this patch?

I'll fall out as patch monkey in re-transmission mode now. Please send patch to <[email protected]> (added to Cc). Thanks.

Quoted 95 lines

----- Forwarded message from Arthur Othieno <[email protected]> -----

Date: Tue, 14 Feb 2006 11:05:53 -0500
To: [email protected]
Cc: Nico Schottelius <[email protected]>,
Arthur Othieno <[email protected]>
Subject: [PATCH] doc: Updated Documentation/nfsroot.txt
From: Arthur Othieno <[email protected]>

From: Nico Schottelius <[email protected]>

I today booted the first time my embedded device using Linux 2.6.15.2, which was booted by pxelinux, which then bootet itself from the nfsroot.

This went pretty fine, but when I was reading through Documentation/nfsroot.txt I saw that there are some more modern versions available of loading the kernel and passing parameters.

So I added them and the patch for that is attached to this mail.

---

 Documentation/nfsroot.txt |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

bb5fd479f34c5c53f3e3316052656c7795c02f90

Documentation/nfsroot.txt +14 -3
index a87d4af..d56dc71 100644
@@ -3,6 +3,7 @@ Mounting the root filesystem via NFS (nf
 
 Written 1996 by Gero Kuhlmann <[email protected]>
 Updated 1997 by Martin Mares <[email protected]>
+Updated 2006 by Nico Schottelius <[email protected]>
 
 
 
@@ -168,7 +169,6 @@ depend on what facilities are available:
 	root. If it got a BOOTP answer the directory name in that answer
 	is used.
 
-
 3.2) Using LILO
 	When using LILO you can specify all necessary command line
 	parameters with the 'append=' command in the LILO configuration
@@ -177,7 +177,11 @@ depend on what facilities are available:
 	LILO and its 'append=' command please refer to the LILO
 	documentation.
 
-3.3) Using loadlin
+3.3) Using GRUB
+	When you use GRUB, you simply append the parameters after the kernel
+	specification: "kernel <kernel> <parameters>" (without the quotes).
+
+3.4) Using loadlin
 	When you want to boot Linux from a DOS command prompt without
 	having a local hard disk to mount as root, you can use loadlin.
 	I was told that it works, but haven't used it myself yet. In
@@ -185,7 +189,7 @@ depend on what facilities are available:
 	lar to how LILO is doing it. Please refer to the loadlin docu-
 	mentation for further information.
 
-3.4) Using a boot ROM
+3.5) Using a boot ROM
 	This is probably the most elegant way of booting a diskless
 	client. With a boot ROM the kernel gets loaded using the TFTP
 	protocol. As far as I know, no commercial boot ROMs yet
@@ -194,6 +198,13 @@ depend on what facilities are available:
 	and its mirrors. They are called 'netboot-nfs' and 'etherboot'.
 	Both contain everything you need to boot a diskless Linux client.
 
+3.6) Using pxelinux
+	Using pxelinux you specify the kernel you built with
+	"kernel <relative-path-below /tftpboot>". The nfsroot parameters
+	are passed to the kernel by adding them to the "append" line.
+	You may perhaps also want to fine tune the console output,
+	see Documentation/serial-console.txt for serial console help.
+
 
 
 
Signature · 8 lines
1.1.5


----- End forwarded message -----

-- 
Please reply to nico-kernel2 (same domain as sending address).
Replying to this address needs a confirmation, but works, too.

Setting From: address on your end is trivial. Having to jump through hoops like these to provide any feedback is just a waste of peoples' time, really.

#2 lore raw
Quoted 10 lines · Arthur Othieno

On Sat, Mar 18, 2006 at 12:02:32PM +0100, Nico Schottelius wrote:
I'll fall out as patch monkey in re-transmission mode now. Please send patch to <[email protected]> (added to Cc). Thanks.

Quoted 3 lines
Signature · 2 lines
Please reply to nico-kernel2 (same domain as sending address).
Replying to this address needs a confirmation, but works, too.

Setting From: address on your end is trivial. Having to jump through hoops like these to provide any feedback is just a waste of peoples' time, really.

Nico does this willfully for whatever reasons (trapping SPAM or something), I even asked him to stop this nonsense some time ago but he seemed to like that idea. (I was about to help him on a problem at that time.) So right now, he's in my ~/.killfile ... No hassle...

MfG, JBG

Signature · 4 lines
Jan-Benedict Glaw       [email protected]    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 für einen Freien Staat voll Freier Bürger"  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
#3 lore raw
In reply to Arthur Othieno

Arthur Othieno [Sat, Mar 18, 2006 at 09:55:48AM -0500]:

Quoted 4 lines

[...]
Setting From: address on your end is trivial. Having to jump through hoops like these to provide any feedback is just a waste of peoples' time, really.

Sorry, did not really see that is so annoying.

So now you can reply directly to me.

Nico

Signature · 1 line
:x