Gentoo Archives: gentoo-user

From: Hinnerk van Bruinehsen <h.v.bruinehsen@×××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] genkernel assistance building initramfs
Date: Mon, 23 Apr 2012 21:13:11
Message-Id: 4F95C550.4030804@fu-berlin.de
In Reply to: [gentoo-user] genkernel assistance building initramfs by Michael Mol
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On 23.04.2012 19:52, Michael Mol wrote:
5 > So, my habit is to have /usr sit on top of LVM on top of mdraid. I
6 > really don't want to get into the business of manually managing my
7 > own initramfs, and udev >= 181 will eventually hit stable. I want
8 > my systems ready before that.
9 >
10 > Now, having looked at the pertinent documentation, it looks like
11 > the command I need to run is:
12 >
13 > genkernel --lvm --mdadm --disklabel initramfs
14 >
15 > and then add the initramfs to my grub setup.
16 >
17 > The trouble is, genkernel dies on me. I tried for some feedback in
18 > #gentoo-chat, and DrEeevil gave me two clues:
19 >
20 > 13:34 <+DrEeevil> that shouldn't even be possible 13:36 <+DrEeevil>
21 > mikemol: looks like static linking didn't on your system
22 >
23 > I don't know where to take things from here. I'm hesitant to file
24 > a bug on b.g.o, because the tail end of genkernel.log specifically
25 > says not to file build errors as bug reports.
26 >
27 > So...any ideas? This is an amd64 mostly-stable system, and dracut
28 > is still masked on amd64, which is why I'm trying to get genkernel
29 > working.
30 >
31 > I've attached genkernel.log
32 >
33
34 You could try to add:
35
36 sys-apps/busybox static
37 sys-fs/mdadm static
38 sys-fs/lvm2 static
39
40 to your package.use and re-emerge the three packages. Afterwards try
41 it again and see what happens...
42
43 WKR
44 Hinnerk
45 -----BEGIN PGP SIGNATURE-----
46 Version: GnuPG v2.0.19 (GNU/Linux)
47 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
48
49 iQEcBAEBAgAGBQJPlcVQAAoJEJwwOFaNFkYcY2AH/3C4KNg1zcxT6o1BpV+/vIlT
50 Cj2cpnEskUr2t7IscVAYGRln8EkAnQS1900rwtmEl2tPaf/4TcDEgMkD2nDS6zNz
51 d3Qjz64bwVT56oIKW1+n1E+hVyHvswIaVQdr4scxqVMAhlRntXxHwl+VZqsAPL3e
52 JJeNdubmJrdXPW+EPi62w6et/RV4NNBv6yOyqjjeuMdi3io/rHwVaueDJqcS/2hn
53 BVabY8Z6HdiguzAAzqH+/m/Mfk7Jpd9Dg/J73a4jnnHwR/BYAdtcq6QETYQLqaGR
54 wtjw4rJdpHqWymDMcvpwoZCrkRJMhPaGlZUD0bXVzp6Je0OkDq+DS3AyDy5BgKQ=
55 =snDA
56 -----END PGP SIGNATURE-----