We all like converting our friends/family/colleagues to linux, but we're all guilty of looking up how the dd
command works every time we've won them over. This is why I wanted to simplify the process and make linux propaganda easier and faster for all!
Bootable is a CLI utility that helps you create bootable USB drives from ISO images. It simplifies the process of selecting an ISO file and a USB drive, then uses the dd
command to write the image to the drive.
- Automatically finds ISO files in your home directory
- Detects and lists available USB drives
- Provides a simple command-line interface for selecting the ISO and USB drive
- Uses
dd
to create the bootable USB drive
-
Clone this repository or download the script:
git clone https://github.com/pindjouf/bootable.git cd bootable
-
Make the script executable:
chmod +x bootable.sh
-
(Optional) Move the script to a directory in your PATH for easy access:
sudo mv bootable.sh /usr/local/bin/bootable
-
Run the script:
./bootable.sh
Or if you moved it to your PATH:
bootable
-
Follow the on-screen prompts to:
- Select an ISO image
- Choose a USB drive
- Confirm the operation
- The script searches for ISO files in your home directory.
- It uses
lsblk
to detect USB drives connected to your system. - You select the ISO file and USB drive from the presented lists.
- The script uses
dd
to write the ISO to the USB drive, making it bootable.
- This script requires sudo privileges to write to USB drives.
- Writing an ISO to a USB drive will erase all existing data on that drive.
- Always double-check that you've selected the correct USB drive before confirming the operation. 💀
- Bash shell
lsblk
command (usually pre-installed on most Linux distributions)dd
command (pre-installed on most Unix-like systems)
Feel free to fork this repository and submit pull requests for any improvements or bug fixes.
- Repeat questions that were not answered correctly instead of exiting.
- Improve error handling & exit sequences.
- Add eject USB prompt after script ran successfully.
- Add Windows support.
Author: pindjouf
License: MIT License