[gobolinux-users] /Programs on a different partition

Hisham Muhammad hisham.hm at gmail.com
Wed Oct 11 04:40:41 UTC 2006


On 10/10/06, Luíza D. Utsch <yggdrasilbury at gmail.com> wrote:
> Hello folks! I need some help.
>
> I intend to move my current /Programs folder to another partition. My
> intention is to use the old /Programs only as mount point for the new
> partition.
> Can it be done without breaking my system?
> What do I have to do so this partition is mounted before anything else
> (it contains some files critical to the system initialization,
> right?)? Should I use initrd? If yes, can somebody point me to a quick
> and comprehensive guide? =)

Yes, moving all of /Programs to a non-root partition would require an
initrd -- never done it myself, but I figure booting the system would
be similar to the boot process of the LiveCD, then. People with weird
RAID setups and the like might have some info to share on this
subject.

On the other hand, if what you want is just more space for /Programs,
an easier approach is to make a union-mount like:

mount -t unionfs -o dirs=/Programs=ro:/Mount/SomewhereElse=rw none /Programs

You'd only need to keep in the root partition the minimum set of stuff
needed to get to the mount line in the BootUp script. I have memories
of writing a list like this (minimum set to get a bootable system),
but it doesn't seem to be anywhere in CVS; André might still have it
-- it's certainly smaller than the Base set listed here:
http://cvs.savannah.nongnu.org/viewcvs/tools/BuildLiveCD/Data/?root=goboscripts

-- Hisham


More information about the gobolinux-users mailing list