Skip to content

Instantly share code, notes, and snippets.

@Jim-Holmstroem
Created June 4, 2012 14:35
Show Gist options
  • Save Jim-Holmstroem/2868761 to your computer and use it in GitHub Desktop.
Save Jim-Holmstroem/2868761 to your computer and use it in GitHub Desktop.
Format usbstick to ext4
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