Created
June 4, 2012 14:35
-
-
Save Jim-Holmstroem/2868761 to your computer and use it in GitHub Desktop.
Format usbstick to ext4
This file contains hidden or 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
df -T %to find the label of the usbstick (in this case /dev/sdd1) | |
sudo umount /dev/sdd1 | |
sudo mkfs.ext4 /dev/sdd1 | |
sudo e2label /dev/sdd1 memstick | |
sudo chmod 777 /media/memstick_folder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment