Skip to content

Instantly share code, notes, and snippets.

@corny
Last active March 24, 2025 12:53
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 ---
@rikka0w0
Copy link

rikka0w0 commented Mar 15, 2025

The link you post (https://releases.ubuntu.com/noble/ubuntu-24.04-netboot-amd64.tar.gz) does not exist.

It is supposed to be https://releases.ubuntu.com/24.04/ubuntu-24.04.1-netboot-amd64.tar.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment