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.
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
Ensure youâve got a relatively new ISO or at least one with a still supported LTS kernel.
Write/copy/dd the ISO to a USB thumb drive.
When done, boot with the above mentioned USB thumb drive into the live environment.
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 actualroot 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.
Tip:
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:
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.
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:
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
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