operating_systems:linux:debian:nfsboot
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
operating_systems:linux:debian:nfsboot [2012/08/26 08:55] – created sbolay | operating_systems:linux:debian:nfsboot [2012/08/26 09:16] (current) – [LINKS] sbolay | ||
---|---|---|---|
Line 21: | Line 21: | ||
* follow work around on the initrd -> :-( | * follow work around on the initrd -> :-( | ||
- | < | + | < |
- | Finally, I found that both the mount and nfsmount present in the initrd doesn' | + | <div style=" |
- | So, I replaced one line in the nfs script present in the initrd and added in /sbin the mount.nfs command. | + | Finally, I found that both the mount and nfsmount present in the initrd doesn' |
- | </p></ | + | So, I <a href=" |
+ | </div> | ||
+ | </ | ||
==== The answer ==== | ==== The answer ==== | ||
In this document I would like to share what I didn't found in once: | In this document I would like to share what I didn't found in once: | ||
Line 34: | Line 35: | ||
- Give the opportunity to boot through PXE on an NFS filesystem. | - Give the opportunity to boot through PXE on an NFS filesystem. | ||
+ | < | ||
+ | <div style=" | ||
Personally and in accordance with the DEBIAN guidelines, I finally chose to boot with an initrd. | Personally and in accordance with the DEBIAN guidelines, I finally chose to boot with an initrd. | ||
+ | </ | ||
+ | </ | ||
===== Network structure ===== | ===== Network structure ===== | ||
* server: NFS/TFTP (ETCH - Linux server 2.6.18-6-686) | * server: NFS/TFTP (ETCH - Linux server 2.6.18-6-686) | ||
Line 63: | Line 67: | ||
==== Kernel ==== | ==== Kernel ==== | ||
- | ([[http:// | + | ([[http:// |
- | The directory structure is (so you have to do a mkdir): | + | |
+ | The directory structure is (so you have to do a **mkdir**): | ||
* kernel 2.6.20 (for etch): / | * kernel 2.6.20 (for etch): / | ||
* kernel 2.6.26 (for lenny): / | * kernel 2.6.26 (for lenny): / | ||
Line 213: | Line 218: | ||
==== DHCP/ | ==== DHCP/ | ||
First install your DHCP/ | First install your DHCP/ | ||
+ | |||
For information, | For information, | ||
=== TFTP === | === TFTP === | ||
+ | |||
served by [[http:// | served by [[http:// | ||
+ | |||
root@server:/# | root@server:/# | ||
<code bash> | <code bash> | ||
Line 234: | Line 242: | ||
=== DHCP === | === DHCP === | ||
- | served by [[http:// | + | served by [[http:// |
root@server2:# | root@server2:# | ||
<code bash> | <code bash> | ||
Line 242: | Line 251: | ||
next-server server; #in fact here I have the IP address of the TFTP server | next-server server; #in fact here I have the IP address of the TFTP server | ||
} | } | ||
- | < | + | </code> |
=== NFS === | === NFS === | ||
- | served by [[http:// | + | served by [[http:// |
root@server:# | root@server:# | ||
<code bash> | <code bash> | ||
Line 269: | Line 279: | ||
=== Package verification/ | === Package verification/ | ||
First check that all tools you need are present. | First check that all tools you need are present. | ||
+ | |||
In this example, I show the missing nfs support for the **mount** command, then the installation of the respective package and finally a successfully test: | In this example, I show the missing nfs support for the **mount** command, then the installation of the respective package and finally a successfully test: | ||
<code bash> | <code bash> | ||
Line 310: | Line 321: | ||
</ | </ | ||
- | === WITH initrd === | + | ==== WITH initrd |
(see Documentation/ | (see Documentation/ | ||
+ | |||
FIXME http:// | FIXME http:// | ||
FIXME http:// | FIXME http:// | ||
Line 358: | Line 370: | ||
==== WHITOUT initrd ==== | ==== WHITOUT initrd ==== | ||
(see Documentation/ | (see Documentation/ | ||
+ | |||
/ | / | ||
<code bash> | <code bash> | ||
Line 389: | Line 402: | ||
Q: mountd[11516]: | Q: mountd[11516]: | ||
- |
A: add in the / | + |
A: add in the / |
===== LINKS ===== | ===== LINKS ===== | ||
- | * This howto was mainly based on jukie.net/ | + | * This howto was mainly based on [[http:// |
* http:// | * http:// | ||
* http:// | * http:// |
operating_systems/linux/debian/nfsboot.1345971352.txt.gz · Last modified: 2012/08/26 08:55 by sbolay