Manjaro would not boot - chroot shows everything is there and up to date

Hey all,

As the title says, I have a manjaro installation as my primary dirver, which refuses to boot. If I select the UEFI boot as any of manjaro options, the screen just blanks out and nothing happens - I have left it for hours. This was immidiately following a full update - unfortunately with the pamac GUI. Lesson learnt, and I will only use the CLI

I decided to try troubleshooting with chroot - I can log in - see all my files and have the following output:

[manjaro /] sudo inxi -F
    System:    Kernel 5.6.15-1-MANJARO x86_64 bits 64 Console N/A Distro Manjaro Linux 
    Machine:   Type Desktop Mobo ASUSTeK model PRIME X470-PRO v Rev X.0x serial    <filter> 
    UEFI American Megatrends v 5406 date 11/13/2019 
    CPU:       Topology 6-Core model AMD Ryzen 5 3600 bits 64 type MT MCP L2 cache     3072 KiB 
    Speed 2196 MHz min/max 2200/3600 MHz Core speeds (MHz) 1 2196 2 2196 3 2195 4 2196 
       5 2196 6 2196 7 2196 8 2196 9 2196 10 2196 11 2196  2196 
Graphics:  Device-1 NVIDIA TU106 [GeForce RTX 2070] driver nouveau v kernel 
       Display server X.org 1.20.8 driver nouveau note display driver n/a 
       Message Advanced graphics data unavailable for root. 
Audio:     Device-1 NVIDIA TU106 High Definition Audio driver snd_hda_intel 
       Device-2 AMD Starship/Matisse HD Audio driver snd_hda_intel 
       Sound Server ALSA v k5.6.15-1-MANJARO 
Network:   Device-1 Intel I211 Gigabit Network driver igb 
       IF enp7s0 state up speed 1000 Mbps duplex full mac <filter> 
       Device-2 Realtek RTL8153 Gigabit Ethernet Adapter type USB driver r8152 
       IF enp5s0u1u1u4 state down mac <filter> 
Drives:    Local Storage total 1.84 TiB used 1.66 TiB (89.9%) 
       ID-1 /dev/nvme0n1 vendor Intel model SSDPEKNW010T8 size 953.87 GiB 
       ID-2 /dev/nvme1n1 vendor Toshiba model KXG50ZNV5G NVMe 5GB size 476.94 GiB 
       ID-3 /dev/sda vendor Western Digital model WD10EARS-00Y5B1 size 931.51 GiB 
       ID-4 /dev/sdb vendor SanDisk model Ultra II 480GB size 447.13 GiB 
       ID-5 /dev/sdc type USB vendor Generic model Flash Disk size 14.94 GiB 
       ID-6 /dev/sdd type USB vendor Generic model Flash Disk size 14.94 GiB 
Partition: ID-1 / size 39.12 GiB used 33.27 GiB (85.0%) fs ext4 dev /dev/nvme0n1p3 
       ID-2 /home size 491.15 GiB used 267.71 GiB (54.5%) fs ext4 dev /dev/nvme0n1p4 
Swap:      Alert No Swap data was found. 
Sensors:   System Temperatures cpu 54.0 C mobo N/A gpu nouveau temp 27 C 
       Fan Speeds (RPM) N/A gpu nouveau fan 887 
Info:      Processes 303 Uptime 33m Memory 15.61 GiB used 2.64 GiB (16.9%) Client inxi 3.1.05 

and regarding the graphics driver:

[manjaro /]# mhwd -li> Installed PCI configs:
--------------------------------------------------------------------------------
              NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-nvidia-450xx            2019.10.25               false            PCI
       video-linux            2018.05.04                true            PCI

Apparently I have the latest driver installed

If this is unrecoverable - it is fine - but I still would love to learn what is going on and how can I recover from something like this if it happens to an installation that is more valuable.

Thanks for your help!

BTW - I tried sudo pacman -Syyu - today it updated the following, but still failed to boot:

