Netzwerkboot
Verfasst: So 10. Jun 2018, 23:52
Hallo,
ich versuche gerade mit dnsmasq und nfs exports ein Ubuntu vom Netzwerk zu booten. Die Ubuntu Live CD's sind kein Problem ,aber mit einem installieren System will es irgendwie nicht klappen. Hat jemand eine Anleitung für mich?
dnsmasq.conf
pxelinux.cfg/default
/etc/exports
ich versuche gerade mit dnsmasq und nfs exports ein Ubuntu vom Netzwerk zu booten. Die Ubuntu Live CD's sind kein Problem ,aber mit einem installieren System will es irgendwie nicht klappen. Hat jemand eine Anleitung für mich?
dnsmasq.conf
Code: Alles auswählen
resolv-file=/etc/resolv.conf.dnsmasq
domain-needed
bogus-priv
# Das eigene Netzwerk
dhcp-range=192.168.172.0,proxy
# statt 192.168.178.5 die Adresse eures TFTP Server, oder wenn der PI auch tftp Server
# macht dann die vom PI
dhcp-boot=pxelinux.0,192.168.172.6,192.168.172.0
# bei pxelinux keine .0 anhängen, das macht der dnsmasq selber
pxe-service=x86PC,"Netzwerk Boot",pxelinux,192.168.172.6
# enabled den lokalen tftp-server, bei externen einfach auskommentieren
enable-tftp
tftp-root=/tftpboot
Code: Alles auswählen
default vesamenu.c32
prompt 0
menu title PXE
menu background /tftpboot/pxelinux.cfg/background.jpg
MENU PASSWD T03t$2017
label Start von lokaler Festplatte
localboot 0
DEFAULT linux
LABEL linux
kernel vmlinuz
append vga=normal initrd=initrd.img ramdisk_size=14332 root=/dev/nfs nfsroot=192.168.100.1:/ubntu-16.04 rw --
LABEL Reboot
COM32 reboot.c32
Code: Alles auswählen
/tftpboot 192.168.0.0/255.255.255.0(rw,no_root_squash,no_subtree_check)
/tftpboot/ubuntu-16.04.4-desktop-i386 192.168.0.1/24(rw,no_root_squash,no_subtree_check,async)