System won't boot after update-grub

Hello, i have been using tutorial for manual nvidia install, but when i added nouveau.modeset=0 into /etc/default/grub and make grub-install with EFI params, and update-grub, the system on restart halt on “running early hook plymouth”. What can i do for fixing that?
It’s a fresh install of Manjaro KDE 22.0.2-230203-linux61 with pacman -Syu before all operations.
Using live-usb with chroot and grub-install, update-grub, or making kernel linux515 not helping.

from chroot rerun update again:
pacman-mirrors -f 5 && pacman -Syyu
if there are no errors and you are up to date, provide output from:
mhwd-kernel -li && mhwd -l -li
head /etc/default/grub
test -d /sys/firmware/efi && echo efi || echo bios

pacman-mirrors -f 5 && pacman -Syyu
No errors here, all up to date.

mhwd-kernel
[manjaro /]# mhwd-kernel -li && mhwd -l -li
Currently running: 6.1.9-1-MANJARO (linux61)
The following kernels are installed in your system:
   * linux515
   * linux61
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!
> 0000:01:00.0 (0300:10de:2488) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2021.11.04               false            PCI
    video-nvidia-470xx            2021.11.04               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:00:02.0 (0380:8086:4680) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
grub head
[manjaro /]#  head /etc/default/grub
GRUB_DEFAULT=saved
GRUB_TIMEOUT=6
GRUB_TIMEOUT_STYLE=
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash udev.log_priority=3 nouveau.modset=0"
GRUB_CMDLINE_LINUX=""

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true
echo bios
[manjaro /]#  test -d /sys/firmware/efi && echo efi || echo bios
efi

you dont have installed any nvidia… so did you actually installed it manually?
post output from:
pacman -Qs nvidia

Sorry, away from PC, will send you the log soon.
I didn’t install Nvidia, i installed sudo pacman -S base-devel dkms and sudo pacman -S linux61-headers
then nouveau.modeset=0 into grub
then update-grub
then reboot, and stuck on early hook plymouth.
So i didn’t made the step sudo bash NVIDIA-Linux-x86_64-{version}.run because i could not enter the system

why do you want to install the drivers manually, they are available from manjaro, from where you should install them to begin with:

we can install them from chroot, so first remove the nouveau.modeset=0 parameter from grub:
nano /etc/default/grub
remove the parameter and replace it with this one:
ibt=off
save it with ctrl+x press ‘y’, update grub:
update-grub
now install the nvidia drivers:
mhwd -a pci nonfree 0300
if there were no errors, exit chroot and reboot

qs nvidia
[manjaro /]#  pacman -Qs nvidia
local/lib32-libvdpau 1.5-1
    Nvidia VDPAU library
local/libvdpau 1.5-1
    Nvidia VDPAU library
local/mhwd-nvidia 525.89.02-1
    MHWD module-ids for nvidia 525.89.02
local/mhwd-nvidia-390xx 390.157-1
    MHWD module-ids for nvidia 390.157
local/mhwd-nvidia-470xx 470.161.03-2
    MHWD module-ids for nvidia 470.161.03
local/xf86-video-nouveau 1.0.17-2 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards

I am trying this, because first time i got the same problem when installing nvidia using standard manjaro mhwd, and i want to install the most fresh version of Nvidia, not the 4xx version but 5xx(Maybe i am wrong here and the standard install way have the 5xx version not sure), but ok, let’s try that.

it will install automatically the latest available drivers… maybe it didnt work previously because you didnt have the ibt parameter set?

update-grub
[manjaro /]# update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-6.1-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.1-x86_64.img
Found initrd fallback image: /boot/initramfs-6.1-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
ERROR: mkdir /var/lock/dmraid
grub-probe: error: cannot find a GRUB drive for /dev/sdc1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdc1.  Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Found memtest86+ image: /boot/memtest86+/memtest.bin
Found memtest86+ EFI image: /boot/memtest86+/memtest.efi
done
head grub
[manjaro /]# head /etc/default/grub
GRUB_DEFAULT=saved
GRUB_TIMEOUT=6
GRUB_TIMEOUT_STYLE=
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash udev.log_priority=3 ibt=off"
GRUB_CMDLINE_LINUX=""

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true


install nvidia

[manjaro /]# mhwd -a pci nonfree 0300

Using config ‘video-nvidia’ for device: 0000:01:00.0 (0300:10de:2488) Display controller nVidia Corporation
Installing video-nvidia…
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
:: Synchronizing package databases…
core downloading…
extra downloading…
community downloading…
multilib downloading…
resolving dependencies…
looking for conflicting packages…
warning: dependency cycle detected:
warning: eglexternalplatform will be installed before its nvidia-utils dependency

Packages (7) egl-wayland-2:1.1.11-3 eglexternalplatform-1.1-2 libxnvctrl-525.89.02-1 lib32-nvidia-utils-525.89.02-1 linux515-nvidia-525.89.02-2 linux61-nvidia-525.89.02-2 nvidia-utils-525.89.02-1

