Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Unable to boot gentoo-kernel-bin-6.12.21
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
GentooFan2024
n00b
n00b


Joined: 15 Oct 2024
Posts: 30

PostPosted: Sun Apr 06, 2025 7:58 pm    Post subject: [SOLVED] Unable to boot gentoo-kernel-bin-6.12.21 Reply with quote

Hello!

Since the update to kernel 6.12.21 I can't boot into my Gentoo anymore. It doesn't get to the point where I'm asked about the Password to decrypt my root Partition. First, nothing happens, then After a minute or so, dracut starts to scan for btrfs devices and seems to fail to find my root Partition. Then I am redirected to a dracut shell. I currently must use the old & now dropped 6.12.16 Kernel to be able to even write this message.

At the moment I'm not sure if and where there exist any logs. I'll be thankful for any help.


Last edited by GentooFan2024 on Mon Apr 07, 2025 11:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
zen_desu
Apprentice
Apprentice


Joined: 25 Oct 2024
Posts: 225

PostPosted: Sun Apr 06, 2025 8:00 pm    Post subject: Re: Unable to boot gentoo-kernel-bin-6.12.21 Reply with quote

GentooFan2024 wrote:
Hello!

Since the update to kernel 6.12.21 I can't boot into my Gentoo anymore. It doesn't get to the point where I'm asked about the Password to decrypt my root Partition. First, nothing happens, then After a minute or so, dracut starts to scan for btrfs devices and seems to fail to find my root Partition. Then I am redirected to a dracut shell. I currently must use the old & now dropped 6.12.16 Kernel to be able to even write this message.

At the moment I'm not sure if and where there exist any logs. I'll be thankful for any help.


Is your bootloader providing a root= path? This can differ from the path where dracut maps the unlocked device, causing failures.
_________________
µgRD dev
Wiki writer
Back to top
View user's profile Send private message
GentooFan2024
n00b
n00b


Joined: 15 Oct 2024
Posts: 30

PostPosted: Sun Apr 06, 2025 8:04 pm    Post subject: Reply with quote

It should, I am using grub. Where can I check if Dracut has a different one?
Back to top
View user's profile Send private message
zen_desu
Apprentice
Apprentice


Joined: 25 Oct 2024
Posts: 225

PostPosted: Sun Apr 06, 2025 8:44 pm    Post subject: Reply with quote

GentooFan2024 wrote:
It should, I am using grub. Where can I check if Dracut has a different one?


If it gives you a recovery shell you can check /proc/cmdline. I think dracut uses udev for the mapping and that often maps it with the fs uuid.
_________________
µgRD dev
Wiki writer
Back to top
View user's profile Send private message
GentooFan2024
n00b
n00b


Joined: 15 Oct 2024
Posts: 30

PostPosted: Sun Apr 06, 2025 10:06 pm    Post subject: Reply with quote

Thanks for your answer!

I did check /proc/cmdline as well as bootloader entries for the 6.12.16 & the 6.12.21 kernel. The root path with the UUID appears to be the same. The dracut shell prompted me that I can save a log file & said I can turn even more logs on with the "rd.debug" boot option. I did that and saved the second file. Both are too large to paste them here. 13559 & 32667 lines of text. Is there any way to upload them here?
Back to top
View user's profile Send private message
zen_desu
Apprentice
Apprentice


Joined: 25 Oct 2024
Posts: 225

PostPosted: Sun Apr 06, 2025 10:10 pm    Post subject: Reply with quote

GentooFan2024 wrote:
Thanks for your answer!

I did check /proc/cmdline as well as bootloader entries for the 6.12.16 & the 6.12.21 kernel. The root path with the UUID appears to be the same. The dracut shell prompted me that I can save a log file & said I can turn even more logs on with the "rd.debug" boot option. I did that and saved the second file. Both are too large to paste them here. 13559 & 32667 lines of text. Is there any way to upload them here?


You can use wgetpaste with a paste service which accepts larger uploads, like pgz. (paste.gentoo.zip)
_________________
µgRD dev
Wiki writer
Back to top
View user's profile Send private message
GentooFan2024
n00b
n00b


Joined: 15 Oct 2024
Posts: 30

PostPosted: Sun Apr 06, 2025 10:20 pm    Post subject: Reply with quote

Thank you!
First file: https://paste.gentoo.zip/AEsmeGfF
Second file: https://paste.gentoo.zip/qWXoZmc8
Back to top
View user's profile Send private message
GentooFan2024
n00b
n00b


Joined: 15 Oct 2024
Posts: 30

PostPosted: Mon Apr 07, 2025 6:40 pm    Post subject: Reply with quote

So I just tried to upgrade to 6.13.9, but I had the same issue again.
Back to top
View user's profile Send private message
GentooFan2024
n00b
n00b


