debian:install
Table of Contents
Net install
Setup dnsmasq Server
apt -y install dnsmasq pxelinux tcpdump iftop ethtool
vi /etc/dnsmasq.conf ... # disable DNS port=0 # dhcp range, lease for 12 h dhcp-range=192.168.1.2,192.168.1.60,12h # option 3 = default gateway dhcp-option=3,192.168.1.1 # option 6 = DNS servers dhcp-option=6,192.168.1.1 dhcp-host=00:01:02:03:04:05,192.168.1.9 dhcp-host=06:07:08:09:0a:0b,192.168.1.5 dhcp-host=0c:0d:0e:0f:00:01,192.168.1.52 pxe-service=x86PC,"Network Boot",pxelinux enable-tftp tftp-root=/srv/tftpboot
systemctl restart dnsmasq.service
mkdir -p /srv/tftpboot cd /srv/tftpboot/ cp /usr/lib/PXELINUX/pxelinux.0 /srv/tftpboot/ cp /usr/lib/syslinux/modules/bios/ldlinux.c32 /srv/tftpboot/ cp /usr/lib/syslinux/memdisk /srv/tftpboot/ wget https://deb.debian.org/debian/dists/stable/main/installer-amd64/current/images/netboot/mini.iso
cd /srv/tftpboot mkdir pxelinux.cfg cd pxelinux.cfg vi 01-00-01-02-03-04-05 ... default deb label deb linux memdisk append iso initrd mini.iso
Troubleshoot
tcpdump host 192.168.1.9 -vvven tcpdump ether host 00:01:02:03:04:05 -vvven
debian/install.txt · Last modified: 2024/10/18 11:52 by ms