Parted
Jump to navigation
Jump to search
https://computingforgeeks.com/format-sdcard-usb-flash-drive-on-linux-terminal/
lsblk sudo parted -s /dev/sdb mklabel gpt sudo parted -s /dev/sdb mkpart primary ext4 0% 100% sudo mkfs.ext4 /dev/sdb1 sudo mkdir /mnt/usb1 sudo mount /dev/sdb1 /mnt/usb1/