Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Kernel doesn't accept any initramfs
Date: Wed, 25 Mar 2020 12:23:33
Message-Id: 2058499.NgBsaNRSFp@eve
In Reply to: Re: [gentoo-user] Kernel doesn't accept any initramfs by andrey.vul@gmail.com
1 On Tuesday, March 24, 2020 10:57:59 PM CET andrey.vul@×××××.com wrote:
2 > On Tue, Mar 24, 2020 at 2:45 AM J. Roeleveld <joost@××××××××.org> wrote:
3 > > On Tuesday, March 24, 2020 4:55:49 AM CET andrey.vul@×××××.com wrote:
4 > > > I've somehow built a kernel that won't accept any initramfs. To
5 > > > elaborate, it hangs in shell in dracut and panicks with a minimal
6 > > > initramfs as if it rejects the initramfs entirely and tries to boot an
7 > > > lvm volume, which of course, fails.
8 > > >
9 > > > Kernel config:
10 > > > http://sprunge.us/tqz3BM
11 > > >
12 > > > The minimal initramfs is described by the file listing
13 > > > http://sprunge.us/GQVbqc
14 > > > and init script http://sprunge.us/YHWY9Z , though this script is of
15 > > > limited use since even with `exec sh` in the first non-comment line,
16 > > > the kernel doesn't follow through.
17 > > >
18 > > > Thoughts?
19 > >
20 > > Please provide the info as attachments instead of temporary links.
21
22 Few thoughts:
23
24 1) Are you certain your initramfs includes everything? My "config" file is a
25 lot longer.
26
27 2) How are you generating the initramfs?
28
29 3) how are you adding it to the bootloader?
30
31 4) Have you tried embedding the initramfs into the kernel?
32
33 Also, can you provide the kernel messages leading to and including the panic?
34 (Either full text or a clear photo taken with a camera/phone/tablet)
35
36 --
37 Joost

Replies

Subject Author
Re: [gentoo-user] Kernel doesn't accept any initramfs andrey.vul@×××××.com