|
2011-03-24
, 06:41
|
Posts: 875 |
Thanked: 918 times |
Joined on Sep 2010
|
#2
|
umount /media/mmc2 sfdisk /dev/mmcblk0 << EOF 1,,6 EOF mkdosfs /dev/mmcblk0p1 shutdown -r now
|
2011-03-24
, 12:53
|
Posts: 39 |
Thanked: 12 times |
Joined on Jan 2009
|
#3
|
Nokia-N810-43-7:~# df -h Filesystem Size Used Available Use% Mounted on /dev/mtdblock4 4.0M 2.6M 1.4M 65% /mnt/initfs none 512.0k 88.0k 424.0k 17% /mnt/initfs/tmp /dev/mtdblock4 249.5M 231.9M 17.6M 93% / none 512.0k 88.0k 424.0k 17% /tmp none 1.0M 52.0k 972.0k 5% /dev tmpfs 1.0M 0 1.0M 0% /dev/shm Nokia-N810-43-7:~# sfdisk -l Disk /dev/mmcblk0: 61440 cylinders, 4 heads, 16 sectors/track Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/mmcblk0p1 1 61439 61439 1966048 6 FAT16 /dev/mmcblk0p2 0 - 0 0 0 Empty /dev/mmcblk0p3 0 - 0 0 0 Empty /dev/mmcblk0p4 0 - 0 0 0 Empty Nokia-N810-43-7:~# mount /dev/mmcblk0p1 /media/mmc2 mount: mounting /dev/mmcblk0p1 on /media/mmc2 failed
It seems the Windows install leaves the partition table alone so I need to blow it away. Would blowing away the partition table over USB work? Or should I do it at the command line and reboot into the installer? I'm stuck with a big, empty partition and a Maemo install that is constantly running out of space.
Separately, I'm also interested in your thoughts as to how you would setup a freshly loaded N810 if you wanted to show Maemo off to someone. For the next year or two, I'd like to focus on learning Canola2 and maximizing my use and support of OpenStreetMap, not only using it as a car navigation system, but contributing tracklogs as well.
Thanks for any tips you can offer, starting with blowing away the partition I set aside for NITdroid!
EDIT: Okay, I did some more reading, notably http://www.vinc17.org/maemo/partition.en.html
and I decided to enter
0 61440 0c
to make one huge partition type 0c. Then I cleared the first 512 bytes as recommended and then mkfs.vfat before rebooting.
EDIT 2: That worked, but the partition only showed up with 1GB free. I thought these were 2GB cards. I haven't done the math on 61440, so I don't know what it was supposed to show.
Last edited by EasternPA; 2011-03-23 at 20:46.