Manjaro won't boot after update, Nvidia problems

I have a Lenovo ThinkPad W520, Manjaro installed for about a year now. No issue until lately. I only use the computer about once every 2 months, due to my job keeping me out for long periods of time from home, so I have not kept up to date with updates and kernels.

While trying to use the update manager, multiple programs could not be updated due to conflicts involving Nvidia files. I thus updated files one-by-one. After installing a particular file (do not recall what), it said a reboot was re-quired. While shutting down, it froze on a terminal screen, so I had to manually shutdown. After restarting the laptop, Manjaro failed to load up at all - just a black screen.

I tried booting from a USB ISO, tried troubleshooting using instructions from other posts, but no luck whatsoever. This is my only computer, and I have no means of opening Manjaro, and all of my files are on it. I cannot afford to lose it. Because I am not a programmer, I could use a detailed walk through to diagnose and correct this problem, as well as prevent it from happening again.

Many thanks in advance.

Hi @Retronuts, and welcome!

I’d recommend you boot with a USB thumb drive, where you can work from and enter a chroot environment, where you an work and gather the required info:

To enter a chroot environment

  1. Ensure you’ve got a relatively new ISO or at least one with a still supported LTS kernel.

  2. Write/copy/dd the ISO to a USB thumb drive.

  3. When done, boot with the above mentioned USB thumb drive into the live environment.

  4. Once booted, open a terminal and enter the following command to enter the chroot environment:

manjaro-chroot -a

If you have more than one Linux installation, select the correct one to use from the list provided.

If sucessfully done, you should now be in the chroot environment.

But, be careful, as you’re now in an actual root environment on your computer, so any changes you make will persist after a restart and can cause damage.

In that chroot environment, please gather the info as explained here:

…and use the browser in the live environment to post them here.


:bangbang: Tip: :bangbang:

To provide terminal output, copy the text you wish to share, and paste it here, surrounded by three (3) backticks, a.k.a grave accents. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Portaest sed
elementum
cursus nisl nisi
hendrerit ac quis
sit
adipiscing
tortor sit leo commodo.

Instead of like this:

Portaest sed elementum cursus nisl nisi hendrerit ac quis sit adipiscing tortor sit leo commodo.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as descrribed above.

Thereby improving legibility and making it much easier for those trying to be of assistance.

Please edit your post accordingly.

For more information, please see:


:bangbang::bangbang: Additionally

If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.


Please also see

Hope you manage!

1 Like

The following happens in the terminal on the USB:

mint@mint:~$ manjaro-chroot -a
manjaro-chroot: command not found
mint@mint:

I can’t post pictures, since I am a new user here.

Erm…that’s a Linux Mint ISO, not Manjaro. So of course a Manjaro-command won’t be found.

If all you have is a Mint ISO
you can still use it to chroot into your system - but you’ll have to do yourself, manually, all the steps that the manjaro-chroot tool does for you.
Section 4.2 on the following site describes the procedure:

chroot - ArchWiki

Perhaps Mint also provides a similar tool. But that is something I don’t know.

1 Like

Oh my, I was so tired that I missed that! I must have misplaced that USB. I’ll look for it now!

Alrighty, I finally got the Manjaro USB, tried the chroot command, and got this:

grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
==> Mounting (ManjaroLinux) [/dev/sda1]
 --> mount: [/mnt]
[manjaro /]# 

you are chrooted now, so rerun update again:
pacman-mirrors -f 5 && pacman -Syyu
post any errors here … if there are none, provide output from:
mhwd-kernel -li && mhwd -l -li

This was at the bottom:

pacman: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory

post output from:
pacman -Qs openssl

It is not showing any output from such text. I tried searching the terminal, and nothing close to that came up.

Full output in terminal from after I entered the last command:

