Creating a Bootable USB Stick on Linux

1. Preparing the USB Stick:

  • Connect the USB stick to your Linux computer. Make sure the stick does not contain any important data, as it will be formatted during the process.

2. Downloading the ISO File:

  • Download the ISO image of the operating system you want to install on the USB stick. This could be Ubuntu, Fedora, Debian, or another Linux distribution.

3. Installing 'dd' (if not already installed):

  • Most Linux distributions include the 'dd' tool, which you can use to write the ISO image to the USB stick. If it is not already installed, you can usually install it via your distribution's package management system. For example:

sudo apt-get install dd # For Debian/Ubuntu
sudo dnf install dd # For Fedora

4. Writing the ISO to the USB Stick:

  • Open a terminal and run the following command to write the ISO image to the USB stick. Replace <path_to_iso> with the actual path to the downloaded ISO file and <device_file_of_usb> with the device file of your USB stick (e.g., /dev/sdX, where X represents the corresponding letter):

  • sudo dd if=<path_to_iso> of=<device_file_of_usb> bs=4M status=progress && sync

Make sure to use the correct device file name of your USB stick, as this process will format the stick and erase all data on it!

5. Completion:

  • After the process is complete, your USB stick should now be bootable. You can now boot your computer from this stick. This usually requires changing the boot order in your computer's BIOS or UEFI to boot from USB.

Please note that this guide is general and may have slight differences depending on your Linux distribution and the tools used. Follow the steps carefully to avoid unwanted data loss.

Was this article helpful?
0 out of 0 found this helpful