Difference between revisions of "How To Partition USB/SD Storage Device"
Jump to navigation
Jump to search
(Created page with "Plug in your removable flash drive and run the ‘lsblk’ command to identify the device. # Run <code>lsblk</code> to list the block devices on the system and find your devic...") |
(No difference)
|
Latest revision as of 22:51, 22 February 2020
Plug in your removable flash drive and run the ‘lsblk’ command to identify the device.
- Run
lsblk
to list the block devices on the system and find your device in the list. We'll assume it's/dev/sdh
for our purposes here. sudo parted /dev/sdh
(parted) mklabel msdos
(parted) mkpart primary fat32 1MiB 100%
(parted) set 1 boot on
(parted) quit
sudo mkfs.vfat -n "DISKLABEL" /dev/sdh1