Skip to content

Change filesystem on USB stick


The usb stick is /dev/sda it has two partitions with fat file systems .

overwriting ( mkfs.ext3 /dev/sda1 ) did not work.

unmount (if not done before) the partions of the pendrive

clean the partition table with  fdisk /dev/sda . (use m for help) , create a new partition , write it back to disk.

then run mkfs.ext3 /dev/sda1

set the label    with    e2label /dev/sda1 usbStick

get the new guid      ls -laF /dev/disk/by-uuid   and change the guid in /etc/fstab if you mount the drive there.


From → RaspberryPi

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: