Hello list,
I'm installing Gentoo on a new Juno laptop, and I've reached the point of booting into the new system. I have a separate /usr partition and I'm using dracut to create an initramfs.
On booting the new system I get an error I haven't heard of before: dracut complaining "sysroot has no proper sysfs layout". I'm sure I've done something
stupid, but where do I start debugging this? Google hasn't helped.
Peter Humphrey wrote:
Hello list,
I'm installing Gentoo on a new Juno laptop, and I've reached the point of booting into the new system. I have a separate /usr partition and I'm
using
dracut to create an initramfs.
On booting the new system I get an error I haven't heard of before: dracut complaining "sysroot has no proper sysfs layout". I'm sure I've done something stupid, but where do I start debugging this? Google hasn't helped.I tried to google that message and it found nothing. That's not good.
Makes me wonder what is causing that. Made me think a bit.
Have you double checked your fstab? Maybe you missed updating a line,
missed commenting something out or a typo maybe? Any strange kernel
options added to your bootloader? Typo maybe? Have you double checked
that the file systems you use for /boot and / are built into the kernel?
On booting the new system I get an error I haven't heard of before:
dracut complaining "sysroot has no proper sysfs layout". I'm sure I've
done something stupid, but where do I start debugging this? Google
hasn't helped.
On Wed, 26 Oct 2022 15:22:42 +0100, Peter Humphrey wrote:
On booting the new system I get an error I haven't heard of before:
dracut complaining "sysroot has no proper sysfs layout". I'm sure I've
done something stupid, but where do I start debugging this? Google
hasn't helped.
Is CONFIG_SYSFS=y set in your kernel?
On Wednesday, 26 October 2022 16:46:07 BST Neil Bothwick wrote:
On Wed, 26 Oct 2022 15:22:42 +0100, Peter Humphrey wrote:
On booting the new system I get an error I haven't heard of before: dracut complaining "sysroot has no proper sysfs layout". I'm sure I've done something stupid, but where do I start debugging this? Google
hasn't helped.
Is CONFIG_SYSFS=y set in your kernel?
Yes. I don't see it in menuconfig, but a search for it says it's set by a boolean expression that evaluates to TRUE.
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 23:26:48 |
| Calls: | 12,105 |
| Calls today: | 5 |
| Files: | 15,006 |
| Messages: | 6,518,144 |