Joined: 15 Oct 2024
Posts: 30

PostPosted: Mon Apr 07, 2025 8:29 pm    Post subject: Reply with quote

GOOD NEWS: I was able to make 6.12.1 boot by downgrading to dracut-103-r4 & regernerating the initramfs. The Bad news is I am unsure how to proceed. I tried the "no-hostonly" with 106 before downgrading, but that somehow didn't work.
Back to top
View user's profile Send private message
zen_desu
Apprentice
Apprentice


Joined: 25 Oct 2024
Posts: 225

PostPosted: Mon Apr 07, 2025 9:55 pm    Post subject: Reply with quote

GentooFan2024 wrote:
GOOD NEWS: I was able to make 6.12.1 boot by downgrading to dracut-103-r4 & regernerating the initramfs. The Bad news is I am unsure how to proceed. I tried the "no-hostonly" with 106 before downgrading, but that somehow didn't work.


It may be worth opening a bug if you're sure it's specific to the version. Have you tried using the older dracut version with the newer kernels? You could try using ugrd to see if it's affected.
_________________
µgRD dev
Wiki writer
Back to top
View user's profile Send private message
GentooFan2024
n00b
n00b


Joined: 15 Oct 2024
Posts: 30

PostPosted: Mon Apr 07, 2025 10:34 pm    Post subject: Reply with quote

zen_desu wrote:
GentooFan2024 wrote:
GOOD NEWS: I was able to make 6.12.1 boot by downgrading to dracut-103-r4 & regernerating the initramfs. The Bad news is I am unsure how to proceed. I tried the "no-hostonly" with 106 before downgrading, but that somehow didn't work.


It may be worth opening a bug if you're sure it's specific to the version. Have you tried using the older dracut version with the newer kernels? You could try using ugrd to see if it's affected.

Sorry I meant to type 6.12.21. So, yes I did use the older Dracut for the newer Kernels and it worked! To be honest I have never heard of ugrd, so I have zero experience with it and I want to make sure not to overwrite my now working initramfs.

I will create a Gentoo Bugzilla account & report the Bug.

A big thanks for your advice, suggestions & help! :)
Back to top
View user's profile Send private message
zen_desu
Apprentice
Apprentice


Joined: 25 Oct 2024
Posts: 225

PostPosted: Mon Apr 07, 2025 11:10 pm    Post subject: Reply with quote

GentooFan2024 wrote:
zen_desu wrote:
GentooFan2024 wrote:
GOOD NEWS: I was able to make 6.12.1 boot by downgrading to dracut-103-r4 & regernerating the initramfs. The Bad news is I am unsure how to proceed. I tried the "no-hostonly" with 106 before downgrading, but that somehow didn't work.


It may be worth opening a bug if you're sure it's specific to the version. Have you tried using the older dracut version with the newer kernels? You could try using ugrd to see if it's affected.

Sorry I meant to type 6.12.21. So, yes I did use the older Dracut for the newer Kernels and it worked! To be honest I have never heard of ugrd, so I have zero experience with it and I want to make sure not to overwrite my now working initramfs.

I will create a Gentoo Bugzilla account & report the Bug.

A big thanks for your advice, suggestions & help! :)


You're welcome, glad you got it working.

ugrd is an initramfs generator specifically designed for LUKS setups on Gentoo. Key features are that it autodetects most configuration and has various checks to ensure the image works before it's installed.
_________________
µgRD dev
Wiki writer
Back to top
View user's profile Send private message
GentooFan2024
n00b
n00b


Joined: 15 Oct 2024
Posts: 30

PostPosted: Mon Apr 07, 2025 11:22 pm    Post subject: Reply with quote

zen_desu wrote:
GentooFan2024 wrote:
zen_desu wrote:
GentooFan2024 wrote:
GOOD NEWS: I was able to make 6.12.1 boot by downgrading to dracut-103-r4 & regernerating the initramfs. The Bad news is I am unsure how to proceed. I tried the "no-hostonly" with 106 before downgrading, but that somehow didn't work.


It may be worth opening a bug if you're sure it's specific to the version. Have you tried using the older dracut version with the newer kernels? You could try using ugrd to see if it's affected.

Sorry I meant to type 6.12.21. So, yes I did use the older Dracut for the newer Kernels and it worked! To be honest I have never heard of ugrd, so I have zero experience with it and I want to make sure not to overwrite my now working initramfs.

I will create a Gentoo Bugzilla account & report the Bug.

A big thanks for your advice, suggestions & help! :)


You're welcome, glad you got it working.

ugrd is an initramfs generator specifically designed for LUKS setups on Gentoo. Key features are that it autodetects most configuration and has various checks to ensure the image works before it's installed.


Sounds great! I will look into that. I think I can mark this Topic as solved now!
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