lmn-client/doc/install_pxe.md
2025-04-08 11:19:19 +02:00

2 KiB

Installation via PXE/Grub

  • Using DigitalSouveraeneSchule repository and LinuxMuster.Net tftp
    Simplest solution. Playbook and default inventory from DigitalSouveraeneSchule codeberg repository.
    Linux kernel and initial Ramdisk from debian repository.
  • Using your own repository and LinuxMuster.Net tftp
    Here you can use your own inventory and make many custom settings.
    Linux kernel and initial Ramdisk from debian repository.
  • Using your own repository and livebox tftp
    Additional kernel and Ramdisk from your own infrastrukture.

Using codeberg repository and LinuxMuster.Net tftp

Modification LinuxMuster.Net server

Create grub config for device group lmnclient on your schools server:

/srv/linbo/boot/grub/lmnclient.cfg

# ### NOT managed by linuxmuster.net ###

# edit to your needs
set default=1

menuentry 'Installer Debian bookworm (amd64) + preseed + ansible inventory' {
   echo -n "Enter domain join password: "
   read adpw
   set vaultpw="dummy"
   # echo -n "Enter vault password"
   # read vaultpw
   linux   (http,ftp.debian.org)/debian/dists/stable/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux auto=true priority=high \
           url=https://codeberg.org/DigitalSouveraeneSchule/lmn-client/raw/branch/fvs/misc/preseed.cfg interface=auto \
           playbook=lmn-client.yml adpw="${adpw}" vaultpw="${vaultpw}" ---
   initrd  (http,ftp.debian.org)/debian/dists/stable/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz
}

Insert host in devices.csv and set device group to lmnclient:

devices.csv

classroom;mypc01;lmnclient;F2:81:6B:C9:E3:EF;10.0.5.51;;;;classroom-studentcomputer;;1;;;;;

On client PC

  • In BIOS-Setting: Set boot to UEFI
  • Start via PXE
  • When asked for domain-join-password: Enter password of global-admin
  • confirm hostname and domain (you will be asked in network setup)
  • ... Get a cup of coffee ... wait until reboot ... login (Logging in may take a few minutes after installation)

Using your own livebox server