Resizing rootfs

Mirko Vogt lists at nanl.de
Sun Nov 14 09:48:54 EST 2010


The partition layout is hardcoded into the board-file of the linux
kernel source.
However switching rootfs <-> data should be indeed possible without
kernel code modifications.
That however implies you'll have to tell usbboot flashing the
rootfs-image to the data-partition, as well as telling uboot to mount
the data-partition as rootfs (root=..).

mirko

On Sat, 2010-11-13 at 00:00 +0100, Niels Serup wrote:
> Hi again
> 
> I would like to have a larger rootfs partition and a smaller data
> partition (I need the space for programs, libraries, etc.). How is this
> possible? I couldn't figure out how to resize the UBI volumes, so I
> tried using the data partition as the rootfs partition, but I couldn't
> figure out how to do that correctly either.
> 
> I thought that it might be useful to boot from a microSD card and then
> resize the volumes from there.. but I don't know how to do that.
> 
> So, how can I do it?
> 
> -----
> Niels
> 
> 
> 
> _______________________________________________
> Qi Hardware Discussion List
> Mail to list (members only): discussion at lists.en.qi-hardware.com
> Subscribe or Unsubscribe: http://lists.en.qi-hardware.com/mailman/listinfo/discussion



-- 
This email address is used for mailinglist purposes only.
Non-mailinglist emails will be dropped automatically.
If you want to get in contact with me personally, please mail to:
mirko.vogt <at> nanl <dot> de





More information about the discussion mailing list


interactive