Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] separate / and /usr to require initramfs 2013-11-01
Date: Mon, 30 Sep 2013 07:44:36
Message-Id: 52492ACC.2060006@gmail.com
In Reply to: Re: [gentoo-user] separate / and /usr to require initramfs 2013-11-01 by Daniel Campbell
1 On 30/09/2013 01:40, Daniel Campbell wrote:
2 > The best path for you seems to be a merge of / and /usr. I asked Alan
3 > how to do this since he seemed knowledgeable about it. If he replies,
4 > maybe his advice will be handy and save you a lot of trouble. It seems
5 > clear to me that you want to avoid trouble, but looking at your options,
6 > putting /usr in / is probably the least painful thing you can do, and it
7 > won't require an initramfs. I don't like initramfs's either, but that's
8 > because I'm lazy and don't like maintaining more than two things (kernel
9 > and GRUB config) in order to boot.
10
11
12 I think I replied so a similar question from tanstaafl already, but
13 basically all you need to do is boot with a rescue disk, mount /usr
14 somewhere else and copy everything in it to the usr/ directory on /
15
16 But the devil is in the details and if anything will trip you up it's
17 the extact contents you have there and how much space you have
18 available. I don't know of any script around that automates it, so human
19 eyeballs is what it will take.
20
21 If you post the output of df -h, du -sh /usr, du -sh /usr/*, mount, and
22 the contents of fstab, loads of folks here can tell you how to proceed.
23
24 --
25 Alan McKinnon
26 alan.mckinnon@×××××.com