Author Topic: Problems Partitioning A Sd Card With Fdisk On C1k  (Read 1757 times)

fe^

  • Newbie
  • *
  • Posts: 1
    • View Profile
Problems Partitioning A Sd Card With Fdisk On C1k
« on: November 05, 2005, 09:34:39 pm »
I just bought a sandisk 1 gb sd card for my c1000.
But i cant properly partition my sd card:
first thing that doesn't figure is how the card is differently seen by my
gentoo desktop's fdisk (using pc-link over usb in storage mode) and by zaurus' one.

desktop -->
Disk /dev/sda: 1015 MB, 1015644160 bytes
32 heads, 61 sectors/track, 1016 cylinders
Units = cylinders of 1952 * 512 = 999424 bytes

zaurus -->
Disk /dev/mmcda: 1015 MB, 1015808000 bytes
32 heads, 63 sectors/track, 984 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes

you can notice different number of cylinders, sectors and consequently size.

if i try to create a partition with zaurus' fdisk, then i can't mount it on my desktop
because fdisk returns: invalid partition table.
if i try to create a partition with desktop's fdisk, then it is seen as
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        1016      991585+  83  Linux
while zaurus' fdisk sees it as
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        984      991840+   6  FAT16
refusing to mount it, because it thinks it's FAT16 when in fact it's ext2

I don't see a way out of this, so if anyone got a clue, please.