Reply
Thread Tools
Posts: 34 | Thanked: 0 times | Joined on Dec 2010 @ U.A.E
#1
I had partitioned my n900' s emmc to install neopwn v2.
Neopwn got installed successfully but now im facing problems of no space in rootfs!
I can't uninstall/download apps frm app manager..can't delete repositories nothing at all!

I searched and tried all the different ways described by the members here..but none helped

Now thinking of flashing My device emmc and firmware..
So just wanted to know if flashing the emmc will restore the emmc to stock 27/28gb or not??..because I had partioned it for 6gb!

thnx!!
 
Boemien's Avatar
Posts: 770 | Thanked: 558 times | Joined on Mar 2010 @ Abidjan
#2
Flashing it with the original emmc image provided by nokia will resolve your problem.
Just enter your IMEI here : http://tablets-dev.nokia.com/nokia_N900.php
and download the correct emmc image.
 

The Following User Says Thank You to Boemien For This Useful Post:
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#3
Also it will not change the disk geometry, so your changes will persist.
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Posts: 34 | Thanked: 0 times | Joined on Dec 2010 @ U.A.E
#4
Originally Posted by michaaa62 View Post
Also it will not change the disk geometry, so your changes will persist.
huh! but I don't want the current changes to persist..
I want to make sure whether flashing the emmc will give Me out-of-box state?

thx!
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#5
Originally Posted by zohal View Post
huh! but I don't want the current changes to persist..
I want to make sure whether flashing the emmc will give Me out-of-box state?

thx!
Why would one want to do that??? Just change the My docs and /home partitions like in wiki solution #1 once again and you are of with a 6GB /opt filesystem for installable applications and some 24 GB partition for myDocs, which will you give enough space for your files.
Well, if you really want go the nokia path again, then follow the instructions in the wki to revert those changes alltogether and apply the old partition table.
How to revert

Warning: /home must have less than 2 GB usage! MyDocs will be deleted!
Code:
umount /home/user/MyDocs
sfdisk -c /dev/mmcblk0 1 83 # optional (safer): change FAT to ext3 id 
mkfs.ext3 /dev/mmcblk0p1 # create ext3 on smaller partition
mount /dev/mmcblk0p1 /mnt # mount new /home
cp -a /home/* /mnt # copy contents of /home to large partition
umount /mnt # unmount it
create the file "table" (this is the original layout):
Code:
unit: sectors
/dev/mmcblk0p1 : start=       64, size= 56631296, Id=c
/dev/mmcblk0p2 : start= 56631360, size=  4194304, Id= 83
/dev/mmcblk0p3 : start= 60825664, size=  1572864, Id=82
/dev/mmcblk0p4 : start=        0, size=        0, Id= 0
continue with
Code:
sfdisk --no-reread /dev/mmcblk0 < table # change partition table, swap p1 and p2
Code:
reboot; exit # reboot to re-read new table
after reboot
Code:
mkfs.vfat -F32 -s64 /dev/mmcblk0p1  # create VFAT on 27GB partition
Code:
mount /home/user/MyDocs # mount it
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Posts: 34 | Thanked: 0 times | Joined on Dec 2010 @ U.A.E
#6
Originally Posted by michaaa62 View Post
Why would one want to do that??? Just change the My docs and /home partitions like in wiki solution #1 once again and you are of with a 6GB /opt filesystem for installable applications and some 24 GB partition for myDocs, which will you give enough space for your files.
Well, if you really want go the nokia path again, then follow the instructions in the wki to revert those changes alltogether and apply the old partition table.
I was trying it but I get stuck at " create the file 'table' "
how do I do that step??

Im kinda noob at this
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#7
Use a hex editor on the eMMC image and change the size from 2048 to something you want (multiply 1024 * number you want), I suggest not going over 9GBs since that will change the image's size and make it unflashable.
 

The Following 2 Users Say Thank You to MohammadAG For This Useful Post:
Posts: 34 | Thanked: 0 times | Joined on Dec 2010 @ U.A.E
#8
Originally Posted by MohammadAG View Post
Use a hex editor on the eMMC image and change the size from 2048 to something you want (multiply 1024 * number you want), I suggest not going over 9GBs since that will change the image's size and make it unflashable.
Thx for the reply!
but I want to change it back as it was out of the box new.
I did this partition to install neopwn v2 on emmc..now I regret it!

So will flashing the emmc make it like new??

thx!
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#9
If you flash the eMMC image yes, you could also use the MeeGo initrd image, then press U and export the eMMC over USB, then you can use any partition manager like gparted to restore partitions.

Not sure if it's documented anywhere, but here's the page for the initrd, it's quite simple to do and doesn't require you to flash the device's eMMC or rootfs, just make sure you have a full battery before doing it. http://wiki.meego.com/ARM/N900/Using_Rescue_Initrd

And before you ask, no, it does not alter the rootfs or the kernel, it runs from RAM.
 

The Following User Says Thank You to MohammadAG For This Useful Post:
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#10
Originally Posted by zohal View Post
I was trying it but I get stuck at " create the file 'table' "
how do I do that step??

Im kinda noob at this
Either you use any text editor like nano, vi or leafpad, or you just use the echo command like there: http://talk.maemo.org/showpost.php?p=895503&postcount=8
Please note this not the partition table you probally want to achieve!
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Reply


 
Forum Jump


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