Active Topics

 


Reply
Thread Tools
Posts: 268 | Thanked: 1,053 times | Joined on May 2010 @ The Netherlands
#201
Originally Posted by cedlmw View Post
Thanks a lot for this! I was just wondering whether this could brick your device..?
Well, since PR1.2, Maemo gets into an infinite reboot loop when it can't mount /home. The method involves moving /home. If you mess up the entries in genfstab.awk and/or rcs_late, or maybe the copy of the home directory, it could be that Maemo can't mount home, resulting in a 'bricked' device.

Though bricked isn't the correct word here, as the phone can be revived by reflashing it. So no: it can't be bricked and yes: if something goes wrong, you'll have to reflash*

I don't know about your linux knowledge, but if you understand the commands involved, it should be safe to execute them.

*While trying out different partition configurations, I've messed up once too, causing Maemo to be unable to mount /home resulting in a reboot loop, but a reflash solved this.

Edit: I've added an extra warning to the wiki entry

Last edited by iDont; 2010-10-29 at 16:40.
 

The Following User Says Thank You to iDont For This Useful Post:
Aranel's Avatar
Posts: 301 | Thanked: 227 times | Joined on Nov 2009 @ Turkey
#202
Originally Posted by iDont View Post
I've just submitted a new solution to the wiki which should allow you to do that:
http://wiki.maemo.org/Repartitioning..._compatible.29
You just need to adjust the partition table to make /home bigger and MyDocs smaller.

You will lose the content of MyDocs, but that folder is easy to backup (copy 'n paste). All your settings etc will be kept.
Please note I've applied that method to a cleanly PR1.3 reflashed device, though the method should work on a 'dirty' device as well.

Also possible: full eMMC as ext3 /home (with MyDocs as loopback file) + MicroSD as swap =
Great news! I want to try it! But I have 2 questions about it:

a) After bricking your N900, did you try MeeGo Rescue Initrd? Doesn't it work?

b) Can you post the table for 6GB /home and 23 GB MyDocs?

Thanks
 
Posts: 268 | Thanked: 1,053 times | Joined on May 2010 @ The Netherlands
#203
Originally Posted by Aranel View Post
Great news! I want to try it! But I have 2 questions about it:

a) After bricking your N900, did you try MeeGo Rescue Initrd? Doesn't it work?
No I haven't. I had nothing to lose as I started repartitioning on a empty (reflashed) device, so reflashing it again after messing up would be easier than recovering it.

Originally Posted by Aranel View Post
b) Can you post the table for 6GB /home and 23 GB MyDocs?
Code:
unit: sectors
/dev/mmcblk0p1 : start=       64, size= 48242688, Id=c
/dev/mmcblk0p2 : start= 48242752, size= 12582912, Id=83
/dev/mmcblk0p3 : start= 60825664, size=  1572864, Id=82
/dev/mmcblk0p4 : start=        0, size=        0, Id=0
This wil give a ~24GB /dev/mmcblk0p1, a ~6GB /dev/mmcblk0p2 and the default 768MB /dev/mmcblk0p3

Last edited by iDont; 2010-11-14 at 22:40. Reason: Removed comments from table
 

The Following User Says Thank You to iDont For This Useful Post:
Posts: 12 | Thanked: 0 times | Joined on Nov 2010
#204
how i can edit genfstab.awk?

i am in this step:
-Open /usr/lib/genfstab.awk and comment out the following pieces of code
Code:
start == 1 && $6 == 83 && !__home {
       printf "%s /home ext3 %s 0 0\n", $1, home_opts            
        printf "/home/opt /opt none bind\n"
        __home++
}
Code:
start == 1 && $6 == "c" && !__fat {
       printf "%s /home/user/MyDocs vfat %s 0 0\n", $1, fat_opts
       __fat++
}
 
Posts: 268 | Thanked: 1,053 times | Joined on May 2010 @ The Netherlands
#205
Originally Posted by ViSo View Post
how i can edit genfstab.awk?

