* [gentoo-user] Help with dracut, please
@ 2022-10-26 14:22 Peter Humphrey
2022-10-26 15:46 ` Neil Bothwick
2022-10-26 15:47 ` Dale
0 siblings, 2 replies; 6+ messages in thread
From: Peter Humphrey @ 2022-10-26 14:22 UTC (permalink / raw
To: gentoo-user
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.
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Help with dracut, please
2022-10-26 14:22 [gentoo-user] Help with dracut, please Peter Humphrey
@ 2022-10-26 15:46 ` Neil Bothwick
2022-10-27 7:54 ` Peter Humphrey
2022-10-26 15:47 ` Dale
1 sibling, 1 reply; 6+ messages in thread
From: Neil Bothwick @ 2022-10-26 15:46 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 425 bytes --]
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?
--
Neil Bothwick
Bumper Sticker: If you can read this, you are in phaser range.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Help with dracut, please
2022-10-26 14:22 [gentoo-user] Help with dracut, please Peter Humphrey
2022-10-26 15:46 ` Neil Bothwick
@ 2022-10-26 15:47 ` Dale
2022-10-26 15:50 ` Michael
1 sibling, 1 reply; 6+ messages in thread
From: Dale @ 2022-10-26 15:47 UTC (permalink / raw
To: gentoo-user
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?
Hopefully someone else will have more ideas but in the meantime, may
want to double check those. Just to be sure.
Hope that helps, or someone else has ideas.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Help with dracut, please
2022-10-26 15:47 ` Dale
@ 2022-10-26 15:50 ` Michael
0 siblings, 0 replies; 6+ messages in thread
From: Michael @ 2022-10-26 15:50 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1054 bytes --]
On Wednesday, 26 October 2022 16:47:46 BST Dale wrote:
> 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?
^^This^^
Otherwise it may be some corrupt fs, in which case fsck could help.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Help with dracut, please
2022-10-26 15:46 ` Neil Bothwick
@ 2022-10-27 7:54 ` Peter Humphrey
2022-10-27 10:09 ` Peter Humphrey
0 siblings, 1 reply; 6+ messages in thread
From: Peter Humphrey @ 2022-10-27 7:54 UTC (permalink / raw
To: gentoo-user
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.
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Help with dracut, please
2022-10-27 7:54 ` Peter Humphrey
@ 2022-10-27 10:09 ` Peter Humphrey
0 siblings, 0 replies; 6+ messages in thread
From: Peter Humphrey @ 2022-10-27 10:09 UTC (permalink / raw
To: gentoo-user
On Thursday, 27 October 2022 08:54:36 BST I wrote:
> 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.
I was right the first time: it was something I'd done - a typo in /boot/loader/
entries/<entry>. (My eyes just get worse all the time. That's my excuse and
I'm sticking to it.)
Now, though, the system gets as far as populating /dev and hangs. So, back to
SysRescCD and check that devfs is selected, and it is. I'll go through the
kernel config yet again and see what I may have missed.
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-10-27 10:09 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-26 14:22 [gentoo-user] Help with dracut, please Peter Humphrey
2022-10-26 15:46 ` Neil Bothwick
2022-10-27 7:54 ` Peter Humphrey
2022-10-27 10:09 ` Peter Humphrey
2022-10-26 15:47 ` Dale
2022-10-26 15:50 ` Michael
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox