Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 05-03-2008, 09:41 AM   #1
Registered: Sep 2006
Posts: 34

Rep: Reputation: 15
messed up my usb disk

So I have a flash disk which I attempted to mount via:
mount -t ext3 /dev/sdc1 /media/usbdrive/
I guess I did that by habit. The problem is the disk was actually formatted as fat32.

Now I can't do anything with it. It won't mount. I cant fsck; fdisk doesn't work on it. Does anyone have any ideas? I thought maybe there was a way to write blocks directly to the device without mounting it.
Old 05-03-2008, 09:47 AM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,986
Blog Entries: 14

Rep: Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187
Did you verify it didn't actually mount? Your issue may simply be it is "busy" because it thinks it IS mounted. Try a umount on it.

If the device appears in your /dev list then you should be able to write to it using the dd command though I'm not quite sure what kind of blocks you want to write to it.u
Old 05-04-2008, 06:39 AM   #3
Registered: Sep 2006
Posts: 34

Original Poster
Rep: Reputation: 15
Thanks for the quick response, jlightner.

I did some experimenting, and it had several different behaviors. Usually the first time after boot, it would automount and I could do some stuff (such as reading or writing files) for a very limited time, then the device would dissapear. It's not just not mounted anymore: it's not in /dev/. If I unplug it and plug it back in, it doesn't show up again until I reboot. When working in recovery mode, it's the same behavior (except for the automounting - I mount it manually), and I get messages that are something like "Assuming write through" and "Logic error block N".

I think what I will try next is to reformat a good usb stick, then reboot and dd the good stick onto the bad stick.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logitech USB Headset volume control messed up. Archoniam Linux - Hardware 9 07-26-2008 02:56 AM
What size USB disk is boot rescue disk? Lufbery Slackware - Installation 11 12-02-2007 02:36 PM
I messed up my usb external disk auto-mounting alek66 Ubuntu 14 05-28-2007 11:11 AM
USB HDD majorly messed up! landfill Linux - Hardware 4 10-25-2005 09:42 PM
Messed up my hard-disk. mathi General 3 01-03-2001 02:15 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:08 AM.

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