• [gentoo-user] Help with dracut, please

    From Peter Humphrey@21:1/5 to All on Wed Oct 26 16:30:01 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dale@21:1/5 to Peter Humphrey on Wed Oct 26 17:50:01 2022
    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

    :-)  :-) 

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Wed Oct 26 16:50:42 2022
    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.



    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmNZV1IACgkQseqq9sKV ZxksuQ/6AkYOCsi+mhkjmpGjLVMd6g7oRwOMXOKCatsICHXRv5Qh6K2lFrmuRxHP GUQnaEKVKQ+rYIlQrOf3TaZkL309ZfNQ94TF8laOYe6Wjn9K3WOeBxOgELS2PVW5 z86N+XTJpUHHlReME9f+g54uJk077+cxmywGG9+TI5lpyeVvQfloQCMCpCs4oeqN X9VdJzpKw4yiuueq8f9ZGp+hTd7l97oeZfkzblvdSA0UFWpOOrf2KNyhZN4hflcZ hBGd9sqrjPilEKPPGxIbk2BpofDXz41twIFr6d1pXguyYC8ZJbl7GaBRxErUoCI/ ZKJQrvKWKUOA4yKtajmDn8zSkkGmOwtvfyvZ4L0zzNUXBcLNgGxiPnCCIozNY9uO zklA9C3u1uRMAYPfKVEcQCwD5UZweGeSZ/PSwYYSImc5/EZS40mc/xZStPboWN9T Jr/3ree9A0swmZIWN03Y5trPk0+8S0oaeX5L3lfvuzeTUNhATb0gbeoy8Tj8bg6m w9XfANHHL7IYVTbNMSpov+jXaCA0R4R7FhRzzw0S63QMrm9tFT2l7YdCS5DB6cun OVwH5IlDiEIvA53P5ArkkMxaEXzPQ8322hSjhL1oZ3ccEO+apWurO2NMw/APVD9l ScccdFKQ2A2sRKl/21PYAMsIAzNTJNYh9thBLR5ATwKg9bHjSE4=
    =Hxkj
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Neil Bothwick@21:1/5 to Peter Humphrey on Wed Oct 26 19:20:01 2022
    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.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmNZVj8ACgkQ92eFu0QS MJj0Qw/+LtV/lvpOZvinznet540ahn/VXafZ5hvo+dcDJS9E+UENw6dtZnPQgoqq 5ucZKdANybu8WJ9dnyXweDM/1R/LlnVvYKxSyHbSkHF61a2HEaaxRYd9iN6omMrK Tl7CBhUhNEXfYr0fPkU6IGMzC1AvwhplEzj5doCpmLTN06OHwFRfx33rUpL/Rt+Q SJXn3kkcJ1DCN9OLP8mr6BXrK7hAWfXazXudint8DDm3reTAmYC5qIdm4U00I97t 9lmDkMSvFyN5DGgSpXhAl+QMi/5Dq2B614/fiH8aVuHxUp3W86W9tzMznFifuue1 XUCZ2dbG1GeSOSoQaR/MO14Ek0dMqMxhCQaSPvjHPSim/3cG9xysAEgqxeA2peHx N2W85EWS5hG/8XYYKTWwyn1eGrvy5eidgxhwdvs6JOOWhPRMGP2l1a1xdxTr8EHu NAzghBFRLp5W/wb2jD9RqnqJhuhpM07yMe7bz24NgF8FVWf5KY6KGp13Tkf9xFYX 75sA/YVfOBMz2S3CN6HnHksuF8g5ur+5NDspPIKeL5PKG5/z18hI0Qxw7n0g636S +4TMEhNZCxUZcSH4ml6WJzmSmBRMS+h/KtA9CbtXW8+UxbfCWHWStHu/XNaeoPoH XM3UnQcUNScpqkMuNlXh8YK21G+zVQOl/6/30eDp15e0QeHVTi4=
    =GIu/
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Thu Oct 27 10:00:01 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Thu Oct 27 12:10:02 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)