1 |
Am 12.11.2014 um 11:07 schrieb Sam Jorna: |
2 |
> On Wed, Nov 12, 2014 at 10:42:28AM +0100, Michael Mair-Keimberger |
3 |
> wrote: |
4 |
>> On Wed, Nov 12, 2014 at 12:03:04PM +1100, wraeth@×××××××××.au |
5 |
>> wrote: |
6 |
>>> On Tue, Nov 11, 2014 at 09:56:09PM +0100, Michael |
7 |
>>> Mair-Keimberger wrote: |
8 |
> <snip> |
9 |
>> systemd. Maybe i could adopt that to my custom one as well. |
10 |
> </snip> |
11 |
> |
12 |
> Working examples are always nice :-) |
13 |
|
14 |
Around dracut and grub2 I remember a few bits, maybe they help. |
15 |
|
16 |
In /etc/dracut.conf I have (after discussion here): |
17 |
|
18 |
# dracut modules to omit |
19 |
omit_dracutmodules+="systemd" |
20 |
|
21 |
(this one means "don't build an instance of systemd *into* the initrd) |
22 |
|
23 |
# dracut modules to add to the default |
24 |
add_dracutmodules+="bash" |
25 |
|
26 |
# build initrd only to boot current hardware |
27 |
hostonly="yes" |
28 |
hostonly_cmdline="yes" |
29 |
|
30 |
I don't use lvm and sw-raid anymore, you might need: |
31 |
|
32 |
add_dracutmodules+="lvm bash mdraid" |
33 |
|
34 |
or so. |