i am in this step:
-Open /usr/lib/genfstab.awk and comment out the following pieces of code
Code:
start == 1 && $6 == 83 && !__home {
       printf "%s /home ext3 %s 0 0\n", $1, home_opts            
        printf "/home/opt /opt none bind\n"
        __home++
}
Code:
start == 1 && $6 == "c" && !__fat {
       printf "%s /home/user/MyDocs vfat %s 0 0\n", $1, fat_opts
       __fat++
}
Using an texteditor like vi, nano* or even leafpad. Run those from a root terminal:
Nokia-N900:~$ root
Nokia-N900:~# nano /usr/lib/genfstab.awk

However, I have to ask: do you know what you're doing? As editing a file is pretty basic stuff, while partitioning can be rather risky when not done right.

*watch out using nano-opt from the repos, it spreads lines that don't fit the width of the terminal window out over two different lines (word wrap), causing a malformed file when not fixed.
 

The Following User Says Thank You to iDont For This Useful Post:
Posts: 155 | Thanked: 92 times | Joined on Jul 2010 @ Jordan
#206
hi all..I've read through the post and the wiki page,,but still a bit on fused confused, will pantera1989's method work on 1.3 as I'd like to try it but will it stay that way after a reflash..and is this the easiest way to do it...ty
 
Posts: 12 | Thanked: 0 times | Joined on Nov 2010
#207
Thanks iDot, and yes, i know, is risky is Funny! lol

my problem is my english, is basic, but i followed succesfully another tutorials, for example PalmPre games to MyDocs, following tutorials is easy.
 
mankir's Avatar
Posts: 276 | Thanked: 224 times | Joined on Dec 2009 @ Frankfurt, Germany
#208
Yes, you can boot NITdroid or Ubuntu from internal memory!
I moved the NITdroid folders to /home and multibooted it from /dev/mmcblk0p2. i mostly prefer using easy debian to use ubuntu 10.10 apps and desktop from 5gb /dev/mmcblk0p4, some people are able to boot into it (may be phone is ready to use soon). There is no limitation having a quad or more booting N900 with meego (but it's really slow on my sdhc).

Originally Posted by Bobbe View Post
Guys, first:

AWESOME! Swear to God I was really excited to read this. Hacking and slashing at limitations at its best. Congratulations, really!

And just a question: do you guys envisage a future where it would be possible to repartition the internal memory so as to install other OSs in it? Say, NITDroid? Has anybody tried it? Is it possible as of today? Would multi-boot work on such a partition scheme?

Once again, thank you for all the effort you guys have been putting into this (ruskie, titan, guy with the chinese name I couldn't possibly type on my lowly western keyboard, and all the others. Far out!).
__________________
MOD-Package: http://talk.maemo.org/showthread.php?t=42415
 

The Following User Says Thank You to mankir For This Useful Post:
Posts: 12 | Thanked: 0 times | Joined on Nov 2010
#209
i followed all steps 2 times, and 2 times my phone continue with 2GB in /home.
when i reboot my phone use MicroSD how a /home, and i format /home and /MyDocs, and i reboot, all correctly, but when i finished i check memory and MyDocs said 27GB and /home *free 1,6GB*

in this step:
Code:
-Open /usr/lib/genfstab.awk and comment out the following pieces of code
Code:

start == 1 && $6 == 83 && !__home {
       printf "%s /home ext3 %s 0 0\n", $1, home_opts            
        printf "/home/opt /opt none bind\n"
        __home++
}

Code:

start == 1 && $6 == "c" && !__fat {
       printf "%s /home/user/MyDocs vfat %s 0 0\n", $1, fat_opts
       __fat++
}
I have to do? i check the file and is exactly how code...

he means by * comment out *? delete?
 
mankir's Avatar
Posts: 276 | Thanked: 224 times | Joined on Dec 2009 @ Frankfurt, Germany
#210
If you don't know how to comment out (#), you shouldn't reformat either!
__________________
MOD-Package: http://talk.maemo.org/showthread.php?t=42415
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:36.