All of lore.kernel.org
 help / color / mirror / Atom feed
* [RESEND] [PATCH] nfsroot.txt (against Linux 2.6.15.2)
@ 2006-02-10  8:45 Nico Schottelius
  2006-02-10 15:11 ` Arthur Othieno
  0 siblings, 1 reply; 5+ messages in thread
From: Nico Schottelius @ 2006-02-10  8:45 UTC (permalink / raw)
  To: LKML, neilb; +Cc: Gero Kuhlmann, Martin Mares


[-- Attachment #1.1: Type: text/plain, Size: 798 bytes --]

[This message was sent to the LKML on Mon, 6 Feb 2006 16:29:46 +0100
 and nobody replied. Perhaps you did not see it in the flood of mails.]

Hello dear developers,

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.

Sincerly,

Nico

P.S.: Please reply to nico-kernel2 //at// schottelius.org

-- 
Latest release: ccollect-0.3.2 (http://linux.schottelius.org/ccollect/)
Open Source nutures open minds and free, creative developers.

[-- Attachment #1.2: nfsroot-2.6.15.2.diff --]
[-- Type: text/plain, Size: 1960 bytes --]

--- nfsroot.txt.orig	2006-02-06 16:05:32.000000000 +0100
+++ nfsroot.txt	2006-02-06 16:19:37.000000000 +0100
@@ -3,6 +3,7 @@
 
 Written 1996 by Gero Kuhlmann <gero@gkminix.han.de>
 Updated 1997 by Martin Mares <mj@atrey.karlin.mff.cuni.cz>
+Updated 2006 by Nico Schottelius <nico-kernel-nfsroot@schottelius.org>
 
 
 
@@ -168,7 +169,6 @@
 	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 @@
 	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 @@
 	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 @@
 	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.
+
 
 
 

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [RESEND] [PATCH] nfsroot.txt (against Linux 2.6.15.2)
  2006-02-10  8:45 [RESEND] [PATCH] nfsroot.txt (against Linux 2.6.15.2) Nico Schottelius
@ 2006-02-10 15:11 ` Arthur Othieno
  2006-02-10 15:24   ` Frederik Deweerdt
  2006-02-11  1:23   ` [RERESEND] [PATCH] Updated Documentation/nfsroot.txt Nico Schottelius
  0 siblings, 2 replies; 5+ messages in thread
From: Arthur Othieno @ 2006-02-10 15:11 UTC (permalink / raw)
  To: Nico Schottelius, LKML, neilb, Gero Kuhlmann, Martin Mares

On Fri, Feb 10, 2006 at 09:45:08AM +0100, Nico Schottelius wrote:
> [This message was sent to the LKML on Mon, 6 Feb 2006 16:29:46 +0100
>  and nobody replied. Perhaps you did not see it in the flood of mails.]
> 
> Hello dear developers,
> 
> 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.

Looks good.

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

Inline patches preferred.

> Sincerly,
> 
> Nico
> 
> P.S.: Please reply to nico-kernel2 //at// schottelius.org
 
Easier if this is your From: address, initially ;-)

> --- nfsroot.txt.orig	2006-02-06 16:05:32.000000000 +0100
> +++ nfsroot.txt	2006-02-06 16:19:37.000000000 +0100
> @@ -3,6 +3,7 @@

Patches must be in a format that applies with `diff -p1'. diffstat(1)
output doesn't hurt, either. See Documentation/SubmittingPatches and
http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt for details.

[ snip ]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [RESEND] [PATCH] nfsroot.txt (against Linux 2.6.15.2)
  2006-02-10 15:11 ` Arthur Othieno
@ 2006-02-10 15:24   ` Frederik Deweerdt
  2006-02-10 17:24     ` Arthur Othieno
  2006-02-11  1:23   ` [RERESEND] [PATCH] Updated Documentation/nfsroot.txt Nico Schottelius
  1 sibling, 1 reply; 5+ messages in thread
From: Frederik Deweerdt @ 2006-02-10 15:24 UTC (permalink / raw)
  To: Arthur Othieno; +Cc: Nico Schottelius, LKML, neilb, Gero Kuhlmann, Martin Mares

On Fri, Feb 10, 2006 at 10:11:40AM -0500, Arthur Othieno wrote:
 
> Patches must be in a format that applies with `diff -p1'. diffstat(1)
                                                 ^^^^
That was patch, of course.
Frederik

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [RESEND] [PATCH] nfsroot.txt (against Linux 2.6.15.2)
  2006-02-10 15:24   ` Frederik Deweerdt
@ 2006-02-10 17:24     ` Arthur Othieno
  0 siblings, 0 replies; 5+ messages in thread
From: Arthur Othieno @ 2006-02-10 17:24 UTC (permalink / raw)
  To: Frederik Deweerdt
  Cc: Arthur Othieno, Nico Schottelius, LKML, neilb, Gero Kuhlmann,
	Martin Mares

On Fri, Feb 10, 2006 at 04:24:18PM +0100, Frederik Deweerdt wrote:
> On Fri, Feb 10, 2006 at 10:11:40AM -0500, Arthur Othieno wrote:
>  
> > Patches must be in a format that applies with `diff -p1'. diffstat(1)
>                                                  ^^^^
> That was patch, of course.

Right. Silly me.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [RERESEND] [PATCH] Updated Documentation/nfsroot.txt
  2006-02-10 15:11 ` Arthur Othieno
  2006-02-10 15:24   ` Frederik Deweerdt
@ 2006-02-11  1:23   ` Nico Schottelius
  1 sibling, 0 replies; 5+ messages in thread
From: Nico Schottelius @ 2006-02-11  1:23 UTC (permalink / raw)
  To: Arthur Othieno; +Cc: Nico Schottelius, LKML, neilb, Gero Kuhlmann, Martin Mares

[-- Attachment #1: Type: text/plain, Size: 2926 bytes --]

[I followed the instructions in
 http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt and
 Documentation/SubmittingPatches and corrected my patch submission.
 I hope it's ok this time. I copied the original text so you can
 use it for the changelog.]  


Hello dear developers,

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.

Sincerly,

Nico


   Signed-off-by: Nico Schottelius <nico-kernel@schottelius.org>


--- linux/Documentation/nfsroot.txt.orig	2006-02-06 16:05:32.000000000 +0100
+++ linux/Documentation/nfsroot.txt	2006-02-06 16:19:37.000000000 +0100
@@ -3,6 +3,7 @@
 
 Written 1996 by Gero Kuhlmann <gero@gkminix.han.de>
 Updated 1997 by Martin Mares <mj@atrey.karlin.mff.cuni.cz>
+Updated 2006 by Nico Schottelius <nico-kernel-nfsroot@schottelius.org>
 
 
 
@@ -168,7 +169,6 @@
 	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 @@
 	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 @@
 	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 @@
 	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.
+
 
 
-- 
Latest release: ccollect-0.3.2 (http://linux.schottelius.org/ccollect/)
Open Source nutures open minds and free, creative developers.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-02-11  1:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-10  8:45 [RESEND] [PATCH] nfsroot.txt (against Linux 2.6.15.2) Nico Schottelius
2006-02-10 15:11 ` Arthur Othieno
2006-02-10 15:24   ` Frederik Deweerdt
2006-02-10 17:24     ` Arthur Othieno
2006-02-11  1:23   ` [RERESEND] [PATCH] Updated Documentation/nfsroot.txt Nico Schottelius

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.