Reply
Thread Tools
promethh's Avatar
Posts: 211 | Thanked: 61 times | Joined on Aug 2007 @ Washington, DC
#1
I'm just sharing this for use by anyone else with Nokia N810 who wants to keep their apps on the miniSDHC card rather than the internal 250MB root partition. Better examples using mk2efs exist, but parted is easy enough for n00bs.

HOW-TO: Building ext2 partitions on Nokia N810

This is how to quickly and easily rebuild your miniSDHC card in a Nokia N810 into an ext2 partition for use as a true Linux (ext2) partition rather than a PC (fat32) partition without owner:group rwx permissions.
This will allow you to save and execute apps directly from the miniSDHC card. These same steps will also work in the internal 1.8GB (/dev/mmcblk2, aka /media/mmc1), but would require you to either backup/restore the maps or re-download them once rebuilt.

NOTES:
/dev/mmcblk1 from parted is the same as /dev/mmcblk1p1 and /media/mmc1 in terminal
/dev/mmcblk2 from parted is the same as /dev/mmcblk0p1 and /media/mmc2 in terminal
Lady_Silence below is the name of my Nokia N810 WiMax Edition, named after the esquimaux in Dan Simmon’s “The Terror”

STEP-BY-STEP HOW-TO using PARTED:
Code:
root@Lady_Silence:~ $ apt-get install parted
root@Lady_Silence:~ $ parted

(parted) select /dev/mmcblk1
Using /dev/mmcblk1
(parted) print 1                                                          

Minor: 1
Flags:
File System: fat32
Size:         8165MB (99.9%)
Minimum size: 33.7MB (0.41%)
Maximum size: 8169MB (100%)

(parted) mkfs 1 ext2      

(parted) print 1                                                          

Minor: 1
Flags:
File System: ext2
Size:         8165MB (99.9%)
Minimum size: 128MB (1.57%)
Maximum size: 8169MB (100%)

root@Lady_Silence:~ $ df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/mtdblock4            4.1M      3.5M    624.0k  85% /mnt/initfs
none                    512.0k    172.0k    340.0k  34% /mnt/initfs/tmp
/dev/mtdblock4          249.4M    203.4M     46.0M  82% /
none                    512.0k    172.0k    340.0k  34% /tmp
none                      1.0M     60.0k    964.0k   6% /dev
tmpfs                     1.0M         0      1.0M   0% /dev/shm
/dev/mmcblk0p1            1.8G      1.1G    715.4M  62% /media/mmc2
/dev/mmcblk1p1            7.6G    224.0k      7.6G   0% /media/mmc1
WARNING:
This is just a quick/easy/dirty way to repartition fat32 devices into ext2 on the Nokia N8×0 series of internet tablets. I do not assume responsibility for any damage you do to your Nokia, but it should work as advertised if you follow instructions. In the worst case, you’ll need to rebuild your Nokia N810 using the latest firmware.
__________________
Promethh
* promethh@xohm.com
* Nokia N810 WiMax Edition with Clear (formerly XOHM)
* Fujitsu U810 (120GB, XPT/OSX) with Sprint 4G (WiMAX)
* http://www.latheofdreams.com
 

The Following 2 Users Say Thank You to promethh For This Useful Post:
Reply

Tags
minisdhi, mk2efs, n810, parted


 
Forum Jump


All times are GMT. The time now is 02:29.