Bought an 8GB Sandisk C4 MicroSDHC card to use with the chumby.
[261960.474288] sd 6:0:0:1: [sdc] 3854336 512-byte logical blocks: (1.97 GB/1.83 GiB) [261960.487488] sdc: sdc1 sdc2 sdc3 sdc4 < sdc5 sdc6 > iofiel% fdisk -l /dev/sdc Disk /dev/sdc: 1973 MB, 1973420032 bytes 5 heads, 4 sectors/track, 192716 cylinders Units = cylinders of 20 * 512 = 10240 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdc1 1 14670 146697+ 53 OnTrack DM6 Aux3 /dev/sdc2 1563 14063 125000+ 83 Linux /dev/sdc3 14063 26563 125000+ 83 Linux /dev/sdc4 26563 192308 1657444 5 Extended /dev/sdc5 26564 39063 124998+ 83 Linux /dev/sdc6 39064 192308 1532441+ 83 Linux iofiel% dd if=/dev/sdc of=chumby2G.img 3854336+0 records in 3854336+0 records out 1973420032 bytes (2.0 GB) copied, 119.449 s, 16.5 MB/s iofiel% eject sdcAnd the new card...
[262427.694384] sd 7:0:0:1: [sdc] 15523840 512-byte logical blocks: (7.94 GB/7.40 GiB) iofiel% dd if=chumby2G.img of=/dev/sdc 3854336+0 records in 3854336+0 records out 1973420032 bytes (2.0 GB) copied, 1041.09 s, 1.9 MB/s You have new mail. iofiel% sync iofiel% eject sdcPlug back in...
[263569.155489] sdc: sdc1 sdc2 sdc3 sdc4 < sdc5 sdc6 > iofiel% sudo fdisk /dev/sdc WARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to sectors (command 'u'). Command (m for help): p Disk /dev/sdc: 7948 MB, 7948206080 bytes 5 heads, 4 sectors/track, 776192 cylinders Units = cylinders of 20 * 512 = 10240 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdc1 1 14670 146697+ 53 OnTrack DM6 Aux3 /dev/sdc2 1563 14063 125000+ 83 Linux /dev/sdc3 14063 26563 125000+ 83 Linux /dev/sdc4 26563 192308 1657444 5 Extended /dev/sdc5 26564 39063 124998+ 83 Linux /dev/sdc6 39064 192308 1532441+ 83 Linux Command (m for help): v Warning: partition 1 overlaps partition 2. Warning: partition 1 overlaps partition 3. Remaining 11677702 unallocated 512-byte sectors Command (m for help): d Partition number (1-6): 4 Command (m for help): n Command action e extended p primary partition (1-4) e Selected partition 4 First cylinder (26563-776192, default 26563): Using default value 26563 Last cylinder, +cylinders or +size{K,M,G} (26563-776192, default 776192): Using default value 776192 Command (m for help): n First cylinder (26564-776192, default 26564): Using default value 26564 Last cylinder, +cylinders or +size{K,M,G} (26564-776192, default 776192): 39063 Command (m for help): n First cylinder (39064-776192, default 39064): Using default value 39064 Last cylinder, +cylinders or +size{K,M,G} (39064-776192, default 776192): Using default value 776192 Command (m for help): v Warning: partition 1 overlaps partition 2. Warning: partition 1 overlaps partition 3. Remaining 7 unallocated 512-byte sectors Command (m for help): p Disk /dev/sdc: 7948 MB, 7948206080 bytes 5 heads, 4 sectors/track, 776192 cylinders Units = cylinders of 20 * 512 = 10240 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdc1 1 14670 146697+ 53 OnTrack DM6 Aux3 /dev/sdc2 1563 14063 125000+ 83 Linux /dev/sdc3 14063 26563 125000+ 83 Linux /dev/sdc4 26563 776192 7496291+ 5 Extended /dev/sdc5 26564 39063 124999+ 83 Linux /dev/sdc6 39064 776192 7371288 83 Linux Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. iofiel% resize2fs /dev/sdc6 resize2fs 1.41.12 (17-May-2010) resize2fs: Bad magic number in super-block while trying to open /dev/sdc6 Couldn't find valid filesystem superblock.Ok, not quite as planned. Parted also can't seem to cope with the funky overlapping first partition. So I'm trying fdisk. I have a dump of /mnt/storage, so I made a new ext3fs and restored the files. Reassemble partly, power up and hold breath...
chumby:~# dmesg -c gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #1 PREEMPT Tue Mar 2 16:09:35 PST 2010 [ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine: STMP378X ... [ 1.530000] Waiting for root device /dev/mmcblk0p2... [ 1.580000] mmc0: new SDHC card at address e624 [ 1.590000] mmcblk0: mmc0:e624 SU08G 3.40 GiB [ 1.590000] mmcblk0: p1 p2 p3 p4 < p5 p6 > ... chumby:~# df -h Filesystem Size Used Available Use% Mounted on /dev/mmcblk0p2 118.2M 97.1M 15.0M 87% / tmpfs 29.3M 640.0k 28.7M 2% /tmp none 32.0M 60.0k 31.9M 0% /var none 32.0M 0 32.0M 0% /mnt /dev/mmcblk0p5 122.0M 4.1M 111.8M 4% /psp /dev/mmcblk0p6 6.9G 247.8M 6.3G 4% /mnt/storage none 32.0M 44.0k 32.0M 0% /devOk, now I should have a new card to play with, a backup image, and the old card to boot in case of bricking incidents.