::WARNING https://repo.manjaro.org 'Connection: HTTPSConnectionPool(host='repo.manjaro.org', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f155b0c46a0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))'
::WARNING https://wikipedia.org 'Connection: HTTPSConnectionPool(host='wikipedia.org', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f155b0c4820>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))'
::WARNING https://bitbucket.org 'Connection: HTTPSConnectionPool(host='bitbucket.org', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f155b0c45b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))'
::INFO Internet connection appears to be down
::INFO Mirror ranking is not available
::INFO Mirror list is generated using random method
::INFO Writing mirror list
::Philippines     : http://mirror.rise.ph/manjaro/stable
::Norway          : http://mirror.terrahost.no/linux/manjaro/stable
::Sweden          : https://ftp.lysator.liu.se/pub/manjaro/stable
::Canada          : https://muug.ca/mirror/manjaro/stable
::Brazil          : https://manjaro.c3sl.ufpr.br/stable
::United_States   : https://coresite.mm.fcix.net/manjaro/stable
::Chile           : https://mirror1.cl.netactuate.com/manjaro/stable
::Taiwan          : https://mirror.archlinux.tw/Manjaro/stable
::South_Korea     : https://mirror.funami.tech/manjaro/stable
::United_States   : https://mirrors.sonic.net/manjaro/stable
::Switzerland     : https://mirror.init7.net/manjaro/stable
::Colombia        : https://edgeuno-bog2.mm.fcix.net/manjaro/stable
::Belarus         : http://mirror.datacenter.by/pub/mirrors/manjaro/stable
::Italy           : https://ct.mirror.garr.it/mirrors/manjaro/stable
::Japan           : http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/stable
::Germany         : https://mirrors.xtom.de/manjaro/stable
::Sweden          : https://mirror.zetup.net/manjaro/stable
::Denmark         : https://mirrors.dotsrc.org/manjaro/stable
::Uruguay         : https://manjaro.repo.cure.edu.uy/stable
::United_States   : https://ziply.mm.fcix.net/manjaro/stable
::Global          : https://mirrors.manjaro.org/repo/stable
::Global          : https://mirrors.fossho.st/manjaro/stable
::China           : https://mirrors.tuna.tsinghua.edu.cn/manjaro/stable
::Czechia         : https://mirror.dkm.cz/manjaro/stable
::Germany         : https://mirror.23m.com/manjaro/stable
::Germany         : https://ftp.halifax.rwth-aachen.de/manjaro/stable
::Poland          : https://ftp.icm.edu.pl/pub/Linux/dist/manjaro/stable
::Netherlands     : https://mirror.koddos.net/manjaro/stable
::Estonia         : https://mirrors.xtom.ee/manjaro/stable
::United_States   : https://codingflyboy.mm.fcix.net/manjaro/stable
::Bulgaria        : https://mirror.telepoint.bg/manjaro/stable
::Netherlands     : https://manjaro.mirrors.lavatech.top/stable
::France          : https://manjaro.ynh.ovh/stable
::Germany         : https://mirror.informatik.tu-freiberg.de/manjaro/stable
::Bangladesh      : https://bd.mirror.vanehost.com/Manjaro/stable
::Switzerland     : https://manjaro.osmir.ch/stable
::Sweden          : https://ftpmirror1.infania.net/mirror/manjaro/stable
::India           : https://mirror.albony.xyz/manjaro/stable
::Germany         : https://mirror.moson.org/manjaro/stable
::Germany         : https://ftp.gwdg.de/pub/linux/manjaro/stable
::Canada          : https://osmirror.org/manjaro/stable
::Finland         : https://manjaro.kyberorg.fi/stable
::Russia          : https://mirror.truenetwork.ru/manjaro/stable
::Bulgaria        : https://manjaro.ipacct.com/manjaro/stable
::Russia          : https://mirror.yandex.ru/mirrors/manjaro/stable
::New_Zealand     : https://mirror.2degrees.nz/manjaro/stable
::United_States   : https://repo.ialab.dsu.edu/manjaro/stable
::Costa_Rica      : https://mirrors.ucr.ac.cr/manjaro/stable
::United_States   : https://mirror2.sandyriver.net/pub/manjaro/stable
::United_States   : https://mirror.math.princeton.edu/pub/manjaro/stable
::United_States   : https://uvermont.mm.fcix.net/manjaro/stable
::Georgia         : http://manjaro.grena.ge/stable
::Canada          : https://mirror.xenyth.net/manjaro/stable
::Italy           : https://ba.mirror.garr.it/mirrors/manjaro/stable
::Chile           : http://manjaro.dcc.uchile.cl/stable
::Russia          : https://mirror.kamtv.ru/manjaro/stable
::Japan           : https://mirrors.xtom.jp/manjaro/stable
::Belgium         : http://ftp.belnet.be/mirrors/manjaro/repos/stable
::United_States   : http://mirror.fcix.net/manjaro/stable
::Singapore       : https://download.nus.edu.sg/mirror/manjaro/stable
::United_Kingdom  : http://manjaro.mirrors.uk2.net/stable
::United_States   : https://irltoolkit.mm.fcix.net/manjaro/stable
::United_States   : https://southfront.mm.fcix.net/manjaro/stable
::United_States   : https://mirrors.ocf.berkeley.edu/manjaro/stable
::Portugal        : https://mirrors.up.pt/pub/manjaro/stable
::Iran            : https://mirror.bardia.tech/manjaro/stable
::China           : https://mirrors.sjtug.sjtu.edu.cn/manjaro/stable
::Singapore       : http://ossmirror.mycloud.services/os/linux/manjaro/stable
::Germany         : https://mirror.alpix.eu/manjaro/stable
::Ukraine         : https://fastmirror.pp.ua/manjaro/stable
::Austria         : https://mirror.alwyzon.net/manjaro/stable
::Poland          : https://ftp.psnc.pl/linux/manjaro/stable
::United_Kingdom  : https://www.mirrorservice.org/sites/repo.manjaro.org/repos/stable
::United_States   : https://ridgewireless.mm.fcix.net/manjaro/stable
::France          : https://mirror.ibakerserver.pt/manjaro/stable
::Germany         : http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable
::Hungary         : https://quantum-mirror.hu/mirrors/pub/manjaro/stable
::South_Africa    : http://mirror.is.co.za/mirrors/manjaro.org/stable
::United_States   : https://mnvoip.mm.fcix.net/manjaro/stable
::United_Kingdom  : https://mirror.cyberhost.uk/sites/manjaro/stable
::Canada          : https://mirror.csclub.uwaterloo.ca/manjaro/stable
::Belgium         : https://mirror.futureweb.be/manjaro/stable
::Australia       : https://manjaro.lucassymons.net/stable
::Italy           : https://manjaro.mirror.garr.it/manjaro/stable
::Germany         : https://mirror.tarnkappe.info/manjaro/stable
::Austria         : https://mirror.easyname.at/manjaro/stable
::China           : https://mirrors.tuna.tsinghua.edu.cn/manjaro/stable
::Chile           : https://mirror.ufro.cl/manjaro/stable
::Poland          : https://repo.skni.umcs.pl/manjaro/stable
::United_States   : https://forksystems.mm.fcix.net/manjaro/stable
::Spain           : https://mirrors.ft.uam.es/manjaro/stable
::United_States   : https://opencolo.mm.fcix.net/manjaro/stable
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
pacman: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory

