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. |
5 |
|
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. |
8 |
|
9 |
> It was encrypted, |
10 |
> and it seems there is no solution yet for this. |
11 |
|
12 |
dracut has two modules, crypt and crypt-gpg, that maybe do what you are needing. |
13 |
|
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. |
19 |
|
20 |
That's the reason you need an initramfs. |
21 |
|
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. |
24 |
|
25 |
With an initramfs. |
26 |
|
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. |
30 |
|
31 |
You can have every directory under / on a different partition (even |
32 |
/etc), if you use an initramfs. |
33 |
|
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 |