Can't boot after updates

Coming from a Windows background, when Manjaro said there were updates, I just installed them all without thinking. Now I can’t boot into Manjaro. I tried using sudo pacman -Syyu in the terminal before boot, with no success.

There was one other change I made before rebooting for the updates, and that was changing the time to rtc (because I need to dual boot to Windows, and the time was always displaying incorrectly, so not sure if this is the culprit; I used: timedatectl set-local-rtc 1)

Manjaro has been my daily driver since I installed it, so would love to get things up and running again! I’ve read that Nvidia driver updates can cause these types of issues, and I am using an Nvidia card, so.

If you nvidia is a kepler based card you will need to manually change to nvidia-470xx - because nvidia dropped kepler support with the latest drivers.

3 Likes

I’m using a 1070, so must be something else I imagine!

can you provide

inxi -Fza 
1 Like
System:
  Kernel: 5.15.7-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64 root=UUID=ba0f65e6-3f72-4b11-b52e-93d85343e700
    rw 3 apparmor=1 security=apparmor resume=UUID=b663d18f-93f7-4640-9ff4-4048ef2b01b3
    udev.log_priority=3
  Console: tty 1 DM: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: B450M MORTAR TITANIUM (MS-7B89) v: 2.0
    serial: <superuser required> UEFI: American Megatrends LLC. v: A.G3 date: 04/21/2021
