Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Question about genkernel's default kernel config
Date: Mon, 15 Aug 2016 08:10:39
Message-Id: 77436708.exZMUgbIy3@andromeda
In Reply to: Re: [gentoo-user] Re: Question about genkernel's default kernel config by Mike Gilbert
1 On Sunday, August 14, 2016 08:38:42 PM Mike Gilbert wrote:
2 > On Sun, Aug 14, 2016 at 4:29 PM, J. Roeleveld <joost@××××××××.org> wrote:
3 > > On August 14, 2016 8:55:32 PM GMT+02:00, Neil Bothwick
4 <neil@××××××××××.uk> wrote:
5 > >>On Sun, 14 Aug 2016 11:48:08 -0700, Ian Zimmerman wrote:
6 > >>> Don't you still need genkernel if you want to build an initramfs?
7 > >>
8 > >>No, dracut.
9 > >>
10 > >>> The handbook (amd64) seems to imply you do, and I don't know of an
11 > >>
12 > >>easy
13 > >>
14 > >>> way to build an initramfs just with the bare kernel source.
15 > >>
16 > >>Dracut.
17 > >>
18 > > Dracut if you just want something quick and easy.
19 > > If you want something small and reliable, build your own.
20 >
21 > A homegrown initramfs created by a novice is going to be more reliable
22 > than one created by dracut or genkernel? Seems unlikely.
23
24 The ones created by genkernel or dracut always need a few iterations before
25 they work semi-reliably and are not flexible enough.
26 I have 2 disks in my laptop. Both are encrypted using LUKS and the same
27 passphrase. Neither genkernel nor dracut have the intelligence to ask me once
28 and try the key on both, only asking for a 2nd key when the provided one
29 doesn't work for both.
30
31 I ended up writing my own, which has proven more reliable and stable. The
32 reduced size also makes maintenance less of an issue.
33
34 --
35 Joost

Replies