A minimal network enabled Slackware install

Software

I haven’t used Slackware in a long time, but I was tasked with getting it working in a Xen VM. The details of PV versus HVM are for another post; suffice to say I was taken aback that even 14.1 still uses LILO. Unfortunately, as far as I can tell we need GRUB for PV.

Rather than using the menu installer like an “expert”, I prefer installing the minimum required, then building it up after the fact. Perhaps its a vestige of borking installs, so I was always quick to get something booting to test. It also gives me a chance to script.

After installing and booting, mount the install DVD/CD and go to the packages folder:

# mount -t iso9660 -o ro /dev/cdrom /hdc
# cd /dev/cdrom/slackware64

For applications:

# cd ap
# installpkg groff*txz man-pages*txz man*txz vim*txz

For networking:

# cd ../n
# installpkg curl*txz dhcpcd*txz htdig*txz iftop*txz iptables*txz 
  iputils*txz lynx*txz mtr*txz ncftp*txz net-tools*txz nmap*txz 
  network-scripts*txz openssh*txz rsync*txz tcpdump*txz wget*txz

The iputils package provides arping, clockdiff, ninfod, ping, rarpd, rdisc, tracepath, and traceroute.

Author bio and support

Me!

Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.