Help - Search - Members - Calendar
Full Version: Root Partition Size
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > Angstrom & OpenZaurus
hannes
I'm using an SL C1000 with OZ/GPE and after some tweaking, uninstalling and installing my root partition has arrived at almost 90% use, whereas my home partition sits there at an idle 3%. I know I can always install software to /home, but I was wondering if there is a way (in OZ, I mean) to repartition the internal flash and mount all of it on /, maybe by moving root to sd with altboot, repartition and move root back again? would that work?
lardman
Someone needs to look at the work the pdaX people did to allow a single partition and implement this for OZ (flasher and some kernel changes iirc).


Si
hannes
I think it was Koen (correct me if I'm wrong) who wrote on this forum something in the line of OZ neither needing nor wanting changes to the default partitioning, so I'm not sure if this will ever be officially implemented. wink.gif The main point is, can a single flash partition be booted by the sharp bootloader + altboot (pdaxrom uses uBoot instead)?
Hrw
OpenZaurus never supported and will not support resizing of flash partitions.
stupkid
QUOTE(Hrw @ Jan 28 2007, 12:28 PM)
OpenZaurus never supported and will not support resizing of flash partitions.
*


But changing the partitioning of the MicroDrive is supported by the OZ installer. I've never heard the logic behind not partitioning flash, but at least you can repartition on the 3ks.

EDIT: You could try RootFS on External media
Mickeyl
Changing the MicroDrive partitioning is much more uncritical than changing flash partitioning.
hannes
QUOTE(Hrw @ Jan 28 2007, 10:28 AM)
OpenZaurus never supported and will not support resizing of flash partitions.
*

That's the second time I read a categorical statement like this on this forum (here is the other one) - would you mind to explain the reasons behind this, Hrw or Koen? - thank you
Meanie
QUOTE(hannes @ Jan 29 2007, 07:04 AM)
QUOTE(Hrw @ Jan 28 2007, 10:28 AM)
OpenZaurus never supported and will not support resizing of flash partitions.
*

That's the second time I read a categorical statement like this on this forum (here is the other one) - would you mind to explain the reasons behind this, Hrw or Koen? - thank you
*



it's probably because its easier to implement and there are less things that can go wrong if you stick to something that is known and not let users have option to create many different partition sizes and risk user creating absurd partition layouts or sizes.

that said, the OZ updater script is rather simple (only looked at the C3000 script). it just whacks the kernel and initrd onto the nand and extract the hdimage to the microdrive.

i've secretly written an updater script for OZ using pdaXrom's one as a guide which pops up a menu similar to the pdaXrom one which then allows you to repartition the microdrive. it could easily do the same with the nand, but since the C3000 doesn't have much nand space to play with anyway, i removed the nand options.
craigtyson
OK been looking for the magic answer. What is the standard partition size for a c1000 ??? Im moving from CACKO lite with a 19MB partition
Capn_Fish
I would suggest just doing a NAND restore from TriSoft and not worrying about it.
craigtyson
Cheers, ended up doing just that.

Ta
speculatrix
now you know the partition sizes, can you post them, so that others can, maybe, avoid the same problem, thanks!
Capn_Fish
I believe
CODE
fdisk -l /dev/mtdblk0

or some similar device should give the info we're looking for.
craigtyson
Outputs are:

Disk /dev/mtdblock0: 7MB 7012352 bytes
255 heads 63 sectors/track 0 cylinders
Units= cylinders of 16065 * 512 = 8225283 bytes

Disk /dev/mtdblock1: 7MB 7340032 bytes
255 heads 63 sectors/track 0 cylinders
Units= cylinders of 16065 * 512 = 8225283 bytes

Disk /dev/mtdblock2: 60MB 60817408 bytes
255 heads 63 sectors/track 7 cylinders
Units= cylinders of 16065 * 512 = 8225283 bytes

Disk /dev/mtdblock3: 63MB 66060288 bytes
255 heads 63 sectors/track 8 cylinders
Units= cylinders of 16065 * 512 = 8225283 bytes

Cheers

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2015 Invision Power Services, Inc.