No description
Find a file
2026-06-24 23:24:32 +02:00
config_files tested for efi 2026-06-24 14:48:12 +02:00
LICENSE Initial commit 2026-06-22 19:49:33 +02:00
README.md Update README.md 2026-06-24 23:24:32 +02:00

Automated linux installation for hardware4future

This repo is for resources related to automated installation of linux on devices that are to be donated to others in the context of the project hardware for future.

PXE boot

  • Installing debian via pxe boot is done via serving the contents of netboot.tar.gz via tftp, follow the official docs.
    • We tried the dnsmasq way: no other tftp/dhcp server necessary. It worked.
  • Unfortunately Linux Mint doesn't officially support PXE boot. We are currently trying the way in ubuntu netboot docs.
    • Caution: don't serve the files for legacy boot, even our "old" hardwares are too new to support that. We need UEFI booting.
    • It allows serving a whole iso via HTTP. Can we serve the lmde7 iso this way?
      • So far without success. It seems the efi files we prepped do not like to linux mint iso.

Working solution

  • Supply these cli options to vmlinuz: boot=live live-config ip=dhcp fetch=http://192.168.0.1/lmde-7-cinnamon-64bit.iso live-media-path=/live
    • For legacy boot, in pxelinux.cfg/default
      DEFAULT install-legacy
      LABEL install-legacy
        KERNEL vmlinuz
        INITRD initrd.lz
        APPEND boot=live live-config ip=dhcp fetch=http://192.168.0.1/lmde-7-cinnamon-64bit.iso live-media-path=/live
      
    • For EFI (not tested yet)
    menuentry "LMDE 7 via HTTP ISO fetch" --class linuxmint {
        set gfxpayload=keep
        linux /vmlinuz boot=live live-config ip=dhcp fetch=http://192.168.0.1/lmde-7-cinnamon-64bit.iso live-media-path=/live quiet splash --
        initrd /initrd.lz
    }
    
  • In dnsmasq config:
pxe-service=x86PC, "PXELINUX (BIOS)", "pxelinux.0"
pxe-service=X86-64_EFI,"PXE (UEFI)","grubx64.efi"

TODOs

  • OEM mode (so that username/pw is not set).
  • Custom preseed file for advanced stuff (e.g. preinstalling specific software)