Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I realise this is not strictly a problem to do with Linux. However, if there is a solution, I am convinced it must lie there somewhere.
I have an SD card which is a bit of a nomad. I use it on my Palm, in my camera and with card readers to transport files. Ones when transferring some pictures from the camera, I was silly and used a Windows machine. I was too quick in removing the SD card and it subsequently failed to be recognised anywhere (Camera, Palm PCs).
I tried to use my Suse box, but it fails to mount and even fdisk fails. It can't read the partition table and exits with an error. I know I'm using the correct device and the installation is correct since I can see the files on a different SD card I have.
Do anyone know of any other tricks to try to resuscitate a seemingly dead SD card?
It is normal that fdisk will give you an error that there is no partition table information. Assuming the SD card does not have any valuable data. Do what ever it saids to continue and make the partition. If you have valuable data on it, use dd to make an image. Then use losetup to pretend that its a storage device. Next use either sfdisk or gpart to figure out where the start and end of the partition. The create the partition with the information given.
SD cards uses flash memory which has a few hundred thousand writes. The FAT filesystem really puts a huge strain on flash memory, because it writes multiple times for every file or directory. The best way to increase flash memory or slow down the strain that filesysem put on it is to use one big file like an image. Then mount the image, but neither camera or Windows has that ability.
Flash mediums are just like floppies, so treat them the same.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.