Total Download Size: 458.60 MiB
Total Installed Size: 932.05 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages…

Y
nvidia-utils-525.89.02-1-x86_64 downloading…
linux61-nvidia-525.89.02-2-x86_64 downloading…
linux515-nvidia-525.89.02-2-x86_64 downloading…
lib32-nvidia-utils-525.89.02-1-x86_64 downloading…
libxnvctrl-525.89.02-1-x86_64 downloading…
egl-wayland-2:1.1.11-3-x86_64 downloading…
eglexternalplatform-1.1-2-any downloading…
checking keyring…
checking package integrity…
loading package files…
checking for file conflicts…
checking available disk space…
:: Processing package changes…
installing eglexternalplatform…
installing egl-wayland…
installing libxnvctrl…
installing nvidia-utils…
If you run into trouble with CUDA not being available, run nvidia-modprobe first.
If you use GDM on Wayland, you might have to run systemctl enable --now nvidia-resume.service
Optional dependencies for nvidia-utils
xorg-server-devel: nvidia-xconfig
opencl-nvidia: OpenCL support
installing lib32-nvidia-utils…
Optional dependencies for lib32-nvidia-utils
lib32-opencl-nvidia
installing linux515-nvidia…
installing linux61-nvidia…
:: Running post-transaction hooks…
(1/9) Creating system user accounts…
Creating group ‘nvidia-persistenced’ with GID 143.
Creating user ‘nvidia-persistenced’ (NVIDIA Persistence Daemon) with UID 143 and GID 143.
(2/9) Reloading system manager configuration…
Skipped: Running in chroot.
(3/9) Reloading device manager configuration…
Skipped: Running in chroot.
(4/9) Arming ConditionNeedsUpdate…
(5/9) Updating module dependencies…
(6/9) Updating Kernel initcpios for Nvidia-DRM…
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: ‘default’
→ -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64.img
==> Starting build: 5.15.93-1-MANJARO
→ Running build hook: [base]
→ Running build hook: [udev]
→ Running build hook: [autodetect]
→ Running build hook: [modconf]
→ Running build hook: [block]
→ Running build hook: [keyboard]
→ Running build hook: [keymap]
→ Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
→ Running build hook: [plymouth]
→ Running build hook: [filesystems]
→ Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.15-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: ‘fallback’
→ -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64-fallback.img -S autodetect
==> Starting build: 5.15.93-1-MANJARO
→ Running build hook: [base]
→ Running build hook: [udev]
→ Running build hook: [modconf]
→ Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: qla2xxx
→ Running build hook: [keyboard]
→ Running build hook: [keymap]
→ Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
→ Running build hook: [plymouth]
→ Running build hook: [filesystems]
→ Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.15-x86_64-fallback.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: ‘default’
→ -k /boot/vmlinuz-6.1-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.1-x86_64.img
==> Starting build: 6.1.11-1-MANJARO
→ Running build hook: [base]
→ Running build hook: [udev]
→ Running build hook: [autodetect]
→ Running build hook: [modconf]
→ Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
→ Running build hook: [keyboard]
→ Running build hook: [keymap]
→ Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
→ Running build hook: [plymouth]
→ Running build hook: [filesystems]
→ Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-6.1-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: ‘fallback’
→ -k /boot/vmlinuz-6.1-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.1-x86_64-fallback.img -S autodetect
==> Starting build: 6.1.11-1-MANJARO
→ Running build hook: [base]
→ Running build hook: [udev]
→ Running build hook: [modconf]
→ Running build hook: [block]
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
→ Running build hook: [keyboard]
→ Running build hook: [keymap]
→ Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
→ Running build hook: [plymouth]
→ Running build hook: [filesystems]
→ Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-6.1-x86_64-fallback.img
==> Image generation successful
(7/9) Refreshing PackageKit…
Error connecting: Could not connect: No such file or directory
error: command failed to execute correctly
(8/9) Reloading system bus configuration…
Skipped: Running in chroot.
(9/9) Updating the desktop file MIME type cache…
nvidia-utils: install reason has been set to ‘explicitly installed’
lib32-nvidia-utils: install reason has been set to ‘explicitly installed’
linux515-nvidia: install reason has been set to ‘explicitly installed’
linux61-nvidia: install reason has been set to ‘explicitly installed’
xorg configuration file: ‘/etc/X11/mhwd.d/nvidia.conf’

everyhting looks ok, so reboot and see how it goes…

Ok, that’s fixed the boot, the changes i saw is that there was MSI logo with Manjaro logo in the bottom, now just MSI logo, and if i remove quiet param in boot, it stops on hook plymouth and without other logs it then open log screen.

so you can boot normally or you still get stuck? its not clear to me

yes i can boot now, thank you, do i need to remove ibt=off?

no keep it, its needed on intel+nvidia systems - on some at least - otherwise without it you could possibly end up with a black screen on kernels 5.18 and newer…

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