How to setup to Netboot Servers to Install Debian 11 Network install PXE Boot



How to setup to Netboot Servers to Install Debian 11 Network install PXE Boot

How to setup to Netboot Servers to Install Debian 11 Network install PXE Boot

INSTALLING ISC-DHCP-Server

apt update && apt upgrade -y

apt install isc-dhcp-server

nano /etc/dhcp/dhcpd.conf
remove # at authoritative;
change to option domain-name-servers 1.1.1.1, 8.8.8.8;
add

subnet 192.168.80.0 netmask 255.255.255.0 {
range 192.168.80.100 192.168.80.200;
option routers 192.168.80.1;
next-server 192.168.80.3;
option bootfile-name “pxelinux.0″;
}

nano /etc/default/isc-dhcp-server
INTERFACESv4=”eth0”

systemctl start isc-dhcp-server

systemctl enable isc-dhcp-server

INSTALLING TFTP server and seting up debian netboot

apt update && apt upgrade -y

apt install tftpd-hpa -y

wget http://http.us.debian.org/debian/dists/bullseye/main/installer-amd64/current/images/netboot/netboot.tar.gz

cp -r {debian-installer,ldlinux.c32,pxelinux.0,pxelinux.cfg,version.info} /srv/tftp

cd /srv/tftp

ln -s debian-installer/amd64/grubx64.efi .
ln -s debian-installer/amd64/grub .

systemctl restart tftpd-hpa

Links in our description may be affiliate links which help our channel grow.

Check out our new merch store:
https://store.virtualizeeverything.com/
Gear we use:
https://virtualizeeverything.com/gear-we-use/