LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-29-2005, 08:44 AM   #1
Gogul
Member
 
Registered: Nov 2005
Posts: 112

Rep: Reputation: 15
Question Formating flash drives


I'm fairly new to Linux and I'm using Mandriva (aka Mandrake).

I haven't been able to work out how to format a Flash Drive

I've looked all the way through the configuration menu but the option doesn't seem to be available.

If it can be done from the shell then could someone please tell me how to do it?
 
Old 11-29-2005, 09:05 AM   #2
fatrandy13
Member
 
Registered: Jun 2004
Location: new jersey
Distribution: anything debian based, long live apt-get
Posts: 230

Rep: Reputation: 30
(assuming the device is mounted on /mnt/sda1)
if you want to just completely erase it, try this:

cat /dev/null > /mnt/sda1

this will blank out all info on the device...if you want to actually format is, try using cfdisk, its a simple and self explanitory program used for partitioning disks
 
Old 11-29-2005, 09:09 AM   #3
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
After using cfdisk to partition the drive, you'll also need to use mkdosfat or mkfs.vfat or something like that to actually format the partition.
 
Old 11-29-2005, 10:10 AM   #4
Gogul
Member
 
Registered: Nov 2005
Posts: 112

Original Poster
Rep: Reputation: 15
Thanks guys, I'll give it a try.

You can see I'm new to it lol.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard drives, formating help K-Hole Linux - Hardware 1 09-08-2005 04:29 PM
Formating Raid drives Protex Slackware 3 01-30-2004 12:06 PM
Flash Drives skidmarc General 1 10-22-2003 08:34 AM
Flash drives Stephanie General 7 02-07-2003 10:44 PM
formating and linking new drives jrclare Linux - General 4 10-05-2002 04:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration