Created
November 22, 2020 16:37
-
-
Save dylansalim3/016bfe0a1739564d78c377d00644109c to your computer and use it in GitHub Desktop.
Create bootable usb through Linux terminal (ONLY FOR LINUX ISO)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//check dev id | |
sudo fdisk -l | |
sample output: | |
Disk /dev/sdc: 14.3 GiB, 15376000000 bytes, 30031250 sectors | |
Units: sectors of 1 * 512 = 512 bytes | |
Sector size (logical/physical): 512 bytes / 512 bytes | |
I/O size (minimum/optimal): 512 bytes / 512 bytes | |
//Unmount the usb | |
umount /dev/{dev_id} | |
//Format usb | |
sudo mkfs.ext /dev/{dev_id} | |
// creating usb using dd command | |
sudo dd if={iso_path} of=/dev/{dev_id} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment