Nethence Newdoc Olddoc Lab Your IP BBDock  

PXEing Slackware Linux

See http://doc.nethence.com/server/pxe.html for overall PXE instructions

Check for your mirror and the latest version available.

This is only the installer, not the full repository,

mkdir -p /var/lib/tftpboot/slackware64/
cd /var/lib/tftpboot/slackware64/

remote=rsync://mirror.yandex.ru/slackware/
#remote=rsync://slackware.falseking.org/slackware/
#remote=rsync://slackware.tsu.ru/slackware/

rsync -avz --delete-after $remote/slackware64-14.2/isolinux/ /var/lib/tftpboot/slackware64/142/isolinux/
rsync -avz --delete-after $remote/slackware64-14.2/kernels/ /var/lib/tftpboot/slackware64/142/kernels/
rsync -avz --delete-after $remote/slackware64-14.2/usb-and-pxe-installers/ /var/lib/tftpboot/slackware64/142/usb-and-pxe-installers/

ln -s 142/kernels/huge.s/bzImage
ln -s 142/kernels/huge.s/config
ln -s 142/isolinux/initrd.img

This is the full repository,

rsync -avz --delete-after --exclude=extra/source/ --exclude=pasture/source/ --exclude=patches/source/ --exclude=source/ $remote/slackware64-14.2/ /var/lib/tftpboot/slackware64/142/

unset remote

Setup the PXE menu,

vi /var/lib/tftpboot/pxelinux.cfg/default

label Slackware Linux 64-bit
kernel slackware64/bzImage
append initrd=slackware64/initrd.img vga=788

Note: some unneeded arguments,

#append initrd=slackware64/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw SLACK_KERNEL=huge.s

Notes.


Home | GitHub | Docker Hub | Donate | Contact