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
- How to build a 7 node Raspberry Pi Cluster (June 27th, 2015)
- New Years Day tinkering… (January 1st, 2015)
- SoundCloud to ZOOM R8 file conversion (November 6th, 2014)
- Humanism & World Community Grid (August 19th, 2011)
- Using gnuplot to plot 3D graphs… (October 6th, 2009)