1 |
Canek Peláez Valdés writes: |
2 |
|
3 |
> On Sat, May 12, 2012 at 7:43 PM, Alex Schuster <wonko@×××××××××.org> |
4 |
> wrote: |
5 |
|
6 |
> > I'm using the new udev with a separate /usr partition. |
7 |
> |
8 |
> How do you create your initramfs? The new udev (>= 182, I believe) |
9 |
> requires the use of an initramfs if you have a separated /usr. |
10 |
|
11 |
I'm using gekernel. |
12 |
|
13 |
> > It was encrypted, |
14 |
> > and it seems there is no solution yet for this. |
15 |
> |
16 |
> dracut has two modules, crypt and crypt-gpg, that maybe do what you are |
17 |
> needing. |
18 |
|
19 |
Maybe, I did not (yet?) try dracut. |
20 |
|
21 |
> > so I moved it over to an |
22 |
> > unencrypted volume - no problem, /usr is one partition where |
23 |
> > encryption does not make that much sense anyway. Works, but after an |
24 |
> > unclean shutdown (reading files in /proc/<pid>/ was not a good |
25 |
> > idea) /usr wants to be fsck'ed. But it is already mounted at that |
26 |
> > stage. |
27 |
> |
28 |
> That's the reason you need an initramfs. |
29 |
> |
30 |
> > The boot process just continues, but I wonder what one should do to |
31 |
> > make the fsck run. Except for using a live cd. |
32 |
> |
33 |
> With an initramfs. |
34 |
|
35 |
Not with mine :) Maybe I'll give dracut a try. It seems to be a nice |
36 |
utility, and I was about to try it, but then I read about Dale's problems |
37 |
and decided to stay with genkernel for a while. |
38 |
|
39 |
> > Maybe I should just enlarge my root partition and move /usr there, at |
40 |
> > least this would avoid all the trouble. But I'm used to many separate |
41 |
> > partitions, and like it that way. |
42 |
> |
43 |
> You can have every directory under / on a different partition (even |
44 |
> /etc), if you use an initramfs. |
45 |
|
46 |
Which I do, every partition (including /) is on LVM, and except |
47 |
for /usr, /usr/src and portage stuff, all is encrypted. But maybe it's |
48 |
time to drop some partitions, and maybe include at least /usr and /tmp in |
49 |
the root partition. /usr would be encrypted again then, but the overhead |
50 |
seems to be small, so why not. |
51 |
|
52 |
Wonko |