maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Repartition the internal drive (https://talk.maemo.org/showthread.php?t=35122)

titan 2010-06-11 05:43

Re: Repartition the internal drive
 
Quote:

Originally Posted by pantera1989 (Post 709284)
I have successfully repartitioned the device to increase the home partition how much I want. But I need testers before I submit it to the wiki. And maybe someone with more knowledge can fix a bit the process. Here's a link: http://talk.maemo.org/showthread.php?t=55549
So far 3 thanks but no replies. I have only tested this myself.

first of all, I suggest merging your new thread into this thread.

Some of the methods I described on
http://wiki.maemo.org/Repartitioning_the_flash
no longer work on PR1.2 as it is impossible to boot w/o /home.

An alternative method w/o reflashing could be:
* delete MyDocs partition
* create new home at the beginning of the free space
* copy old home to new home
* set old home's type to unknown
* reboot
* delete old home and create new MyDocs,
make sure MyDocs is partition 1 in the table (even though it's 2nd in the logical layout)

I always use sfdisk as I couldn't make fdisk align the partitions to multiples of 64K,
which is important for flash performance. It's also much easier to swap the table order with sfdisk.

pantera1989 2010-06-11 07:53

Re: Repartition the internal drive
 
Ok how do I merge it? Or only a mod can do it?

gabby131 2010-06-11 10:22

Re: Repartition the internal drive
 
Hi!

i made another 2 partitions, but why it does not show up when i type df -h?

xomm 2010-07-02 00:28

Re: Repartition the internal drive
 
Quote:

Originally Posted by pantera1989 (Post 709999)
Ok how do I merge it? Or only a mod can do it?

Done. Unfortunately, it merges chronologically (time posted.)

I've merged it to post #188 on page 19.

gandhii 2010-08-23 23:13

Re: Repartition the internal drive
 
Upon swapping the home and MyDocs partitions with each other, I have noticed how much nicer it would be if the 2gig Vfat partition was mounted to another folder within MyDocs such as .documents or such since so many programs put their large cache folders within MyDocs (gpodder). How would I go about that? The fact that fstab gets rewritten kind of throws me. Is there a script somewhere to adjust?

Bobbe 2010-08-31 02:51

Re: Repartition the internal drive
 
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!).

Bobbe 2010-08-31 17:46

Re: Repartition the internal drive
 
Nothing? Was really hoping someone had already tried this =///

Aranel 2010-10-29 13:31

Re: Repartition the internal drive
 
I am also searching for ways to repartition /home/ to 6 Gigabytes (because 2gig is not enough, I'm removing apps everday and I have lots of free space on MyDocs. I think It's stupid.) without reflashing, but I'm stuck :|

Any news about this?

iDont 2010-10-29 15:17

Re: Repartition the internal drive
 
Quote:

Originally Posted by Aranel (Post 856596)
I am also searching for ways to repartition /home/ to 6 Gigabytes (because 2gig is not enough, I'm removing apps everday and I have lots of free space on MyDocs. I think It's stupid.) without reflashing, but I'm stuck :|

Any news about this?

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 = :cool: :D

cedlmw 2010-10-29 15:31

Re: Repartition the internal drive
 
Quote:

Originally Posted by iDont (Post 856726)
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 = :cool: :D

Thanks a lot for this! I was just wondering whether this could brick your device..?


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

vBulletin® Version 3.8.8