[manjaro /]# sudo pacman -Syyu
:: Synchronizing package databases...
 core                                                                                               169.2 KiB  1582 KiB/s 00:00     [#############################################################################] 100%
 extra                                                                                             2013.0 KiB  9.06 MiB/s 00:00 [#############################################################################] 100%
  community                                                                                            6.2 MiB  13.6 MiB/s 00:00 [#############################################################################] 100%
 multilib                                                                                           194.3 KiB  19.0 MiB/s 00:00 [#############################################################################] 100%
:: Starting full system upgrade...

resolving dependencies...

looking for conflicting packages...


Packages (32) appmenu-gtk-module-0.7.4-1  appstream-glib-0.7.18-1  c-ares-1.16.1-2  catimg-2.7.0-1  dhcpcd-9.2.0-1  discord-0.0.12-0  efibootmgr-17-2  etcher-1.5.108-1  fwupd-1.4.6-1  imagemagick-7.0.10.29-1
          kmod-27-2  lib32-util-linux-2.36-1  libpgm-5.3.128-1  libxkbcommon-1.0.0-1  libxkbcommon-x11-1.0.0-1  linux-latest-5.8-1  linux54-5.4.64-1  linux54-nvidia-450xx-450.66-8  linux58-5.8.6-1
          manjaro-hello-0.6.5-14  manjaro-release-20.1-1  mhwd-0.6.5-1  nodejs-14.10.0-1  pamac-cli-9.5.10-1  pamac-common-9.5.10-1  pamac-gtk-9.5.10-1  pamac-tray-appindicator-9.5.10-1  shadow-4.8.1-4
          snappy-1.1.8-2  wildmidi-0.4.3-3  yad-7.1-1  zeromq-4.3.2-3

Hi!

Whats says the journal?

journalctl -b -0 | cat

there is something wrong ,
you cant use both free & nvidia drivers
so boot on USB iso manjaro ,

sudo manjaro-chroot -a ( type1 if only one line 0 appears )
mhwd -r pci video-linux
mhwd -i pci video-nvidia-450xx

Sure you can and it works!

$ mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
    video-nvidia-450xx            2019.10.25               false            PCI
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!

i see only driver nouveau , this is a desktop ,
this can be only work with nvida video card here

Quote:

When the same information is supplied in more than one way, the highest precedence mechanism is used. The list of mechanisms is ordered from highest precedence to lowest.

https://linux.die.net/man/5/xorg.conf.d

That means it has this priority:

  1. command line options
  2. environment variables
  3. xorg.conf
  4. xorg.conf.d
  5. auto-detection
  6. fallback defaults

If there is no xorg file for the nvidia card, then it will use auto-detection and use the nouveau driver if available. So you can’t use both, but you can let both installed.

I would advice to run grub in verbose mode or try to start in text mode.

To get verbose mode:

When you see the grub screen push e to get into the config and remove quiet in the following line

GRUB_CMDLINE_LINUX_DEFAULT="quiet ...."

Perhaps you can see what is going wrong that way.

Unfortunately nothing…

[manjaro /]# journalctl -b -0 | cat
-- Logs begin at Sun 2019-08-04 17:33:00 EDT, end at Wed 2020-09-16 18:30:32 EDT. --
-- No entries --

@stephane and @megavolt - thanks for the help! I tried uninstalling and generic driver and forcing a reinstall of nvidia one.

PS: Why does chroot not even ask for username and password? seems like a security flaw?

chroot mean change by root , you are in mode repair in this case on your disk as admin

Got it - so, i made changes with mhwd - and exit-ed the chroot. Went in again and ran inxi, which shows that I am still using the nouveau drivers - what is going on and how can I force nvidia drivers?

so if you have a physical access to a machine with linux, you can always just get in without knowing the username password of that installation?

here this is a local access on disk storage

Here is my verbose boot:

(Failed) Failed to start simple desktop display manager

What’s in the Xorg logs (~/.local/share/xorg/)?

check in this case

sudo systemctl status sddm.service

Tty actually showed Nvidia driver in use. Forum doesn’t let me post screenshots, it’s annoying. This was executed from tty, not chroot - so apologies cuz I am reading this from screen and typing in my phone

Loaded: loaded (usr,lib,systems,system,sddm.service; enabled; vendor present: disabled
Active: inactive (dead)
Docs: man:sddm(1)
           Man:sddm.conf(5)

Ahhh,I don’t have xorg folder in local-share folder. Is that the problem? @stephane

what do you means by no xorg folder ?