One of the fastest method, for getting up and running with BlackBuntu Linux is to run it “live” from a USB drive. Creating a bootable BlackBuntu USB drive is very simple, especially from Ubuntu/Debian or other derivate systems.
Step 1 - Identify your USB drive name
Insert your USB stick and type the following
df command to see if it is mounted automatically on a Ubuntu/Debian or any other Linux desktop system:
Sample outputs (see /media/neoslab/Kingston in the below screenshot).
You can try the
lsblk command as well to list your usb devices.
Once your USB path has been localized you will need to unmount it.
$ sudo umount /media/neoslab/Kingston
Alternatively you can use the USB
FileSystem as path name in your command.
$ sudo umount /dev/sdb
Step 2 - Verify the BlackBuntu ISO Image integrity
This step is optional but highly recommended. Verify the integrity of the BlackBuntu ISO image allow you to be sure that the file has not changed as a result of file transfer, disk error, hacker attacks, etc...
When you run
md5sum command on ISO file, you get the checksum value on your screen. The unique thing you need to do next is to compare it with the original checksum value that can be found in the download. If the two values match, you are safe and can proceed with the BlackBuntu ISO image.
Go to the folder where BlackBuntu ISO image is stored and download the original BlackBuntu ISO checksum:
$ wget https://download.blackbuntu.org/22.04.1/blackbuntu-22.04.1-lts-amd64.md5
Generate the checksum for the BlackBuntu ISO image you downloaded:
$ md5sum blackbuntu-22.04.1-lts-amd64.iso
Compare the above hash with the checksum you grab from the download section:
$ md5sum -c blackbuntu-22.04.1-lts-amd64.md5
Step 3 - Create the Bootable USB drive
The example command below assumes that the ISO image you're writing is named "blackbuntu-22.04.1-lts-amd64.iso" and is in your current working directory.
The blocksize parameter can be increased, and while it may speed up the operation of the
dd command, it can occasionally produce unbootable USB drives, depending on your system and a lot of different factors.
The recommended value, "bs=4M", is conservative and reliable. Additionally, the parameter "conv=fsync" makes sure that the data is physically written to the USB drives before the commands returns.
$ sudo dd if=blackbuntu-22.04.1-lts-amd64.iso of=/dev/sdb conv=fsync bs=4M
Creating a bootable USB drive can take a good amount of time, over ten minutes or more is not unusual. Furthermore, unfortunately the
dd command provides no feedback until it’s completed.
As soon as the operation is finished, your terminal will display a result similar to the screenshot above. You can then disconnect your USB drive and use it.
Step 1 - What You'll Need
Before to proceed further, the first thing you need to do is to grab the BlackBuntu ISO image. All the available BlackBuntu ISO images version can be found in our official download page.
If you’re Windows user, There are several tools allowing you to create a bootable USB drive. We recommend Etcher as it's the easiest to use. However Rufus is a good alternative offering more advanced options.
Step 2 - Create the Bootable USB drive
Plug your USB drive into an available USB port on your Windows PC, note which drive designator (e.g. "F:\") it uses once it detected and mounted. Launch Etcher. Click Flash from file, and locate the blackbuntu-22.04.1-lts-amd64.iso ISO image file.
Click Select target and choose the USB drive you want to make bootable.
Click the Flash! button once ready (You may get a UAC prompt asking for administrator privileges that you will need to accept).
As soon as the operation is finished, you can then disconnect your USB drive and use it.