System repair issues

On the second issue, the answer is right there, you need -Sy to sync the database before installing anything.

1 Like

I have now completed chroot on the encrypted hard drive, but now nex issue when I try to install the driver for my 2070 S

[manjaro /]# sudo mhwd -a pci nonfree 0300
Warning: No device of class 0300 found!

It’s realy a pain, when you know nothing in the console of an OS and have to aks for every step…

You have to do this inside the chroot.

you dont need to use chroot if you can enter into TTY … however, since you didnt post what the exact issue is you have its hard to tell… cant you boot into manjaro at all, or do you get stuck on black screen, or do you see some messages, when booting?

That was inside.

Oh, sorry. The system refused to boot after an update, it said something like your driver will not work with the new kernel or so. It been a year in the past.

https://forum.manjaro.org/t/manjaro-stuck-on-boot-after-update/82696?u=gbp27

so if i understand it correctly, you have this for a year… try booting into your installatian, and on the stuck screen can you enter into TTY by pressing Ctrl+Alt+F2 ? if so then try updating your system (yesterday was released a system update, so it will take some time):
sudo pacman-mirrors --fasttrack 5 && sudo pacman -Syyu

1 Like

TTY is working but besides that everything fails.


so again enter into TTY, and try running this command, it should resolve those dependencies:
sudo pacman-mirrors -f5 && pamac update

2,5 GB updates succeeded, installing driver with mhdw free non free whatever succeeded.
Still nothing more than a black screen.

so did you rebooted after the update?
so again enter TTY, and try uninstalling your nvidia drivers-dont install them again:
sudo mhwd -r pci video-nvidia
then try updating your grub and recreate initframs:
sudo update-grub
sudo mkinitcpio -P
then reboot: systemctl reboot
if you still get black screen enter TTY, and run this command: startx

1 Like

Thanks alot, that was the soloution.
The system is running again.

did it boot directly into your system or you had to use the startx command? if you had to use the command, than you still have issues, if you booted directly, then try again installing your nvidia drivers, go to system settings/hardware configuration/auto install proprietary driver, then reboot and check if you can boot normally

It booted into the system without the comman.
But it won’t let met install Nvidia drivers .

Waiting for user input…
Starting
Installing video-nvidia-470xx…
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia-470xx/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
:: Synchronizing package databases…
core downloading…
extra downloading…
community downloading…
multilib downloading…
error: target not found: linux59-nvidia-470xx
Error: pacman failed!
Error: script failed!

Fertig …

check what kernels do you have installed with:
mhwd-kernel -li

Currently running: 5.15.32-1-MANJARO (linux515)
The following kernels are installed in your system:

  • linux515

interesting… it looks like it detect an old kernel, try running this command:
sudo mhwd-kernel -r linux59

Is the old kernel a problem?

yes uninstall the 5.9 click on entfernen , then reboot, try installing nvidia drivers again, if the install went ok, reboot and check if you can boot normally

yes it is a problem, it says there nicht unterstutzt … it can cause all kind of problems keeping it, like not to be able to install drivers

Everything is working.
Thanks for the support!