CPU:
  Info: model: AMD Ryzen 7 2700X bits: 64 type: MT MCP arch: Zen+ family: 0x17 (23) model-id: 8
    stepping: 2 microcode: 0x800820D
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache: L1: 768 KiB
    desc: d-8x32 KiB; i-8x64 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB desc: 2x8 MiB
  Speed (MHz): avg: 1923 high: 2747 min/max: 2200/3700 boost: enabled scaling:
    driver: acpi-cpufreq governor: schedutil cores: 1: 2342 2: 1789 3: 1806 4: 1724 5: 1886 6: 1890
    7: 1892 8: 1888 9: 2747 10: 1828 11: 1720 12: 1717 13: 1889 14: 1885 15: 1890 16: 1884
    bogomips: 118444
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
    mitigation: Full AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: ASUSTeK driver: N/A alternate: nouveau
    bus-ID: 26:00.0 chip-ID: 10de:1b81 class-ID: 0300
  Display: server: X.org 1.21.1.2 driver: loaded: modesetting alternate: fbdev,vesa tty: 128x48
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: NVIDIA GP104 High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
    bus-ID: 26:00.1 chip-ID: 10de:10f0 class-ID: 0403
  Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
    bus-ID: 28:00.3 chip-ID: 1022:1457 class-ID: 0403
  Device-3: Realtek Realtek Audio USB type: USB driver: snd-usb-audio bus-ID: 3-3:3
    chip-ID: 0bda:4938 class-ID: 0102 serial: <filter>
  Sound Server-1: ALSA v: k5.15.7-1-MANJARO running: yes
  Sound Server-2: sndio v: N/A running: no
  Sound Server-3: JACK v: 1.9.19 running: no
  Sound Server-4: PulseAudio v: 15.0 running: no
  Sound Server-5: PipeWire v: 0.3.40 running: no
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI
    driver: r8169 v: kernel port: f000 bus-ID: 22:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp34s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: ASUSTek Broadcom BCM20702A0 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-3:2
    chip-ID: 0b05:17cb class-ID: fe01 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 2.27 TiB used: 32.75 GiB (1.4%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST2000DM006-2DM164 size: 1.82 TiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200
    serial: <filter> rev: CC26 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WDS500G2B0B-00YS70
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD
    serial: <filter> rev: 90WD scheme: GPT
Partition:
  ID-1: / raw-size: 244.14 GiB size: 239.25 GiB (98.00%) used: 21.16 GiB (8.8%) fs: ext4
    dev: /dev/sdb3 maj-min: 8:19
  ID-2: /boot/efi raw-size: 513 MiB size: 512 MiB (99.80%) used: 27.7 MiB (5.4%) fs: vfat
    dev: /dev/sdb1 maj-min: 8:17
  ID-3: /home raw-size: 21.48 GiB size: 20.98 GiB (97.65%) used: 11.56 GiB (55.1%) fs: ext4
    dev: /dev/sdb4 maj-min: 8:20
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sdb2
    maj-min: 8:18
Sensors:
  System Temperatures: cpu: 34.2 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 277 Uptime: 0m wakeups: 0 Memory: 15.61 GiB used: 520.2 MiB (3.3%) Init: systemd
  v: 249 tool: systemctl Compilers: gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1237 lib: 322
  flatpak: 0 Shell: Bash (login) v: 5.1.12 running-in: tty 1 inxi: 3.3.11

That doesnt look good.

What does mhwd say?

mhwd -l -d
2 Likes
--------------------------------------------------------------------------------
e[1me[31m> e[mPCI Device: /devices/pci0000:00/0000:00:03.1/0000:26:00.0 (0300:10de:1b81)
  Display controller nVidia Corporation GP104 [GeForce GTX 1070]
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:	video-linux
   ATTACHED:	PCI
   VERSION:	2018.05.04
   INFO:	Standard open source drivers.
   PRIORITY:	2
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 0380 0302 
   VENDORIDS:	1002 8086 10de 



  > AVAILABLE:

   NAME:	video-nvidia
   ATTACHED:	PCI
   VERSION:	2021.12.18
   INFO:	Closed source NVIDIA drivers for linux.
   PRIORITY:	5
   FREEDRIVER:	false
   DEPENDS:	-
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 
   VENDORIDS:	10de 

   NAME:	video-nvidia-470xx
   ATTACHED:	PCI
   VERSION:	2021.12.18
   INFO:	Closed source NVIDIA drivers for linux.
   PRIORITY:	4
   FREEDRIVER:	false
   DEPENDS:	-
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 
   VENDORIDS:	10de 

   NAME:	video-nvidia-390xx
   ATTACHED:	PCI
   VERSION:	2021.12.18
   INFO:	Closed source NVIDIA drivers for linux.
   PRIORITY:	3
   FREEDRIVER:	false
   DEPENDS:	-
   CONFLICTS:	video*nvidia* 
   CLASSIDS:	0300 0302 
   VENDORIDS:	10de 

   NAME:	video-linux
   ATTACHED:	PCI
   VERSION:	2018.05.04
   INFO:	Standard open source drivers.
   PRIORITY:	2
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 0380 0302 
   VENDORIDS:	1002 8086 10de 

   NAME:	video-modesetting
   ATTACHED:	PCI
   VERSION:	2020.01.13
   INFO:	X.org modesetting video driver.
   PRIORITY:	1
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 

   NAME:	video-vesa
   ATTACHED:	PCI
   VERSION:	2017.03.12
   INFO:	X.org vesa video driver.
   PRIORITY:	0
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 


--------------------------------------------------------------------------------
e[1me[31m> e[mPCI Device: /devices/pci0000:00/0000:00:01.3/0000:03:00.2/0000:20:01.0/0000:22:00.0 (0200:10ec:8168)
  Network controller Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
--------------------------------------------------------------------------------
  > AVAILABLE:

   NAME:	network-r8168
   ATTACHED:	PCI
   VERSION:	2016.04.20
   INFO:	RealTek RTL-8168 Gigabit Ethernet driver
   PRIORITY:	0
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0200 
   VENDORIDS:	1186 10ec 


e[1me[31mWarning: e[mno configs for USB devices found!

Looks like you dont have your nvidia drivers installed.
I dont know how well yours performs on 495 … so we will start with 470 (and update first just in case) …

sudo pacman -Syu
sudo mhwd -i pci video-nvidia-470xx

(reboot)

2 Likes

Okay I gave that a shot, but it hit an error.

“failed to prepare transaction (could not satisfy dependencies)
removing nvidia-utils breaks dependency ‘nvidia-utils’ required by cuda.”

Lets add a force flag …
(if not we can remove and reinstall)

sudo mhwd -f -i pci video-nvidia-470xx
2 Likes

Still hit the same hurdle.

e[1me[31m> e[mInstalling video-nvidia-470xx...
e[0;32mSourcing /etc/mhwd-x86_64.conf
e[me[0;32mHas lib32 support: true
e[me[0;32mSourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia-470xx/MHWDCONFIG
e[me[0;32mProcessing classid: 0300
e[me[0;32mSourcing /var/lib/mhwd/scripts/include/0300
e[me[0;32mProcessing classid: 0302
e[me[0;32mchecking dependencies...
e[me[0;32merror: failed to prepare transaction (could not satisfy dependencies)
e[me[0;32m:: removing nvidia-utils breaks dependency 'nvidia-utils' required by cuda
e[me[0;32mError: pacman failed!
e[me[1me[31mError: e[mscript failed!

Okey doke … cuda isnt doing much without nvidia drivers anyways …

sudo pacman -R cuda

Then proceed.

1 Like

Okay hit a new error.

e[1me[31m> e[mInstalling video-nvidia-470xx...
e[0;32mSourcing /etc/mhwd-x86_64.conf
e[me[0;32mHas lib32 support: true
e[me[0;32mSourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia-470xx/MHWDCONFIG
e[me[0;32mProcessing classid: 0300
e[me[0;32mSourcing /var/lib/mhwd/scripts/include/0300
e[me[0;32mProcessing classid: 0302
e[me[0;32m:: Synchronising package databases...
e[me[0;32m core downloading...
e[me[0;32m extra downloading...
e[me[0;32m community downloading...
e[me[0;32m multilib downloading...
e[me[0;32merror: target not found: linux513-nvidia-470xx
e[me[0;32mError: pacman failed!
e[me[1me[31mError: e[mscript failed!

You are running an EOL kernel. Please switch to an LTS like 5.10 or (expected to be newest LTS) 5.15
Then repeat our things … full recipe below:

sudo mhwd-kernel -i linux510
systemctl reboot
### above will reboot of course
### tap Shift or Esc during boot to bring up grub menu and select 510 kernel
uname -a
### above will print current kernel to ensure you are in 510
sudo mhwd-kernel -r linux513
sudo pacman-mirrors -f && sudo pacman -Syyu
### to be extra extra sure before installing
sudo mhwd -f -i pci video-nvidia-470xx
systemctl reboot
1 Like

Okay I’m back into the desktop, but I’m guessing I need to go through each of the nvidia drivers to see which ones my system supports and use the latest supported one?

For some reason my taskbar has vanished, and the start menu opens up in the top right corner of the screen too! :sweat_smile:

470 was latest until very recently … you can check just video-nvidia (which is 495) if you like … but the driver is known to be buggy even for supported cards.

This is odd. Also your inxi oddly doesnt show what desktop you are using, though this may be because it is from the dektop-less environment when you ran it. But I might say ‘reset’ your desktop settings in whatever way is pertinent to that DE … similarly, you can check creating a new user and seeing if that has any similar affects/bugs.

1 Like

Thanks a lot!

This is odd. Also your inxi oddly doesnt show what desktop you are using, though this may be because it is from the dektop-less environment when you ran it. But I might say ‘reset’ your desktop settings in whatever way is pertinent to that DE … similarly, you can check creating a new user and seeing if that has any similar affects/bugs.

I just checked it again and it says:

Desktop: Xfce 4.16.0 tk: Gtk 3.24.29 info: xfce4-panel wm: xfwm 4.16.1
    vt: 7 dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux

I’ll quickly create a new user and see if that solves it.

Okay took a little longer than I thought. It locked me out of creating a user for some reason, and then it let me create one anyway!

The new user desktop is working as it should! How could I go about resetting?

edit: I’m now unable to remove the new user “Failed to remove user.” Thought it may be because it was still logged in, but it still doesn’t work after logging out on that user.

I’ve really broken something!

We can probably remove the new user with some commands … but all of this seems a bit wonky to me.
Sadly I dont think I have ever needed to reset XFCE, so I dont have a suggestion on hand … I think it keeps things in ~/.config.xfce4 and you should be able to copy defaults from gitlab or /etc/skel … I dont know of a good reset command.

I guess one thing I might also mention is checking your package and file integrity …

sudo pacman -Qk | grep -v '0 missing'

Honestly, the fact that you were in this situation (and missing drivers, etc), along with the subsequent issues, may indicate that. But most things are just a balance between effortVSoutcome … I doubt its unrecoverable - its just a question of how much effort is needed and if its worth it. We havent yet entirely discovered the core issues it seems.