[Desire Q&A, Help & Troubleshooting] pyko:
Quick summary:

Recently got new SanDisk 16GB MicroSD and used CWM 5.0.2.0 to create a 1024mb ext partition. It says "successful" but I don't think it really did successfully create the ext partition. Tried to partition manually using 'parted' with no luck.

Any ideas/suggestions on how to partition properly?

Gory details...

Using HTC Desire GSM that is already S-OFF-ed and running InsertCoin 1.0.8 (on old 2GB sd card).

With arrival of new SD card I thought great, upgrade to InsertCoin 1.1.1 (was going to go for 1.1.3 but saw that it had a couple of problems)

Done it all before, easy enough I thought...

* Swap SD Cards

* Format SD with 1024mb ext, 0mb swap via CWM (originally using older than v5)

* Wipe settings, wipe cache, wipe dalvik cache

* Put Insertcoin zip onto sd card

* Install & reboot

Then it hung...forever on reboot (forever being 30min+)

Tried the above couple of times (eg. upgrade CWM) etc... and even tried putting the old 1.0.8 on - but still nothing just hung on boot screen. Put old SD card back in, and everything worked again (lost settings etc, but it booted up into Android)

So I started investigating and ended up looking into the partitioning of the new SD card....

Here is the output of "print" from "parted"

Model: SD (sd/mmc)
Disk /dev/block/mmcblk0: 16.3GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 512B 15.3GB 15.3GB primary fat32 lba
2 15.3GB 16.3GB 1024MB primary

(note the missing 'ext3' under file system for partition 2)

So I then upgraded to latest CWM (as per their website) then tried the partition again... same result as above.

Then I went and followed manual partitioning tutorials (eg. http://xdaforums.com/showthread.php?t=534714, and a couple of others on the web) and still "print" gave the above output.

With the manual partitioning, I thought, maybe it's just silently not showing ext2 but it really is ext2, will just upgrade it to ext3 and see if it'll show ext3...

So I ran "sdparted --upgradefs ext3" (for some reason upgrade_fs could not be found)... and that failed, giving:

checking script requirements...done
unmounting all partitions...done

you have chosen to upgrade /dev/block/mmcblk0p2 to ext3.
this action will NOT delete any data from sdcard.

do you want to continue? (Y/n) Y

adding journaling to /dev/block/mmcblk0p2.../sbin/e2fsck: Bad magic number in super-block while trying to open /dev/block/mmcblk0p2
/sbin/tune2fs: Bad magic number in super-block while trying to open /dev/block/mmcblk0p2
Couldn't find valid filesystem superblock.
done

So, now all I can think of is for whatever reason, the ext partition isn't being created properly on my sd card, thus the reason it is hanging on boot screen (read somewhere that if you don't have an ext partition, it will never get past boot screen).

Reason I believe the ext partition isn't being created properly is because in all tutorials they all have "ext2 or ext3" in the output. Even more so, checking my old SD card I get the following:

Model: SD 00000 (sd/mmc)
Disk /dev/block/mmcblk0: 2003MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 979MB 979MB primary fat32 lba
2 979MB 2003MB 1024MB primary ext3

(Note: old SD card has ext3... this was partitioned using CWM)

Am I missing something super obvious? or doing something wrong?

How am I meant properly create an ext3 partition (and make sure it has been created) on the SD card?

Any help would be greatly appreciated!!!

Thanks!!!

pyko

ps. not sure if this fits in this forum... but it is a question regarding my htc desire...