User Tools

Site Tools


operating_systems:linux:debian:nfsboot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
operating_systems:linux:debian:nfsboot [2012/08/26 09:06] – [Kernel] sbolayoperating_systems:linux:debian:nfsboot [2012/08/26 09:16] – [FAQ] sbolay
Line 68: Line 68:
 ==== Kernel ==== ==== Kernel ====
 ([[http://packages.debian.org/search?keywords=git-core|git cloned]])\\ ([[http://packages.debian.org/search?keywords=git-core|git cloned]])\\
 +
 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): /srv/work/tftp/distro/linux-kernel-2.6.20   * kernel 2.6.20 (for etch): /srv/work/tftp/distro/linux-kernel-2.6.20
Line 217: Line 218:
 ==== DHCP/TFTP/NFS server installation ==== ==== DHCP/TFTP/NFS server installation ====
 First install your DHCP/TFTP/NFS server as widely explained in [[operating_systems:linux:debian:nfsboot#links|other how-to]].\\ First install your DHCP/TFTP/NFS server as widely explained in [[operating_systems:linux:debian:nfsboot#links|other how-to]].\\
 +
 For information, This is my configuration: For information, This is my configuration:
 === TFTP === === TFTP ===
 +
 served by [[http://packages.debian.org/search?keywords=tftpd-hpa|tftpd-hpa]]\\ served by [[http://packages.debian.org/search?keywords=tftpd-hpa|tftpd-hpa]]\\
 +
 root@server:/#cat /etc/xinetd.d/tftp root@server:/#cat /etc/xinetd.d/tftp
 <code bash> <code bash>
Line 238: Line 242:
 === DHCP === === DHCP ===
  
-served by [[http://packages.debian.org/search?keywords=dhcp3-server|dhcp3-server]]+served by [[http://packages.debian.org/search?keywords=dhcp3-server|dhcp3-server]]\\ 
 root@server2:#cat /etc/dhcp3/dhcpd.conf root@server2:#cat /etc/dhcp3/dhcpd.conf
 <code bash> <code bash>
Line 246: 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>+</code>
  
 === NFS === === NFS ===
-served by [[http://packages.debian.org/search?keywords=nfs-kernel-server|nfs-kernel-server]]+served by [[http://packages.debian.org/search?keywords=nfs-kernel-server|nfs-kernel-server]]\\ 
 root@server:#cat /etc/exports root@server:#cat /etc/exports
 <code bash> <code bash>
Line 273: Line 279:
 === Package verification/installation === === Package verification/installation ===
 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 314: Line 321:
 </code> </code>
  
-=== WITH initrd ===+==== WITH initrd ====
 (see Documentation/initrd.txt)\\ (see Documentation/initrd.txt)\\
 +
 FIXME http://www.lugatgt.org/articles/booting.inittools/downloads/presentation.pdf \\ FIXME http://www.lugatgt.org/articles/booting.inittools/downloads/presentation.pdf \\
 FIXME http://www.yolinux.com/TUTORIALS/LinuxTutorialInitProcess.html \\ FIXME http://www.yolinux.com/TUTORIALS/LinuxTutorialInitProcess.html \\
Line 362: Line 370:
 ==== WHITOUT initrd ==== ==== WHITOUT initrd ====
 (see Documentation/nfsroot.txt at least in 2.6.20! It has disappeared in 2.6.26!) (see Documentation/nfsroot.txt at least in 2.6.20! It has disappeared in 2.6.26!)
 +
 /srv/work/tftp/linux/debian/menu/default /srv/work/tftp/linux/debian/menu/default
 <code bash> <code bash>
Line 393: Line 402:
  
 Q: mountd[11516]: refused mount request from gateway.iro for /srv/work/tftp/distro/lenny (/srv/work/tftp/distro/lenny): illegal port 12817 \\ Q: mountd[11516]: refused mount request from gateway.iro for /srv/work/tftp/distro/lenny (/srv/work/tftp/distro/lenny): illegal port 12817 \\
-
A: add in the /etc/exports the option insecure in the corresponding exporting line+
A: add in the /etc/exports the option **insecure** in the corresponding exporting line
  
 ===== LINKS ===== ===== LINKS =====
operating_systems/linux/debian/nfsboot.txt · Last modified: 2012/08/26 09:16 by sbolay