LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pxelinux

Network PXE bootloader for BIOS systems

TLDR

Basic PXELINUX setup
$ cp pxelinux.0 [/tftproot/]
copy
Create config directory
$ mkdir -p [/tftproot/pxelinux.cfg/]
copy
Create default config
$ vi [/tftproot/pxelinux.cfg/default]
copy

SYNOPSIS

PXELINUX bootloader configuration

DESCRIPTION

PXELINUX is a SYSLINUX derivative for PXE network booting. It loads via TFTP and allows booting Linux kernels and other operating systems over the network.

EXAMPLES

$ # Setup TFTP root
mkdir -p /tftproot/pxelinux.cfg
cp /usr/lib/PXELINUX/pxelinux.0 /tftproot/
cp /usr/lib/syslinux/modules/bios/*.c32 /tftproot/

# DHCP config (dhcpd.conf)
next-server 192.168.1.1;
filename "pxelinux.0";
copy

CONFIGURATION

$ # /tftproot/pxelinux.cfg/default
DEFAULT linux
TIMEOUT 50
PROMPT 1

LABEL linux
  KERNEL vmlinuz
  APPEND initrd=initrd.img root=/dev/nfs nfsroot=server:/path ip=dhcp

LABEL local
  LOCALBOOT 0
copy

CONFIG FILE SEARCH ORDER

$ /pxelinux.cfg/01-88-99-aa-bb-cc-dd  # MAC address
/pxelinux.cfg/C0A80001              # IP in hex
/pxelinux.cfg/default               # Fallback
copy

CAVEATS

Requires TFTP and DHCP servers. BIOS/legacy boot only (use SYSLINUX for UEFI). Part of SYSLINUX project.

HISTORY

PXELINUX was developed by H. Peter Anvin as part of the SYSLINUX project for PXE network boot.

SEE ALSO

syslinux(1), dhcpd(8)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid