Slackware HowTo

Create a bootable Slackware USB with dd

Write an ISO to a USB stick in a minimal way and verify the correct target device at the end.

1. Goal

Write an ISO to a USB stick in a minimal way and verify the correct target device at the end.

2. Files and components involved

lsblk
dd
sync
/dev/sdX
slackware.iso

3. Operational flow

lsblk -o NAME,SIZE,MODEL,TRAN
umount /dev/sdX*
dd if=slackware.iso of=/dev/sdX bs=4M status=progress oflag=sync
sync

4. Operational verification

lsblk /dev/sdX
fdisk -l /dev/sdX
cmp -n 1M slackware.iso /dev/sdX

5. Practical notes

Before touching disks, mounts, and filesystems, note the UUIDs, current outputs, and the latest valid backup available.

When you work on storage and filesystems, the rule stays the same: first identify the right device, then modify, and finally verify.

Quick checklist

[ ] Backup or copy of the existing configuration completed
[ ] Files and commands updated as expected
[ ] Local test completed successfully
[ ] Logs or final output verified
[ ] Rollback procedure documented

Back to the Linux HowTo section