How to format a USB stick on Fedora Core 10 Linux

Formatting a 16GB (Cruzer micro 16) USB Stick on Fedora 10.

Power up your Fedora machine and login then stick in USB stick.

Fedora 10 mounts USB device automatically.

Find the USB drives system name and mount point:

$ mount

~
/dev/sdb1 on /media/disk type vfat (rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=500)

Unmount USB disk:

$ umount /media/disk

Found that fdisk /dev/sdb1 didn’t work as a normal user so su to root:

$ su –
Password:

$ fdisk /dev/sdb1

Options:

p – to show partition
n – for new partition
defaults – take all the defaults until returned to “Command (m for help):”
w – to write the changes

I got some errors here but decided to try the mkfs.ext3 command anyway…

$ mkfs.ext3 -b 4096 /dev/sdb1

I noticed that fdisk ($ fdisk -l) still showed it as FAT32 but once I removed the stick and stuck it back in again (automatically mounted by Fedora) a right-click on the icon and a show of properties showed that it was ext3.

related articles



Comments are closed.