Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
going bald - dracut stuck on boot, not recognizing my disk
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
nnnv
n00b
n00b


Joined: 15 Jan 2025
Posts: 1

PostPosted: Wed Jan 15, 2025 12:44 pm    Post subject: going bald - dracut stuck on boot, not recognizing my disk Reply with quote

Everything works with the dist-kernel, tried to boot my custom kernel I set up for the first time, but dracut is still (after numerous times of tweaking the config) getting stuck on boot and throwing an emeregency shell...

Message i get on boot:
Code:
Starting systemd-udevd version 254
Failed to send request to update enviroment: Connection refused
/init: line 160:    309 Aborted
/init: line 161:    310 Aborted


dracut Warning: Could not boot.
dracut Warning: /dev/disk/by-uuid/(uuid) does not exist

Dropping to debug shell.

Appreciate any help, banging my head against this for the last week hah
Also dropping my config file:
https://www.dropbox.com/scl/fi/2xp50m5enlbd83aavh2ua/.config.txt?rlkey=1n8pwrkzmeay4qig8f9j67mpc&st=nl8tkxmv&dl=0

[Administrator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5317
Location: Bavaria

PostPosted: Thu Jan 16, 2025 8:33 pm    Post subject: Reply with quote

You have configured a monolithic kernel (like me) and I guess you are missing some options, e.g. ->
Code:
1.
# CONFIG_MFD_INTEL_LPSS_ACPI is not set
# CONFIG_MFD_INTEL_LPSS_PCI is not set
2.
CONFIG_DRM_SIMPLEDRM=y
3.
# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
# CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON is not set
4.
CONFIG_EXT2_FS=y
CONFIG_EXT3_FS=y
CONFIG_EXT4_FS=y
# CONFIG_EXT4_FS_POSIX_ACL is not set
5.
# CONFIG_GENTOO_LINUX_INIT_SCRIPT is not set
# CONFIG_GENTOO_LINUX_INIT_SYSTEMD is not set

1. Maybe you need it
2. Makes more problems than it resolves
3. Enable it.
4. You dont need EXT2 and 3 if you have EXT4 (EXT4 can process EVERYTHING) ... but you really need POSIX
5. Enable it.

Another question is: Why do you need an initramfs? Do you use an encrypted root?

Maybe have a look here: https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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