Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929209 - sys-kernel/dracut-101: sysroot/us failed to mount
Summary: sys-kernel/dracut-101: sysroot/us failed to mount
Status: UNCONFIRMED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-12 12:09 UTC by Ebrahim
Modified: 2024-05-10 18:16 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Kernel cmd line Rd. Debug (rdsosreport2.txt,160.41 KB, text/plain)
2024-04-12 12:09 UTC, Ebrahim
Details
Here is dmesg from pc (dmesg2.txt,59.33 KB, text/plain)
2024-04-12 12:13 UTC, Ebrahim
Details
Here is new file (rdsosreport_rd.zip,62.76 KB, text/plain)
2024-05-10 15:21 UTC, Ebrahim
Details
Dracut.conf (dracut_modules.conf,1.48 KB, text/plain)
2024-05-10 15:25 UTC, Ebrahim
Details
After change dracutconf (Loginit-rdreport.zip,105.42 KB, application/zip)
2024-05-10 15:41 UTC, Ebrahim
Details

Note You need to log in before you can comment on or make changes to this bug.
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.