Author Topic: sd card bad format  (Read 3586 times)

demolay

  • Newbie
  • *
  • Posts: 5
    • View Profile
sd card bad format
« on: August 04, 2004, 10:44:43 am »
now i have another problem, with my sd card.
the fact is that i didn't formatted or partitioned it right.read the manual!!

it says with
#fdisk /dev/mmcda

Device contains neither a valid DOS partition table,nor Sun...
Building a new DOS disklabel.changes will remain in memory only,until you decide to write them
Warning:invalid flag 0X000 pf partition table will be corrected by w(rite)

pressed "w" and if i reboot and it hangs.probably because the partitioning isn't ok.

instead of rebooting i tried to make fat 16 fs after ioctl() reread the partition table
mkfs.msdos /dev/mmcda1
but it gives:
mkfs.msdos 2.8 (28 Feb 2001)
mkfs.msdos:Attempting to create a too large file system

(of course also ext.2 formatting gave no other response than this:
Device size reported to be zero.invalid partition specified,or partition table wasn't reread
after runnning...i have to reboot)

(also vfat formatting:Attempting to create a too large file system)


after ioctl i tried also
umount /dev/mmcda1
fdisk /dev/mmcda
but both give "unable to read /dev/mmcda" so i can't figure out how to make things work

so i figured why the hell do you want to write something you can't use, so instead of typing
w(rite) ,i chose d(elete) and there it says "bus error"  
 
has anyone have  suggestions for avoiding the shop?

demolay

  • Newbie
  • *
  • Posts: 5
    • View Profile
sd card bad format
« Reply #1 on: August 06, 2004, 02:35:43 pm »
by the way i have an Apacer 128 MB card, and no solution yet
thanks for helping me out!

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
sd card bad format
« Reply #2 on: August 07, 2004, 05:14:11 am »
I don't even know which ROM you're running.

Get a different version of fdisk.

Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

loji

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • http://
sd card bad format
« Reply #3 on: September 16, 2004, 06:25:00 pm »
just go and get a card reader from someplace ... nay camera store will sell them, becasue tons of cameras use SD cards...   You can mount and unmount it from any computer then.. (linux, mac, or even M$)
You'll be able to format it then
-> pdaXrom beta 3 fixes & feeds
C-1000 + pdaXrom beta3
linksys wifi + expansions