Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] systemd and initramfs
Date: Thu, 22 Aug 2013 12:59:29
Message-Id: 03efd8198f4b3bc5609a12541d6c85be.squirrel@www.antarean.org
In Reply to: Re: [gentoo-user] systemd and initramfs by Neil Bothwick
1 On Thu, August 22, 2013 11:17, Neil Bothwick wrote:
2 > On Thu, 22 Aug 2013 08:20:23 +0200, J. Roeleveld wrote:
3 >
4 >> No one has demonstrated that it can. An initramfs isn't magic, it
5 >> > caries out a couple of trivial tasks before switching to the real root
6 >> > partition.
7 >>
8 >> The issue mentioned was an example. It was also:
9 >> 1) The only one I can remember from the last 4 or 5 years
10 >> 2) Easily avoided with a "rebuild initramfs" notice during upgrade
11 >
12 > 3) spurious as the poster then realised that this was a PEBKAC problem.
13 > So in 5 years you have seen one problem blamed on the initramfs, and all
14 > but one of those reported problems were actually down the the initramfs.
15
16 Also the reason why I don't see a problem with the current methods for
17 initramfs usage.
18
19 >> I think part of the "problem" with it is that the documentation about it
20 >> isn't clear.
21 >
22 > No argument there.
23 >
24 >> There are tools (genkernel / dracut /..? ) that can
25 >> automate the generation of it. But it isn't clear what exactly it is
26 >> doing. If there would be a clear guide on how to do it manually, or a
27 >> tool that would assist in building the file(s) needed to have it build
28 >> into the kernel, then it might be more acceptable to some.
29 >
30 > There are two. A rather terse one in the kernel documentation, I posted
31 > the location earlier in the thread, and a page on the Wiki that describes
32 > the process in more detail, including an example init script. I've just
33 > looked for it and it has expanded since I last need to look at it
34 >
35 > http://wiki.gentoo.org/wiki/Early_Userspace_Mounting
36 >
37 > Or if you look at the official Gentoo documentation it links to the
38 > various resources.
39 >
40 > http://www.gentoo.org/doc/en/initramfs-guide.xml
41
42 Last time I looked, the information was too minimal to create the config
43 needed for my setup. Genkernel was the simpler method.
44 The current version seems more complete. I will give it another go when I
45 find a spare moment.
46
47 --
48 Joost