On 28/09/2013 21:50, Neil Bothwick wrote:
> On Sat, 28 Sep 2013 20:11:06 +0200, Volker Armin Hemmann wrote:
> 
>>  To merge two filesystems, you just merge two filesystems. You don't
>>> rebuild anything. You might have some downtime though  
>>
>> one reboot. You cp everything into /newuser. On shutdown you unmount
>> /usr, mv newuser usr, sync, unmount, reboot.
>> if you want to do it 'old fashioned', you cp everything to /newuser,
>> reboot with systemrescuecd, mount / on /mnt/gentoo, my newuser to usr
>> and reboot. Oh, and change fstab.
> 
> It's not that simple if /usr is on LVM, / is not large enough to
> hold /usr and resizing the partition is really tricky. In that case, the
> simplest option is to start using an initramfs. Once that is working, you
> can get rid of the separate root partition and move that filesystem into
> the VG too.


First time I did it, I faced that scenario too:

/ wasn't big enough and I didn't have enough free space anywhere to put
a temporary copy. So I juggled everything around in chunks playing the
disk-partition equivalent of 15-pieces. Took about a day.

What I *should* have done is bought my first external USB drive then,
not three years later.


-- 
Alan McKinnon
[email protected]


Reply via email to