A minimal network enabled Slackware install

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.


This is one of about 5000 posts on Rubénerd. View the home page for the latest, or related posts also tagged with:

If you liked this post, feel free to buy me a coffee, leave me a comment on Twitter, or email me at weblog2017@rubenschade.com. Thanks :).