Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Stuck on 'Loading initial ramdisk' when booting
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
j_holty66
n00b
n00b


Joined: 30 Dec 2019
Posts: 3

PostPosted: Mon Dec 30, 2019 7:06 pm    Post subject: [SOLVED] Stuck on 'Loading initial ramdisk' when booting Reply with quote

When I boot from grub my computer freezes on, 'Loading initial ramdisk ...'

I installed Gentoo on btrfs and am pretty sure that all my hardware is supported in the kernel as well as installing the Nvidia drivers.

Here is my lspci output:

Code:
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev
07)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07)
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA Controller [AHCI Mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #9 (rev f1)
00:1d.1 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #10 (rev f1)
00:1f.0 ISA bridge: Intel Corporation H110 Chipset LPC/eSPI Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V (rev 31)
01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1)
02:00.0 Non-Volatile memory controller: Device 1cc1:8201 (rev 03)
04:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter (rev 01)


my grub.cfg
https://pastebin.com/2aTWMRj8

my kernel .config
https://pastebin.com/KSUMAXQs


Last edited by j_holty66 on Mon Dec 30, 2019 11:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45383
Location: 56N 3W

PostPosted: Mon Dec 30, 2019 7:57 pm    Post subject: Reply with quote

j_holty66,

Welcome to Gentoo.

It may be that your system is booting correctly but not displaying any console output.
From your lspci, your video card is
Code:
01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)

If you actually have an on chip Intel GPU too, its disabled as its not listed in lspci.

That leaves you with
Code:
CONFIG_FB_VESA=y
CONFIG_FB_EFI=y
as potential console drivers.

Turn on
Code:
# CONFIG_FB_SIMPLE is not set
as that's a possibility too.
Rebuild and reinstall your kernel.

Its not a fix, just an attempt to get console messages to debug further.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
j_holty66
n00b
n00b


Joined: 30 Dec 2019
Posts: 3

PostPosted: Mon Dec 30, 2019 8:57 pm    Post subject: Reply with quote

I changed my .config and when I rebooted, it didn't freeze.

However I got an error saying that Block device UUID=... is not a valid root device

I checked my .config for btrfs support again and fstab which points to the right partition and has the right file system.

Here is what I have written in my fstab file:

Code:
/dev/nvme0n1p1    /boot/efi    vfat      noauto,noatime    0 2
/dev/nvme0n1p2    /            btrfs     noatime           0 1
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45383
Location: 56N 3W

PostPosted: Mon Dec 30, 2019 10:07 pm    Post subject: Reply with quote

j_holty66,

I have no going on very little knowledge of root on btrfs.
Your kernel line in grub.cfg is
Code:
linux   /boot/vmlinuz-4.19.86-gentoo root=UUID=cb2823ff-d50c-4a1b-9a95-795d3e0b1fd8


Something at the back of my mind says that you need a lot more than that.
Is root a btrfs subvolume?

The kernel should tave listeh all the block devices it can see. There is a special misleading case when it says
Code:
Unable to find the root block device in .

The list appears before the period and in this case, its empty.

-- edit --

Code:
# NVME Support
#
# CONFIG_BLK_DEV_NVME is not set
# CONFIG_NVME_FC is not set


You need CONFIG_BLK_DEV_NVME in your kernel to read your NVME device.
That's a menu. You may need options inside that menu too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
j_holty66
n00b
n00b


Joined: 30 Dec 2019
Posts: 3

PostPosted: Mon Dec 30, 2019 11:41 pm    Post subject: Reply with quote

Thank you very much! Everything is now working fine, I must have not thought about the NVME SSD when configuring the kernel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum