Gentoo Archives: gentoo-user

From: John Blinka <john.blinka@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: [gentoo-user] Re: [gentoo-user] Re: [gentoo-user] boot hangs forever at “Loading initial ramdisk...”
Date: Fri, 14 May 2021 11:44:32
Message-Id: CAC_tCmpF=EzowsVY7ofGgAE-Ct2guVN8k_1WQ5YEqi9KoJVtYg@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: [gentoo-user] Re: [gentoo-user] boot hangs forever at “Loading initial ramdisk...” by John Covici
1 On Fri, May 14, 2021 at 2:36 AM John Covici <covici@××××××××××.com> wrote:
2
3 >
4 > I would look in the grub.cfg and give us exactly what is in the stanza
5 > you are using, including where it thinks the root file system is,
6 > etc. Also, see if there is any genkernel option to get some debugging
7 > info out of the initrd, I know using dracut you can get breakpoints
8 > during the process and see how its doing.
9
10
11 Here’s what I see when pressing “e” just before the system attempts to boot:
12
13 setparams ‘Gentoo GNU/Linux’
14
15 load_video
16 if [ “x$grub_platform” = xefi ]; then
17 set gfxpayload=keep
18 fi
19 insmod gzio
20 insmod part_gpt
21 insmod fat
22 set root=‘hd0,gpt2’
23 if [ x$feature_platform_search_hint = xy ]; then
24 search —no-floppy —fs-uuid —set=root —hint-bios=hd0,gpt2
25 —hint-baremetal=ahci0, got2 5C75-30A0
26 else
27 search —no-floppy —fs-uuid —set=root 5C75-30A0
28 fi
29 echo ‘Loading Linux 5.10.27-gentoo-x86_64 ...’
30 linux /vmlinuz-5.10.27-gentoo-x86_64
31 root=UUID=0df096ca-4dc8-4325-9296-7b0ddb67f044 ro loglevel=4 nomodeset
32 echo ‘Loading initial ramdisk ...’
33 initrd /early_ucode.cpio
34 /initramfs-5.10.27-gentoo-x86_64.img
35
36 I have checked the uuid and filenames - they are correct. (hd0,gpt2) makes
37 sense. There’s only 1 disk connected, it uses gpt, and the second
38 partition is a fat boot partition with the above uuid. The named files
39 exist on that partition.
40
41 I don’t see anything in ‘man genkernel’ that looks like a way to get debug
42 info out of an initrd/initramfs. Looks like there’s a way to turn it off,
43 so perhaps it’s on by default?
44
45 John