Author Topic: Partition Sd 4gig - Hmmm  (Read 9371 times)

loji

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • http://
Partition Sd 4gig - Hmmm
« on: October 26, 2006, 12:38:19 am »
I just got a new 4 gig card  YAY!!   now I want to partition it, so I have a vfat partition, and an ext2 partition ...

I'm using fdisk as shipped with pdaXrom beta3 - I have replaced the SD driver with the newer tetsu/cresho one (from the newer 3200 series)

I fdisk /dev/mmcda

and create two new partitions. (at cylinders 1600 and 2407)

This should give me two partitions roughly 3 gigs and 1 gig .. or close enough.

then I use the type option to set primary partition 1 to type 6 (fat16) and primary partition 2 to type 83 (linux)

Then I do mkfs.msdos /dev/mmcda1
and a mkfs.ext2 /dev/mmcda2

mkdir /mnt/ext2

a mount -t ext2 /dev/mmcda2 /mnt/ext2 fails with a generic error .. wrong fs, too many mounted file systems ... etc ...  Not sure why this is happening. . .

And when I put the SD card into my windows machine, it only reconizes 1 gig. (.99 to be exact) I figured this was because of choosing fat16 and a limitation. so I chose hex option b (fat32) the next time I fdisked the card ... and still the same problem.


I have since re-built the partition info, and formatted in windows to get the full 4gigs in vfat. However -- I don't like that it didn't work ... I followed all the instructions I've found perfectly, and I understand what it is doing and how it's happening ... but I don't see where my error is occuring.

Anyone else have some input that might help me out on this? I would like to install GIMP + extra brushes on the SD card since I don't have enough room for it internally.


Thanks!  
-> pdaXrom beta 3 fixes & feeds
C-1000 + pdaXrom beta3
linksys wifi + expansions

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Partition Sd 4gig - Hmmm
« Reply #1 on: October 26, 2006, 02:47:43 am »
keep it simple, as far as I can tell, lots of things are buggy
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

loji

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • http://
Partition Sd 4gig - Hmmm
« Reply #2 on: October 26, 2006, 04:26:47 am »
it's only creating two partitions ... I was originally going to do 3 and use swap at the end of the drive ... but /dev/mmcda3 wasn't being crated, so I said screw it.

Also is using fdisk going through the SD driver? I suppose it would have to be. . . I could change it back to the pdax_mmc and try that I suppose ... but I find it very strange that i can't get the partitions created correctly . . .   I thought maybe I use using outdated tools or something. .


or do you mean to keep my explination simple? I was writing a tutorial as I was working, so I can post each and every keystroke if nessacary. . . I'm driving cross country in a couple days .. so I'm not sure how much time I'll have to play .. but I'll try to track down what's going on.   thanks!
-> pdaXrom beta 3 fixes & feeds
C-1000 + pdaXrom beta3
linksys wifi + expansions

corecoder

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • http://patternsemerge.home.mindspring.com
Partition Sd 4gig - Hmmm
« Reply #3 on: October 26, 2006, 07:26:27 am »
I have a 4gig no-name brand. I partitioned it the same way you did and it works except for the 1.1g dos partition doesn't work thru my external card reader. It does work if I use a CF adapter and put it in the CF reader.

The ext2 partition probably doesn't work because of the block size. There was another thread here that stated you could 'mke2fs -b 1024 /dev/mmcda2' and it works, at least for me.
SL-C860 Original Sharp ROM (Flash back and forth wit RC5)/Pocket Workstation
4gb/1gb/340mb MicroDrives
1gb/512/256 SD cards
CampactLAN
Ambicom wireless LAN
Pretec Bluetooth
Ambicom Modem
PocketTop IR keyboard
2X-5500 Orginal ROM/OZ3.5.1

loji

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • http://
Partition Sd 4gig - Hmmm
« Reply #4 on: October 26, 2006, 12:46:20 pm »
Well I tried to change the bitsize of the ext2 partition ... and it's still giving me the same error .... I tried these same commands on a 1 gig SD card I had prior ot this,and it's working on that card ... so I think that the size is an issue .... the print option of fdisk shows that it's seeing 4 Gigs. however it shows 128704 cylinders while the 1 gig card shows 167680 cylinders ... that's because the size of each is much smaller on the 1 gig than the 4 gig. (12 * 512 as opposed to 64 * 512)

it's driving me a little batty ::  I can't figure out where it's having trouble.

I tried switching the order of the partitions .. making the primary 1 the ext2 and the second as vfat ... and now I am able to mount -t ext2 /dev/mmcda /mnt/ext2 fine ... however I get the same error when I try to do mount -t vfat /dev/mmcda2 /mnt/card   --- so it seems the end of the card isn't happy mounting ... grrr what causes this?
-> pdaXrom beta 3 fixes & feeds
C-1000 + pdaXrom beta3
linksys wifi + expansions

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Partition Sd 4gig - Hmmm
« Reply #5 on: October 26, 2006, 08:07:52 pm »
guess it wont wwork with this card.  there are tons of hidden issues.
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

loji

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • http://
Partition Sd 4gig - Hmmm
« Reply #6 on: October 27, 2006, 12:33:10 am »
do you mean issues with the driver ?  or with this version of fdisk? Sandisc Ultra cards are common enough I would assume they are supported
-> pdaXrom beta 3 fixes & feeds
C-1000 + pdaXrom beta3
linksys wifi + expansions

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
Partition Sd 4gig - Hmmm
« Reply #7 on: October 27, 2006, 12:50:39 am »
Just saying that not all of them work.  Some people report great success while others fail.
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software