1 |
On Sat, May 3, 2014 at 12:00 PM, Stefan G. Weichinger <lists@×××××.at> wrote: |
2 |
[snip] |
3 |
> An older kernel (3.13.4) boots OK ... the newer ones are screwed up |
4 |
> (their initramfs) ... |
5 |
> |
6 |
> Back to the start. |
7 |
> |
8 |
> As I don't boot from LVM or mdadm-raid I consider to not need any |
9 |
> "DRACUT_MODULES=" in /etc/portage/make.conf, right? |
10 |
> |
11 |
> What do you guys have in /etc/dracut.conf ? |
12 |
> |
13 |
> Canek, I use your kerninst-tool ... |
14 |
> |
15 |
> And there are settings in /etc/default/grub as well ... I somehow get |
16 |
> the feeling that there are way too much bells and whistles in the game. |
17 |
> |
18 |
> I want to clean up as much as possible so that this more or less wasted |
19 |
> day at least makes some sense in the end. |
20 |
|
21 |
I'll give you my confs in my LVM2 virtual machine; my normal machines |
22 |
don't use LVM2, so I don't think they'll help in any way. |
23 |
|
24 |
Also, if my normal machines are lagging on updates, the virtual ones |
25 |
are even more behind: my LVM vm has systemd 204! |
26 |
|
27 |
I'm removing any comments: |
28 |
|
29 |
/etc/default/grub.conf: |
30 |
|
31 |
GRUB_DISTRIBUTOR="Gentoo" |
32 |
GRUB_DEFAULT=0 |
33 |
GRUB_HIDDEN_TIMEOUT=0 |
34 |
GRUB_HIDDEN_TIMEOUT_QUIET=true |
35 |
GRUB_TIMEOUT=10 |
36 |
GRUB_CMDLINE_LINUX="init=/usr/lib/systemd/systemd quiet nosplash" |
37 |
GRUB_PRELOAD_MODULES="lvm mdraid1x" |
38 |
|
39 |
Notice: no root, no real_root, nothing. |
40 |
|
41 |
/etc/dracut.conf: |
42 |
|
43 |
add_dracutmodules+="crypt lvm mdraid systemd" |
44 |
add_drivers+="autofs4 ipv6 dm-crypt aes sha256" |
45 |
fscks="umount mount /sbin/fsck* e2fsck" |
46 |
|
47 |
/etc/fstab: |
48 |
|
49 |
LABEL=Root / ext4 acl,noatime 0 1 |
50 |
LABEL=User /usr ext4 acl,noatime 0 2 |
51 |
LABEL=Boot /boot ext2 acl,noatime 0 2 |
52 |
LABEL=Home /home ext4 acl,noatime 0 2 |
53 |
/dev/mapper/swap none swap sw 0 0 |
54 |
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 |
55 |
tmpfs /tmp tmpfs defaults,nosuid,size=100% 0 0 |
56 |
|
57 |
/etc/crypttab: |
58 |
|
59 |
home /dev/vg/vol5 |
60 |
swap /dev/vg/vol2 /dev/urandom swap |
61 |
|
62 |
I didn't touched /etc/lvm/lvm.conf, nor /etc/mdadm.conf. |
63 |
|
64 |
My drive topology: |
65 |
|
66 |
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT |
67 |
sr0 11:0 1 1024M 0 rom |
68 |
vda 253:0 0 5G 0 disk |
69 |
`-vda1 253:1 0 5G 0 part |
70 |
`-md127 9:127 0 15G 0 raid5 |
71 |
|-vg-vol1 (dm-0) 254:0 0 200M 0 lvm /boot |
72 |
|-vg-vol3 (dm-1) 254:1 0 2G 0 lvm / |
73 |
|-vg-vol4 (dm-2) 254:2 0 8G 0 lvm /usr |
74 |
|-vg-vol2 (dm-3) 254:3 0 2G 0 lvm |
75 |
| `-swap (dm-5) 254:5 0 2G 0 crypt [SWAP] |
76 |
`-vg-vol5 (dm-4) 254:4 0 2.8G 0 lvm |
77 |
`-home (dm-6) 254:6 0 2.8G 0 crypt /home |
78 |
vdb 253:16 0 5G 0 disk |
79 |
`-vdb1 253:17 0 5G 0 part |
80 |
`-md127 9:127 0 15G 0 raid5 |
81 |
|-vg-vol1 (dm-0) 254:0 0 200M 0 lvm /boot |
82 |
|-vg-vol3 (dm-1) 254:1 0 2G 0 lvm / |
83 |
|-vg-vol4 (dm-2) 254:2 0 8G 0 lvm /usr |
84 |
|-vg-vol2 (dm-3) 254:3 0 2G 0 lvm |
85 |
| `-swap (dm-5) 254:5 0 2G 0 crypt [SWAP] |
86 |
`-vg-vol5 (dm-4) 254:4 0 2.8G 0 lvm |
87 |
`-home (dm-6) 254:6 0 2.8G 0 crypt /home |
88 |
vdc 253:32 0 5G 0 disk |
89 |
`-vdc1 253:33 0 5G 0 part |
90 |
`-md127 9:127 0 15G 0 raid5 |
91 |
|-vg-vol1 (dm-0) 254:0 0 200M 0 lvm /boot |
92 |
|-vg-vol3 (dm-1) 254:1 0 2G 0 lvm / |
93 |
|-vg-vol4 (dm-2) 254:2 0 8G 0 lvm /usr |
94 |
|-vg-vol2 (dm-3) 254:3 0 2G 0 lvm |
95 |
| `-swap (dm-5) 254:5 0 2G 0 crypt [SWAP] |
96 |
`-vg-vol5 (dm-4) 254:4 0 2.8G 0 lvm |
97 |
`-home (dm-6) 254:6 0 2.8G 0 crypt /home |
98 |
vdd 253:48 0 5G 0 disk |
99 |
`-vdd1 253:49 0 5G 0 part |
100 |
`-md127 9:127 0 15G 0 raid5 |
101 |
|-vg-vol1 (dm-0) 254:0 0 200M 0 lvm /boot |
102 |
|-vg-vol3 (dm-1) 254:1 0 2G 0 lvm / |
103 |
|-vg-vol4 (dm-2) 254:2 0 8G 0 lvm /usr |
104 |
|-vg-vol2 (dm-3) 254:3 0 2G 0 lvm |
105 |
| `-swap (dm-5) 254:5 0 2G 0 crypt [SWAP] |
106 |
`-vg-vol5 (dm-4) 254:4 0 2.8G 0 lvm |
107 |
`-home (dm-6) 254:6 0 2.8G 0 crypt /home |
108 |
|
109 |
Do you want to see any other config? |
110 |
|
111 |
Let me try to update this test VM to see if I can hit the same issue as you. |
112 |
|
113 |
Regards. |
114 |
-- |
115 |
Canek Peláez Valdés |
116 |
Profesor de asignatura, Facultad de Ciencias |
117 |
Universidad Nacional Autónoma de México |