Download your favorite Linux distribution at LQ ISO.
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 10-26-2004, 12:11 PM   #1
Registered: Dec 2003
Location: Petaling Jaya
Distribution: Ubuntu
Posts: 475

Rep: Reputation: 31
Could Linux corrupt usb drive???


I just bought usb flash drive Samsung. The first time I use the things is in Linux. I mount it, copy the data, then umount it. Bring to friends house. Try to access. My friend use Windows. It asked the usb flash drive to be formatted. Ok... damn it. We formatted it. Then we copy the data from friends hd to usb. Then I bring it home. When I try to access from Windows in home, some data could not be read. Input output error. The thing is gonna be more crazy. After couple days, when I plug the usb into Windows machine, it detected perfectly. But we cannot access it. Even just explore it.

My usb flash drive is corrupted. I just wonder could Linux cause this ( kernel 2.6 )..... I heard Mandrake installer ( in past months ) could corrupted cdrom.... before.....
Old 10-26-2004, 01:00 PM   #2
LQ Newbie
Registered: Oct 2004
Location: Portland, OR USA
Distribution: mandrake 9.2/fc2
Posts: 13

Rep: Reputation: 0
I suppose it is possible, maybe, for linux to corrupt the drive, maybe. as far as the issue with mandrake and cd-rom drives mandrake was using an i/o command that for SOME drives overwrote the firmware, as far as i know this has not happened with thumbdrives. I am of course infering from "usb flash drive" you are using a thumbdrive.

To fix your thumbdrive all you have to do is insert it, if it auto mounts issue command

$ umount /dev/sda

after umount or if you don't need to unmount the drive than proceed

$ fdisk /dev/sda

follow the on screen help section to create a empty file table then create a new partition, not an extended one, then write table to drive. now you want to format the partition. if you will be loading files, or viewing them, from a windoze box you will want to use some type of "fat" format

$ mkfs -t vfat /dev/sda

if you want to use a different fs (file system) type the following command and chose one

$ man mkfs

The reason the you are having to do all of this is because many thumbdrives are shipped with file tables that are screwed to you know where. windoze does not have a issue with this but *nix does. so by following the above instructions you will create a valid file table that everybody will be happy with.

Please do not be offended if i have given dumbed down instructions--you may know what you're doing but someone at some time will search for this issue and they might not know as much.
Old 10-26-2004, 08:01 PM   #3
Registered: Dec 2003
Location: Petaling Jaya
Distribution: Ubuntu
Posts: 475

Original Poster
Rep: Reputation: 31
You know sometimes, in Linux, /dev/sda is missing.... so I cann't umount it, I cann't copy the data......

What do you think? Thank for your tip.
Old 10-26-2004, 10:34 PM   #4
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
It is possible that the USB drive is physically defective.
Old 12-03-2004, 07:03 AM   #5
LQ Newbie
Registered: May 2004
Location: Tennessee, USA
Posts: 19

Rep: Reputation: 0
I know this thread's kind of old, but maybe somebody will see it.

My camera uses a smart media card, and I have had several go bad after reading them in Linux through a Dazzle USB media reader. Took me about 4 messed up cards to figure out that Linux was the culprit. It seems worse with Suse 9.1. Maybe it's t he 2.6 kernel.

Anyway, I'm never exposing my smart media cards to Linux again.
Old 12-07-2004, 11:58 AM   #6
Registered: Sep 2003
Location: Copenhagen, Denmark
Distribution: PC-BSD, PCLOS, MeeGo, Win 7
Posts: 189

Rep: Reputation: 30
Sure, I lost 50% of my USB ram-drive on Mandrake.


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
Linux on a USB hard drive without USB-FDD BIOS option jaro Linux - Hardware 1 07-15-2005 02:12 AM
USB drive using different partitions (usb key thumb drive) Arodef Linux - Hardware 0 08-04-2004 06:36 PM
Linux on a USB hard drive without USB-FDD BIOS option jaro Linux - Hardware 6 05-27-2004 11:49 AM
Corrupt Hard Drive?? Memzback Linux - Newbie 2 04-12-2004 05:59 PM
Large Files become Corrupt when copied to cd or usbpen drive shepper Linux - Hardware 4 11-08-2003 10:20 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:43 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