LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   File system on SD (Secure Digital) card (https://www.linuxquestions.org/questions/linux-newbie-8/file-system-on-sd-secure-digital-card-538637/)

kouznetsov 03-19-2007 12:08 AM

File system on SD (Secure Digital) card
 
I have a digital camera and an mp3 player, those use SD card to store data. Accidentally, I've corrupted the original file system on the card (I took it out wile laptop was writing data). After that I used fdisk to create the file system:
o - create a new dos table
n - add a new partition
p - primary
1
t - toggle ID (to 6, that is FAT16)
w - write

After that I formatted new partition with mkfs.msdos. I copied music to it, but neither my player nor camera could see the files. (Linux could see those and play). Camera said that the file system was corrupted. When I formated the media in windows XP, everything was OK.

The question is how I can format the media in Linux that player/camera can see it?

SactoBob 03-19-2007 12:27 AM

For purely pragmatic reasons, why not just put the card back into your digital camera and let the camera format the card the way it likes it?

kouznetsov 03-19-2007 09:28 AM

Well, of course, I can format the media using my camera or windows xp at this moment (and actually I've solved the problem for now this way). But it is not very convenient: maybe I'll buy a camera with xD card in future and my neighbor with windows will move somewhere :) Besides, I'm just curious.


All times are GMT -5. The time now is 10:34 AM.