PXEing Slackware Linux

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

Check for your mirror and the latest version available.

#no ending slash here
remote=rsync://mirror.yandex.ru/slackware/slackware64-14.2
#remote=rsync://slackware.tsu.ru/slackware/slackware64-14.2
#remote=rsync://slackware.falseking.org/slackware/slackware64-14.2

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

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

This is the full repository (slash at the end – there is),

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

Setup the PXE menu,

vi /tftpboot/pxelinux.cfg/linuces

label slackware142
    kernel slackware142/kernels/huge.s/bzImage
    append initrd=slackware142/isolinux/initrd.img vga=791
    #no KMS with this initrd, enabling vga parameter
    #nomodeset
    #append load_ramdisk=1 prompt_ramdisk=0 rw SLACK_KERNEL=huge.s

And in case you need root=/dev/sda1

label slackware142 root=/dev/sda1
        kernel slackware142/kernels/huge.s/bzImage
        append root=/dev/sda1 vga=791
        #append root=/dev/hde1 vga=791

Notes.


Nethence | Doc | Pub | Lab | Pbraun | SNE Russia | xhtml