View previous topic :: View next topic |
Author |
Message |
GentooFan2024 n00b

Joined: 15 Oct 2024 Posts: 30
|
Posted: Sun Apr 06, 2025 7:58 pm Post subject: [SOLVED] Unable to boot gentoo-kernel-bin-6.12.21 |
|
|
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 |
|
 |
zen_desu Apprentice

Joined: 25 Oct 2024 Posts: 225
|
Posted: Sun Apr 06, 2025 8:00 pm Post subject: Re: Unable to boot gentoo-kernel-bin-6.12.21 |
|
|
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 |
|
 |
GentooFan2024 n00b

Joined: 15 Oct 2024 Posts: 30
|
Posted: Sun Apr 06, 2025 8:04 pm Post subject: |
|
|
It should, I am using grub. Where can I check if Dracut has a different one? |
|
Back to top |
|
 |
zen_desu Apprentice

Joined: 25 Oct 2024 Posts: 225
|
Posted: Sun Apr 06, 2025 8:44 pm Post subject: |
|
|
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 |
|
 |
GentooFan2024 n00b

Joined: 15 Oct 2024 Posts: 30
|
Posted: Sun Apr 06, 2025 10:06 pm Post subject: |
|
|
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 |
|
 |
zen_desu Apprentice

Joined: 25 Oct 2024 Posts: 225
|
Posted: Sun Apr 06, 2025 10:10 pm Post subject: |
|
|
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 |
|
 |
GentooFan2024 n00b

Joined: 15 Oct 2024 Posts: 30
|
|
Back to top |
|
 |
GentooFan2024 n00b

Joined: 15 Oct 2024 Posts: 30
|
Posted: Mon Apr 07, 2025 6:40 pm Post subject: |
|
|
So I just tried to upgrade to 6.13.9, but I had the same issue again. |
|
Back to top |
|
 |
GentooFan2024 n00b

Joined: 15 Oct 2024 Posts: 30
|
Posted: Mon Apr 07, 2025 8:29 pm Post subject: |
|
|
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 |
|
 |
zen_desu Apprentice

Joined: 25 Oct 2024 Posts: 225
|
Posted: Mon Apr 07, 2025 9:55 pm Post subject: |
|
|
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 |
|
 |
GentooFan2024 n00b

Joined: 15 Oct 2024 Posts: 30
|
Posted: Mon Apr 07, 2025 10:34 pm Post subject: |
|
|
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 |
|
 |
zen_desu Apprentice

Joined: 25 Oct 2024 Posts: 225
|
Posted: Mon Apr 07, 2025 11:10 pm Post subject: |
|
|
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 |
|
 |
GentooFan2024 n00b

Joined: 15 Oct 2024 Posts: 30
|
Posted: Mon Apr 07, 2025 11:22 pm Post subject: |
|
|
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 |
|
 |
|