aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/nfsroot.txt
diff options
context:
space:
mode:
authorNico Schottelius <nico-kernel@schottelius.org>2006-03-24 06:18:18 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-24 10:33:27 -0500
commit7e9dd124b90af80824754f68c0b246cfd0fb624b (patch)
tree412027f65e6c5df873295397fe1c70e900285a50 /Documentation/nfsroot.txt
parentd129bceb1d44ed3c23b99164849193703372bab4 (diff)
[PATCH] Updated Documentation/nfsroot.txt
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. Signed-off-by: Nico Schottelius <nico-kernel@schottelius.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/nfsroot.txt')
-rw-r--r--Documentation/nfsroot.txt17
1 files changed, 14 insertions, 3 deletions
diff --git a/Documentation/nfsroot.txt b/Documentation/nfsroot.txt
index a87d4af216c0..d56dc71d9430 100644
--- a/Documentation/nfsroot.txt
+++ b/Documentation/nfsroot.txt
@@ -3,6 +3,7 @@ Mounting the root filesystem via NFS (nfsroot)
3 3
4Written 1996 by Gero Kuhlmann <gero@gkminix.han.de> 4Written 1996 by Gero Kuhlmann <gero@gkminix.han.de>
5Updated 1997 by Martin Mares <mj@atrey.karlin.mff.cuni.cz> 5Updated 1997 by Martin Mares <mj@atrey.karlin.mff.cuni.cz>
6Updated 2006 by Nico Schottelius <nico-kernel-nfsroot@schottelius.org>
6 7
7 8
8 9
@@ -168,7 +169,6 @@ depend on what facilities are available:
168 root. If it got a BOOTP answer the directory name in that answer 169 root. If it got a BOOTP answer the directory name in that answer
169 is used. 170 is used.
170 171
171
1723.2) Using LILO 1723.2) Using LILO
173 When using LILO you can specify all necessary command line 173 When using LILO you can specify all necessary command line
174 parameters with the 'append=' command in the LILO configuration 174 parameters with the 'append=' command in the LILO configuration
@@ -177,7 +177,11 @@ depend on what facilities are available:
177 LILO and its 'append=' command please refer to the LILO 177 LILO and its 'append=' command please refer to the LILO
178 documentation. 178 documentation.
179 179
1803.3) Using loadlin 1803.3) Using GRUB
181 When you use GRUB, you simply append the parameters after the kernel
182 specification: "kernel <kernel> <parameters>" (without the quotes).
183
1843.4) Using loadlin
181 When you want to boot Linux from a DOS command prompt without 185 When you want to boot Linux from a DOS command prompt without
182 having a local hard disk to mount as root, you can use loadlin. 186 having a local hard disk to mount as root, you can use loadlin.
183 I was told that it works, but haven't used it myself yet. In 187 I was told that it works, but haven't used it myself yet. In
@@ -185,7 +189,7 @@ depend on what facilities are available:
185 lar to how LILO is doing it. Please refer to the loadlin docu- 189 lar to how LILO is doing it. Please refer to the loadlin docu-
186 mentation for further information. 190 mentation for further information.
187 191
1883.4) Using a boot ROM 1923.5) Using a boot ROM
189 This is probably the most elegant way of booting a diskless 193 This is probably the most elegant way of booting a diskless
190 client. With a boot ROM the kernel gets loaded using the TFTP 194 client. With a boot ROM the kernel gets loaded using the TFTP
191 protocol. As far as I know, no commercial boot ROMs yet 195 protocol. As far as I know, no commercial boot ROMs yet
@@ -194,6 +198,13 @@ depend on what facilities are available:
194 and its mirrors. They are called 'netboot-nfs' and 'etherboot'. 198 and its mirrors. They are called 'netboot-nfs' and 'etherboot'.
195 Both contain everything you need to boot a diskless Linux client. 199 Both contain everything you need to boot a diskless Linux client.
196 200
2013.6) Using pxelinux
202 Using pxelinux you specify the kernel you built with
203 "kernel <relative-path-below /tftpboot>". The nfsroot parameters
204 are passed to the kernel by adding them to the "append" line.
205 You may perhaps also want to fine tune the console output,
206 see Documentation/serial-console.txt for serial console help.
207
197 208
198 209
199 210