How to make bootable usb from terminal in linux os

https://askubuntu.com/questions/372607/how-to-create-a-bootable-ubuntu-usb-flash-drive-from-terminal

https://vitux.com/how-to-create-a-bootable-usb-stick-from-the-ubuntu-terminal/

Step1 

To recognize your USB drive's location on your disk. Let's run this command

lsblk

and you will see this 

sda      8:0    0 119.2G  0 disk 
├─sda1   8:1    0  55.9G  0 part /
├─sda2   8:2    0     1K  0 part 
├─sda5   8:5    0   3.7G  0 part [SWAP]
└─sda6   8:6    0  59.7G  0 part /home
sdb      8:16   1   7.3G  0 disk 
└─sdb1   8:17   1   7.3G  0 part 


==> sdb1


Step2:

sudo umount /dev/sdb1


Step 3

 sudo dd bs=4M if=path/to/input.iso of=/dev/sd<?> conv=fdatasync  status=progress 

Comments

Popular posts from this blog

Fixing the DeepSpeed Import Error While Fine-Tuning the Qwen Model

Amazon Linux 2023 - User data configuration for launch templates to connect to the EKS cluster

How to create ISM policy and rotate logs in opensearch