Boot hangs after 'initiating ramdisk' when installed

Unfortunately hangs at the same place.

Clean install, haven’t tried other distros in a while.

I only have the single kernel version available in GRUB it seems.

Thank you, basic question - how to I edit the GRUB config/options when I can’t boot? The partition is encrypted with LUKS so not sure if I can do it from the live ISO.

Thank you, I’m already there - @WilsonPhillips guided me to it last night. Another member there is reporting somewhat similar issues and puts it on Nouveau still being called after being disabled.

The alternative would be using chroot, but I don’t remember the steps at the moment

Does the GRUB screen appear for you? If so try selecting (not clicking) on the main boot option then clicking E, you should see a line starting with linux, append the options at the end of it

Thank you, I successfully appended the option on the correct line, but still have the same issue.

you need this for dracut parameters

nvidia nvidia_modeset nvidia_uvm nvidia_drm

see this
https://wiki.archlinux.org/title/Dracut

1 Like

Finally solved! Huge thanks to @Bero via the OM Matrix channel. Also thanks to @WilsonPhillips, @Omv3690 and @stephane for all their help along the way.

  • Fresh install, enabled non-free repo, immediate nvidia package install.
  • Manually removed all nouveau related modules (not a package):
    sudo su
    find /lib/modules -name nouveau |xargs rm -rf ; depmod -a
  • Created a new nouveau subconfig at: /etc/dracut.conf.d/nv.conf with content:
    force_drivers+=" nvidia nvidia_modeset nvidia_uvm nvidia_drm "
  • Regenerated dracut and grub2 config:
    dracut --force --regenerate-all
    grub2-mkconfig -o /boot/grub2/grub.cfg
  • Rebooted without issue.

When recreating the new config file, I did happen to note the following in /etc/dracut.conf.d/99-nvidia.conf which I feel might have caused the whole issue:

omit_drivers+=" nvidia nvidia-drm nvidia-modeset nvidia-uvm nvidia-peermem "

EDIT: I’ve just reinstalled one last time to swap from ext4 to brtfs, the step of removing nouveau module is not necessary.

5 Likes

Congrats mate, enjoy OM

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.