Hey everyone, I’m currently not able to boot fully - this (or something extremely similar) happened several months ago, and was related to a graphics driver issue, but I can’t remember how I fixed it. I did just install or update something Nvidia-related yesterday, so I assume that’s messed something up, but of course I can’t remember if that was the driver, or something CUDA-related, or what.
If I choose Edit Boot Options and remove the Quiet option, the system stops booting at Finished TLP system startup/shutdown. I can Ctrl + Alt + F2 to log in, and get the following info:
Troubleshooting steps: I removed the video-linux option, but that didn’t seem to help, so I installed it again. I tried to remove the video-nvidia-470xx option, but got the following error:
failed to prepare transaction (could not satisfy dependencies)
removing nvidia-470xx-utils breaks dependency 'nvidia-utils' required by cuda
removing nvidia-470xx-utils breaks dependency 'nvidia-utils=470.183.03' required by nvidia-470xx-dkms
Thanks for the suggestion; I hadn’t used the -Rsn argument before. That worked, and I was able to uninstall those two plus video-nvidia-470xx.
However, on rebooting, it’s still getting stuck somewhere in the process. Now with Quiet mode off, I’ve seen it freeze at these different steps so far during three reboots:
Finished Load Kernel Module Loop Finished Record System Boot/Shutdown in UTMP Finished Create Volatile Files and Directories
I also can’t Ctrl + Alt + F2 anymore - it seems like it’s completely locking up now.
boot into manjaro live usb, make sure you are connected to internet, open terminal and chroot: manjaro-chroot -a
rerun update: pacman-mirrors -f 5 && pacman -Syyu
if there are errors post the output here, if there are no errors and you are up to date, post output from: mhwd-kernel -li && mhwd -l -li pacman -Qs nvidia ls /etc/modprobe.d find /etc/X11/ -name "*.conf"
I’m running into an issue with the first suggestion: manjaro-chroot -a
gives: grub-probe: error: cannot find a GRUB drive for /dev/sdd1. Check your device.map
I loaded up the Partition Manager, and it looks like sdd1 is the LiveUSB. So I’m not sure if it’s it’s throwing an error there but then moving on to do what you were hoping, or if it’s failing there.
Just in case, I tried the pacman-mirrors -f 5 && pacman -Syyu, and that seemed to complete without errors. mhwd-kernel -li && mhwd -l -li gave the following results. Is this specific to the LiveUSB? Asking because when I checked the kernel version yesterday, it only showed linux62-rt.
Currently running: 6.1.25-1-MANJARO (linux61)
The following kernels are installed in your system:
* linux61
Warning: config '/var/lib/mhwd/db/pci/network_drivers/r8168/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/network_drivers/rt3562sta/MHWDCONFIG' is invalid!
> 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:13c2) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-nvidia 2023.03.23 false PCI
video-nvidia-470xx 2023.03.23 false PCI
video-nvidia-390xx 2023.03.23 false PCI
video-linux 2018.05.04 true PCI
video-modesetting 2020.01.13 true PCI
video-vesa 2017.03.12 true PCI
“pacman -Qs nvidia” gives:
local/lib32-libvdpau 1.5-1
Nvidia VDPAU library
local/libvdpau 1.5-1
Nvidia VDPAU library
local/mhwd-nvidia 530.41.03-4
MHWD module-ids for nvidia 530.41.03
local/mhwd-nvidia-390xx 390.157-6
MHWD module-ids for nvidia 390.157
local/mhwd-nvidia-470xx 470.182.03-2
MHWD module-ids for nvidia 470.182.03
local/xf86-video-nouveau 1.0.17-2 (xorg-drivers)
Open Source 3D acceleration driver for nVidia cards
looks like those are output from the live usb…
what kernel(s) do you have installed in your system?
do you have encryption or btrfs?
post the whole output from: manjaro-chroot -a
When I checked the kernel earlier (before using the LiveUSB, and when I could still Ctrl + Alt + F2), the only listed kernel was linux62-rt.
I have some kind of Luks setup for encryption - I do still get prompted for that password on a reboot, and it does accept it before continuing the boot process (and eventually getting stuck, currently).
When I try manjaro-chroot -a using this LiveUSB, this is the whole output I get:
[manjaro manjaro]# manjaro-chroot -a
grub-probe: error: cannot find a GRUB drive for /dev/sdd1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdd1. Check your device.map.
==> ERROR: No Linux partitions detected!
In the Partition Manager, though, I do see my Linux boot drive, and it does display the partitions on it.
That’s labeled as root in the Partition Manager, and is ~932GB of the 1TB drive, so I assumed it was the main, encrypted portion of the drive containing the OS/filesystem, all my files, and free space for more stuff.
I’m getting an error on the first line. It asks for my password (which I assume is the luks one it always asks for on booting, not the password I use to log in to my normal Manjaro user account, but correct me if I’m wrong on that), so I enter that, and get the following:
device-mapper: reload ioctl on cryptDrive (254:0) failed: Invalid argument
Command failed with code -4 (wrong device or file specified).
I tried a couple times to make sure I wasn’t just typing the password incorrectly, but still got the same each time.