LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-09-2006, 11:24 AM   #1
dadriver
LQ Newbie
 
Registered: Jan 2006
Posts: 5

Rep: Reputation: 0
how to get rid of a "full-disk filesystem"


i accidentally formated my whole usb-disk instead of a partition with "mkdosfs -I /dev/sda".
i tried to use fdisk to get rid of the filesystem but it didnt work. everytime i plug in the disk, the filesystem gets mountet but i cant read or write on it. could anybody tell me how to solve this problem? thanks
 
Old 03-09-2006, 11:57 AM   #2
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,499
Blog Entries: 2

Rep: Reputation: 68
1.Plug your usb-stick, let the system mount it.
2.Umount it.
3.Create a new partition on it. Mine looks like:
Code:
gold:~ # fdisk -l /dev/sdd

Disk /dev/sdd: 521 MB, 521142272 bytes
32 heads, 32 sectors/track, 994 cylinders
Units = cylinders of 1024 * 512 = 524288 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *           1         994      508911+   6  FAT16

gold:~ #
4. Create a dos filesystem on it

I hope this works,
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to get rid of "warning : implicit declaration of function 'getpid' " ? diodio Linux - Newbie 6 02-01-2006 02:47 PM
How to get rid of 30 sec delay "loading grub stage2"? deh6 Linux - General 13 09-07-2005 09:48 AM
When "function pointer" meets "template"... I can't get rid of this compiling er cyu021 Linux - Software 3 12-17-2004 07:52 PM
get rid of the "Local Network" icon on Desktop hand of fate Linux - Software 0 08-22-2004 05:51 AM
"YOU" says "could not write server list to disk" dushkinup Linux - Distributions 4 07-26-2004 12:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:22 PM.

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