find your usb stick

lsblk 
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 111.8G  0 disk 
├─sda1   8:1    0 107.2G  0 part /
└─sda5   8:5    0   4.6G  0 part [SWAP]
sdb      8:16   1  29.1G  0 disk 
└─sdb1   8:17   1  29.1G  0 part /media/usb0
loop0    7:0    0   158M  1 loop /media/canoodle/pantheon_v2bmwmitw/videos
umount /dev/sdb1; # umount usb stick
fdisk /dev/sdb; # start partitioning program
# how hit those keys in a sequence
p; # list all existing partitions
d; # delete existing partition
n; # new partition
p; # primary partition
t; # set type of partition
b; # to fat32 Win95
w; # write changes to stick
mkfs -t vfat /dev/sdb1; # create fielsystem fat32
sudo apt-get install mtools; # install Tools for manipulating MSDOS files

sudo mlabel -i /dev/sdb1 ::32GBSTICK; # set new label
sudo mlabel -i /dev/sdb1 -s ::; # check label
mount /dev/sdb1 /media/usb0; # mount stick again

liked this article?

  • only together we can create a truly free world
  • plz support dwaves to keep it up & running!
  • (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
  • really really hate advertisement
  • contribute: whenever a solution was found, blog about it for others to find!
  • talk about, recommend & link to this blog and articles
  • thanks to all who contribute!
admin