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/10/18 11:37] msdebian:install [2024/10/18 11:52] (current) ms
Line 11: Line 11:
  
 # dhcp range, lease for 12 h # dhcp range, lease for 12 h
-dhcp-range=192.168.15.2,192.168.15.59,12h+dhcp-range=192.168.1.2,192.168.1.60,12h
  
 # option 3 = default gateway # option 3 = default gateway
-dhcp-option=3,192.168.15.1+dhcp-option=3,192.168.1.1
  
 # option 6 = DNS servers # option 6 = DNS servers
-dhcp-option=6,192.168.15.1+dhcp-option=6,192.168.1.1
  
-dhcp-host=00:1e:68:20:86:28,192.168.15.9 +dhcp-host=00:01:02:03:04:05,192.168.1.9 
-dhcp-host=f8:0d:ac:d0:08:d4,192.168.15.5 +dhcp-host=06:07:08:09:0a:0b,192.168.1.5 
-dhcp-host=52:54:00:12:34:52,192.168.15.52+dhcp-host=0c:0d:0e:0f:00:01,192.168.1.52
  
-pxe-service=x86PC,"Netzwerk Boot",pxelinux+pxe-service=x86PC,"Network Boot",pxelinux
  
 enable-tftp enable-tftp
 tftp-root=/srv/tftpboot tftp-root=/srv/tftpboot
 </code> </code>
- 
 <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 wget https://deb.debian.org/debian/dists/stable/main/installer-amd64/current/images/netboot/mini.iso
 </code> </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.1729244244.txt.gz · Last modified: 2024/10/18 11:37 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