Active Topics

 


Reply
Thread Tools
Posts: 39 | Thanked: 12 times | Joined on Jan 2009
#1
Hey all, I was playing with NITdroid on my N810 during the first go 'round and gave up waiting for sound and bluetooth to work. As part of the setup, I needed to alter the partition table to make room for NITdroid. Now that I'd like to go back to a pure Maemo install, I'm at a loss on how to completely wipe the internal card and go back to one partition. I have the Windows installer (and Linux flasher) and Diablo firmware ready to go. I have XP, 7, and Linux boxes galore.

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.
 
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#2
What happens if you copy and paste this entire block, including the two blank lines into the terminal?

Code:
umount /media/mmc2
sfdisk /dev/mmcblk0 << EOF
1,,6


EOF
mkdosfs /dev/mmcblk0p1
shutdown -r now
 
Posts: 39 | Thanked: 12 times | Joined on Jan 2009
#3
It failed to mount. I used type 0c of W95 vfat LBA since that was the original partition type that shipped with the unit.

Code:
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
EDIT: I changed the partition type code back to 0c and the rest of your command worked great. I can now see all 2GB. Thanks!

Last edited by EasternPA; 2011-03-24 at 12:57.
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:17.