try installing it:
pacman -S openssl

Still no luck:

pacman: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory

ok, so try using external pacman…
first exit chroot with:
exit
then run these commands:

sudo sed -i 's/ trap/#trap/' /usr/lib/manjaro-tools/util-mount.sh
exit | manjaro-chroot -a
sudo pacman --sysroot /mnt -S openssl

Results:

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
 openssl-3.0.7-4-x86_64       5.1 MiB  1068 KiB/s 00:05 [#############################] 100%
(1/1) checking keys in keyring                          [#############################] 100%
(1/1) checking package integrity                        [#############################] 100%
(1/1) loading package files                             [#############################] 100%
(1/1) checking for file conflicts                       [#############################] 100%
(1/1) checking available disk space                     [#############################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Processing package changes...
(1/1) upgrading openssl                                 [#############################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

now rerun the update again:

sudo pacman --sysroot /mnt -Syu

Results below, mentioning the Nvidia stuff. Same thing that prevented me from updating anything before the OS wouldn’t reboot.

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community                    7.5 MiB  1760 KiB/s 00:04 [#############################] 100%
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing nvidia-390xx-utils (390.157-1) breaks dependency 'nvidia-utils=390.154' required by linux519-nvidia-390xx
:: installing nvidia-390xx-utils (390.157-1) breaks dependency 'nvidia-utils=390.154' required by linux519-rt-nvidia-390xx

remove the following:

sudo pacman --sysroot /mnt -R linux519-rt linux519 linux519-nvidia-390xx linux519-rt-nvidia-390xx

rerun it again:

sudo pacman --sysroot /mnt -Syu

I tried running that first command, only to get this:

checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing linux519 breaks dependency 'linux519' required by linux519-bbswitch