There are times when it is necessary to create some bootable usb With an operating system, no matter which one we are talking about, in my case there are times when I have the need to create a USB with Windows and go with my clients for whatever is needed.
In these cases, I always search some good program for pois create the usb bootable, forgetting me completely of what not needed nothing traditional that using the terminal to be able to do this work.
Although there are several programs, it is still very good to do everything from the terminal, here I showed you how to create a bootable usb only with the use of the terminal.
By using the dd command You have to do several things so I will explain them step by step.
The first thing will be to insert the usb with which we will work, open a terminal and type the command lsblk to see what mount point it is in, in my case it appears as / dev / sdb
[darkcrizt@localhost ~]$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 200M 0 part /boot/efi ├─sda2 8:2 0 1G 0 part /boot └─sda3 8:3 0 464.6G 0 part ├─fedora-root 253:0 0 50G 0 lvm / ├─fedora-swap 253:1 0 5G 0 lvm [SWAP] └─fedora-home 253:2 0 409.6G 0 lvm /home sdb 8:16 1 14.4G 0 disk
Now we will proceed to disassemble it, and then give it the appropriate format this is with the commands umount y mkfs.vfat
[darkcrizt@localhost ~]$ umount /dev/sdb umount: /dev/sdb: no montado. [darkcrizt@localhost ~]$ mkfs.vfat -F 32 /dev/sdb -I mkfs.fat 4.1 (2017-01-24) mkfs.vfat: unable to open /dev/sdb: Permission denied [darkcrizt@localhost ~]$ sudo mkfs.vfat -F 32 /dev/sdb -I [sudo] password for darkcrizt: mkfs.fat 4.1 (2017-01-24)
At this point we will use the dd command where we indicate the mounting point of our usb as well as the path of the disk image that will be copied to the usb
sudo dd if=/ruta-de-iso of=/dev/sdb
Here lo only is wait for end the process, in order to proceed to remove the usb and test it.