Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] fsck separate /usr
Date: Sun, 13 May 2012 00:56:26
In Reply to: [gentoo-user] fsck separate /usr by Alex Schuster
1 On Sat, May 12, 2012 at 7:43 PM, Alex Schuster <wonko@×××××××××.org> wrote:
2 > Hi there!
3 >
4 > I'm using the new udev with a separate /usr partition.
6 How do you create your initramfs? The new udev (>= 182, I believe)
7 requires the use of an initramfs if you have a separated /usr.
9 > It was encrypted,
10 > and it seems there is no solution yet for this.
12 dracut has two modules, crypt and crypt-gpg, that maybe do what you are needing.
14 > so I moved it over to an
15 > unencrypted volume - no problem, /usr is one partition where encryption
16 > does not make that much sense anyway. Works, but after an unclean shutdown
17 > (reading files in /proc/<pid>/ was not a good idea) /usr wants to be
18 > fsck'ed. But it is already mounted at that stage.
20 That's the reason you need an initramfs.
22 > The boot process just continues, but I wonder what one should do to make
23 > the fsck run. Except for using a live cd.
25 With an initramfs.
27 > Maybe I should just enlarge my root partition and move /usr there, at
28 > least this would avoid all the trouble. But I'm used to many separate
29 > partitions, and like it that way.
31 You can have every directory under / on a different partition (even
32 /etc), if you use an initramfs.
34 Regards.
35 --
36 Canek Peláez Valdés
37 Posgrado en Ciencia e Ingeniería de la Computación
38 Universidad Nacional Autónoma de México


Subject Author
Re: [gentoo-user] fsck separate /usr kwkhui@××××.net
Re: [gentoo-user] fsck separate /usr Alex Schuster <wonko@×××××××××.org>