Difference between revisions of "Debian/ImagingServer"

From Servfire
Jump to: navigation, search
(Created page with "== Work in progress == === Base Installation === <pre> apt-get install tftpd-hpa syslinux initramfs-tools nfs-kernel-server mkdir -p /srv/tftp cp /boot/*-$(uname -r) /srv/tftp/...")
 
Line 6: Line 6:
 
mkdir -p /srv/tftp
 
mkdir -p /srv/tftp
  
cp /boot/*-$(uname -r) /srv/tftp/
+
cp /boot/*-$(uname -r) /usr/lib/syslinux/{pxelinux.0,menu.c32} /srv/tftp/
 
+
ln -s /usr/lib/syslinux/{pxelinux.0,menu.c32} /srv/tftp/
+
  
 
mkdir -p /srv/nfs/imageclient
 
mkdir -p /srv/nfs/imageclient
Line 17: Line 15:
 
</pre>
 
</pre>
  
=== /srv/tftp/default ===
+
=== /srv/tftp/pxelinux.cfg/default ===
 
<pre>
 
<pre>
 
UI menu.c32
 
UI menu.c32
 
DEFAULT 0
 
DEFAULT 0
PROMPT 30
+
TIMEOUT 5
 +
PROMPT 1
  
 
LABEL local
 
LABEL local

Revision as of 04:52, 27 December 2012

Work in progress

Base Installation

apt-get install tftpd-hpa syslinux initramfs-tools nfs-kernel-server

mkdir -p /srv/tftp

cp /boot/*-$(uname -r) /usr/lib/syslinux/{pxelinux.0,menu.c32} /srv/tftp/

mkdir -p /srv/nfs/imageclient

echo '/srv/nfs/imageclient *(ro,sync,no_subtree_check) >> /etc/exports

exportfs -av

/srv/tftp/pxelinux.cfg/default

UI menu.c32
DEFAULT 0
TIMEOUT 5
PROMPT 1

LABEL local
MENU LABEL Boot HD
LOCALBOOT 0

LABEL imageclient
MENU LABEL Imaging
KERNEL vmlinuz-++KERNEL_VERSION++
APPEND initrd=initramfs-++KERNEL_VERSION++