Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.....
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.
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.