View Single Post
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#60
Originally Posted by jayholler View Post
When using sfdisk, it says that if you make a DOS partition you need to

dd if=/dev/zero of=/dev/mmcblk1p1 bs=512 count=1
Not sure if this is still needed. This is historic issue related to bug in old ms-dos format.exe and/or fdisk.exe commands. They were too clever and were confused by previous data in the partition. I guess you can skip it but it shouldn't hurt.

If it hurts then something is seriously wrong, did you really used /dev/mmcblk1p1 and not /dev/mmcblk1 with dd command?

Originally Posted by jayholler View Post
So, I tried next to only make one 2GB partition for ext2.
This is not good idea, default Nokia system expects first partition on card being FAT, if you insist on this you will need to modify few things or it will complain or fail.
Originally Posted by jayholler View Post

I try to mount /dev/mmcblk1p1, and there is nothing there.

sfdisk -l /dev/mmcblk1 says:

"sfdisk: ERROR: sector 0 does not have an msdos signature
/dev/mmcblk1: unrecognized partition
No partitions found"
This is the problem, looks like partitioning by sfdisk somehow doesn't work for you (or you erased if via bad dd above). Can you repartition card in desktop linux via usb card reader?

Originally Posted by jayholler View Post
I am not sure where to go from here. I am using an N800, and trying to use the external MMC so I can still utilize the swap built into the OS on the internal MMC.
You can use swap on internal card partiton 1 (FAT) and still boot from partition 2 (ext2) on same card. This is IMHO the best setup. Then you have external slot completely free for other cards.
Originally Posted by jayholler View Post
Perhaps I have a bad card, or messed it up somehow with all this partitioning from the device?
Yes, I'd guess some problem with partitioning the card. Try also 'dmesg' command to see kernel log, if you don't see i/o errors card is probably not bad.