Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 929209

Summary: sys-kernel/dracut-101: sysroot/us failed to mount
Product: Gentoo Release Media Reporter: Ebrahim <salimiab1358>
Component: OtherAssignee: Mike Gilbert <floppym>
Status: UNCONFIRMED ---    
Severity: normal CC: alexander, andrewammerlaan, bkohler, salimiab1358
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Kernel cmd line Rd. Debug
Here is dmesg from pc
Here is new file
Dracut.conf
After change dracutconf

Description Ebrahim 2024-04-12 12:09:27 UTC
Created attachment 890484 [details]
Kernel cmd line Rd. Debug

Hello I recently install gentoo-amd64-openrc/23/desktop/gnome and my usr directory is in separate drive I emerged the kernel from source but make install dos not name the kernel with version just "vmlinuz" then I've corrected it "vmlinuz-6.8.4-gentoo" and then emerged the Dracut mine version is 101 but after restarting the pc it dropped me to Dracut shell it's message was " mount /usr to /sysroot/usr failed" here is kernel report and dmesg after exiting the shell  I had kernel panic
Comment 1 Ebrahim 2024-04-12 12:13:06 UTC
Created attachment 890485 [details]
Here is dmesg from pc
Comment 2 Ben Kohler gentoo-dev 2024-04-12 12:48:07 UTC
If the kernel is being installed to /boot/vmlinuz, it's likely that you don't have installkernel installed.  See this news item:  https://www.gentoo.org/support/news-items/2024-03-12-debianutils-installkernel.html

Let's continue to work on the dracut issue, but I don't know that it's a releng issue.
Comment 3 Andrew Nowa Ammerlaan gentoo-dev 2024-05-03 15:07:50 UTC
[    5.295267] dracut: Mounting /usr with -o defaults,ro
[    5.297676] /dev/disk/by-uuid/"cb40dd45-e4f3-4e49-a01e-8474460d94ba": Can't lookup blockdev
[    5.298514] dracut: mount: /sysroot/usr: special device /dev/disk/by-uuid/"cb40dd45-e4f3-4e49-a01e-8474460d94ba" does not exist.

Looks to me like a configuration issue, there's quotes here that I think should not be there.

Or perhaps the UUID is simply not correct.
Comment 4 Ebrahim 2024-05-10 15:16:18 UTC
My gentoo isn't install yet
Comment 5 Ebrahim 2024-05-10 15:21:19 UTC
Created attachment 892685 [details]
Here is new file
Comment 6 Ebrahim 2024-05-10 15:25:50 UTC
Created attachment 892686 [details]
Dracut.conf

I changed Dracut.conf
Comment 7 Ebrahim 2024-05-10 15:41:13 UTC
Created attachment 892689 [details]
After change dracutconf

I had changed Dracut.conf and got these log for more detail see files
Comment 8 Andrew Nowa Ammerlaan gentoo-dev 2024-05-10 16:23:03 UTC
Please try without any dracut.conf. There are some issues with your config, the -- in front of early_microcode should not be there. And explicitly setting dracut_modules is probably not a good idea.