/etc/exports

# NFS4 export Root
/srv                            192.168.1.0/26(ro,no_root_squash,no_subtree_check,fsid=0)

# Root-Filesystem d. Clients
/srv/jessie_guest               *(ro,no_root_squash,no_subtree_check)

/etc/dnsmasq.conf

# z.B. alle Interfaces des Servers
listen-address=0.0.0.0

# oder eine adresse des Servers selbst
# listen-address=192.168.1.1

# Nameserver
server=10.36.36.1

domain-needed
bogus-priv
filterwin2k
expand-hosts

# TFTP
enable-tftp
tftp-root=/srv/tftp

# pfadangaben relativ zur tftp root, Adresse d. TFTP Servers
pxe-service=x86PC, "Netzboot", "/pxelinux",192.168.1.1

/srv/tftp/pxelinux.cfg/default # Kernel und initrd müssen innerhalb der TFTP-Root liegen

UI vesamenu.c32

menu background splash/splash.png
menu color title        * #FFFFFFFF *
menu color border       * #00000000 #00000000 none
menu color sel          * #ffffffff #76a1d0ff *
menu color hotsel       1;7;37;40 #ffffffff #76a1d0ff *
menu color tabmsg       * #ffffffff #00000000 *
menu color help         37;40 #ffdddd00 #00000000 none
menu vshift 13
menu rows 10
menu helpmsgrow 12
# The command line must be at least one line from the bottom.
menu timeoutrow 13
menu cmdlinerow 14
menu tabmsgrow 15
menu tabmsg Press ENTER to boot or TAB to edit a menu entry

DEFAULT jessie_guest
#TIMEOUT        100
TIMEOUT 30
#TOTALTIMEOUT 300

MENU TITLE Choose System

LABEL jessie_guest
  MENU LABEL Debian Jessie 64bit
  KERNEL jessie_guest/vmlinuz
  APPEND initrd=jessie_guest/initrd boot=nfs root=/dev/nfs nfsroot=10.36.36.9:/srv/jessie_guest ip=::10.36.36.1::::dhcp ro fsprotect=1G quiet
 splash vga=786

LABEL Memtest
  MENU LABEL Memtest (memtest86+)
  KERNEL memtest86+

Wiki/pxeNetzBoot (zuletzt geändert am 2015-10-27 15:51:01 durch i59F6AAF6)