PXE // Slackware Linux

See PXE Setup for overall PXE instructions. This is Slackware specific.

MWE

Check for your closest RSYNC mirror

remote=rsync://.../slackware/slackware64-current

This is only the installer (no slash at the end on the source),

mkdir -p /tftpboot/slackware-current/
rsync -avz --delete $remote/{isolinux,kernels} /tftpboot/slackware-current/
# usb-and-pxe-installers

PXE setup

vi /tftpboot/pxelinux.cfg/default
label slackware-current install
    kernel slackware-current/kernels/generic.s/bzImage
    append initrd=slackware-current/isolinux/initrd.img vga=791

label slackware150 install
    kernel slackware150/kernels/huge.s/bzImage
    append initrd=slackware150/isolinux/initrd.img vga=791

There is no uni-processor kernel for 64-bit version of Slackware, hence huge.s. If you were playing with the 32-bit version of Slackware, you might want to choose hugesmp.s.

Original arguments

    #append load_ramdisk=1 prompt_ramdisk=0 rw SLACK_KERNEL=huge.s

No KMS with the installer initrd, enabling vga parameter

vga=791
vga=788
vga=773
vga=771

Note disable KMS otherwise, when it fails for some reason (video card or screen?)

nomodeset

Full sets

that was for booting. now if you really wanna serve the full repository

mkdir -p /tftpboot/slackware150/

–either– sync with your nearest mirror – the destination trailing slash matters

rsync -avz --delete \
    --exclude=extra/source \
    --exclude=pasture/source \
    --exclude=patches/source \
    --exclude=source \
    --exclude=slackware64/kde \
    --exclude=slackware64/kdei \
    $remote/ /tftpboot/slackware150/

–or– just mount the ISO

vi /etc/fstab

/data/ISO-IMAGES/slackware/slackware64-15.0-install-dvd.iso /tftpboot/slackware150 iso9660 defaults 0 0

mount slackware150/

Mirrors

and eventually more packages from Bob

draft – I just need 14.2x64 binaries

#mkdir -p /tftpboot/slackware142bob/
#cd /tftpboot/slackware142bob/
#lftp -c "open http://www.slackware.com/~alien/slackbuilds/; mirror -c 14.2"

Resources

VGA Boot modes to set screen resolution https://www.pendrivelinux.com/vga-boot-modes-to-set-screen-resolution/

Slackware Live Edition https://docs.slackware.com/slackware:liveslak


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Licensed under MIT