How to create bootable USB with terminal in Linux machine ? Yea there is no need of any other software for formatting and making bootable USB from ISO file. you can simply use your terminal program and complete the task.
Some time other software may failed or returned error while making bootable usb, but this should always work.
First you have to format the USB , you can simply use the following script for formatting the USB make sure you choose exactly same partition other wise you may format your other partitions or dual booted OS.
[code style=”1″]
df -h
or you can use
sudo fdisk -l
[/code]
Then you will find a result something look like below image and make sure you identified your USB drive letter from the result.

Now you can un-mount the partition by using following command
[code style=”1″]
sudo umount /dev/sdb1
[/code]
Now simply choose any of the following command to format the disk based on your preferred file system type. for bootable FAT is used commonly.
Format with vFat file system
[code style=”1″]
sudo mkfs.vfat /dev/sdb1
[/code]
Format with NTFS file system
[code style=”1″]
sudo mkfs.ntfs /dev/sdb1
[/code]
Format with EXT4 file system
[code style=”1″]
sudo mkfs.ext4 /dev/sdb1
[/code]
Once the formatting is complete now you can make the bootable USB with terminal , with single command. First make sure your ISO file path , and USB drive letter. the syntax is as follows.
How to make bootable USB with terminal command ?
[code style=”1″]
sudo dd if=[path_to_iso] of=[path_to_usb]
[/code]
Just like
[code style=”1″]
sudo dd if=/home/jobin/Downloads/manjaro-xfce-15.09-x86_64.iso of=/dev/sdb
[/code]
[label style=”3″]NOTE[/label] its sdb not sdb1, It will automatically pick the correct partition just make sure you didn’t connect more than one USB device at this time.
Once the process complete you will something like below.
1275904+0 records in
1275904+0 records out
653262848 bytes (653 MB) copied, 17,4742 s, 37,4 MB/s
Yep its that much simple to create bootable usb with terminal in Linux there is no need of any other software.
Happy reading.. 🙂
