HowTo: Create Slackware Linux Bootable USB Pen Drive

How do I Install Slackware Linux version 13.13 using a bootable USB stick under Unix or Linux operating systems?

Tutorial details
Difficulty level Easy
Root privileges Yes
Requirements None
Est. reading time 5m
You can use standard dd command to convert and copy a file. In this case you need to use usbboot.img file. The steps are as follows:

a) Grab usbboot.img from the official ftp/http mirror.

b) Use dd command to write usbboot.img to a usb pen drive.

Examples

To download Slackware Linux version 13.13 using the wget command as follows:
$ cd /tmp
$ wget http://slackware.osuosl.org/slackware-14.1/usb-and-pxe-installers/usbboot.img

Tip: To download 64 bit version, try:
wget http://slackware.osuosl.org/slackware64-14.1/usb-and-pxe-installers/usbboot.img

To create a bootable usb stick, enter:
# cd /tmp
# dd if=usbboot.img of=/dev/sdc bs=512

Where,

  1. usbboot.img – It is a 30MB small USB boot image that you can use to boot into the Slackware setup program.
  2. /dev/sdc – USB stick

BIOS Boot Options

Your computer BIOS must support booting from USB HDD.

  • Start your computer.
  • Press [DEL] or [F2] to enter into BIOS setup ( this step is dependent on the type of computer you have, see your computer manual for more info).
  • Make sure boot option is set to USB Hard disk.
  • Plug the USB stick into your computers USB slot
  • Boot the system up.

The Slackware Linux installer will start. Log in as root. Use fdisk or cfdisk command to create partitions:
# cfdisk /dev/sda
OR
# fdisk /dev/sda
To start the install type setup command:
# setup
You can now install packages from a CDROM, hard disk or network locations.

References:

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 1 comment so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersdf ncdu pydf
File Managementcat tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
1 comment… add one
  • Daniel Sosa Sep 5, 2011 @ 15:15

    Thank you Vivek,
    I’ve been looking for a quick guide to creating a bootable slack USB for a while now.
    You have some of the best quick unix/linux guides in the web! great job.

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum