User Tools

Site Tools


debian:install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
debian:install [2024/04/25 18:15] msdebian:install [2024/10/18 11:52] (current) ms
Line 1: Line 1:
 ===== Net install ===== ===== Net install =====
-''wget https://deb.debian.org/debian/dists/stable/main/installer-amd64/current/images/netboot/mini.iso''+==== Setup dnsmasq Server ==== 
 +<code> 
 +apt -y install dnsmasq pxelinux tcpdump iftop ethtool 
 +</code> 
 +<code> 
 +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 
 +</code> 
 +<code> 
 +systemctl restart dnsmasq.service 
 +</code> 
 +<code> 
 +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 
 +</code> 
 +<code> 
 +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 
 +</code> 
 + 
 +==== Troubleshoot ==== 
 +<code> 
 +tcpdump host 192.168.1.9 -vvven 
 +tcpdump ether host 00:01:02:03:04:05 -vvven 
 +</code> 
debian/install.1714061718.txt.gz · Last modified: 2024/04/25 18:15 by ms

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki