Linux HOWTOs

About | Home | Search


HOWTO: syslinux
Description: Lightweight bootloaders for floppy, network, and CD booting
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# syslinux 2.11
# =============
# Slackware 8.1's 'syslinux' package includes version 1.67, 9.0's includes
# 2.01, 9.1's includes 2.06, and 10.0's includes 2.10

# Prerequisites
# make
# gcc (if you actually build it)
# binutils
# fileutils or coreutils
# nasm >= 0.98.32 (if you actually build it)

# For more info about the SYSLINUX, PXELINUX, and ISOLINUX boot loaders check
# out the *.doc files in the source directory and the home page (link above).

# The tarball comes with binaries, so no need to build it unless you really
# want to.  If you do want to build it, you may need to remove the win32 parts
# from the Makefile (or use a target other than 'all') so it doesn't try to
# run mingw-gcc (a win32 compiler).

cd
test -f installed/syslinux-2.11.tar.bz2 &&
 mv installed/syslinux-2.11.tar.bz2 .
test ! -f syslinux-2.11.tar.bz2 &&
 wget http://www.kernel.org/pub/linux/utils/boot/syslinux/\
syslinux-2.11.tar.bz2

# Verify tarball w/ md5sum:
echo "38a30cc790265f19f80330330ffaa527" ; md5sum syslinux-2.11.tar.bz2

# Verify tarball w/ gpg:
( gpg --list-keys 517D0F0E > /dev/null 2>&1 || gpg --recv-keys 517D0F0E ) &&
 wget -nc http://www.kernel.org/pub/linux/utils/boot/syslinux/\
syslinux-2.11.tar.bz2.sign &&
 gpg --verify syslinux-2.11.tar.bz2.sign && rm syslinux-2.11.tar.bz2.sign

cd /usr/local/src
find -type d -maxdepth 1 -name "syslinux-*" -exec rm -r {} \;
tar xjvf ~/syslinux-2.11.tar.bz2
cd syslinux-2.11
chown -R root.root .
removepkg syslinux
install -g bin -m 755 syslinux syslinux-nomtools gethostip ppmtolss16 \
 lss16toppm /usr/bin/
install -m 644 syslinux.h /usr/include/
install -m 644 libsyslinux.a /usr/lib/
install -d /usr/share/syslinux
install -m 755 pxelinux.0 isolinux.bin isolinux-debug.bin syslinux.com \
 copybs.com memdisk/memdisk /usr/share/syslinux/
cd
mkdir -p -m 0700 installed
rm -f installed/syslinux-*.tar.*
mv syslinux-2.11.tar.bz2 installed/

Back to the list


Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>