Skip to content

Instantly share code, notes, and snippets.

@corny
Last active May 31, 2024 00:14
Show Gist options
  • Save corny/202ae6abf44fb1bfec4c44e722f5527a to your computer and use it in GitHub Desktop.
Save corny/202ae6abf44fb1bfec4c44e722f5527a to your computer and use it in GitHub Desktop.
Install Ubuntu 24.04 via PXE on PC Engines APU Board

Preparing Mikrotik Router

/ip dhcp-server network
add address=192.168.180.0/24 boot-file-name=pxelinux.0 dns-server=192.168.180.1 gateway=192.168.180.1 next-server=192.168.180.55

Preparing PXE files

Download the Ubuntu 24.04 Netboot tarball and extract it to /srv/tftp. Open pxelinux.cfg/default and add the console=ttyS0,115200n8 to the APPEND line:

DEFAULT install
LABEL install
  KERNEL vmlinuz
  INITRD initrd
  APPEND root=/dev/ram0 console=ttyS0,115200n8 ramdisk_size=1500000 ip=dhcp url=https://releases.ubuntu.com/focal/ubuntu-20.04.6-live-server-amd64.iso ---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment