System repair issues

I am trying to repair my installation that doesn’t start after an update using this thread:

but i have problems following this manual.

─sdc1 8:33 0 430G 0 part
│ └─luks-44c41a39-3385-4d26-afdb-b43e88fddb53
│ 254:0 0 430G 0 crypt /run/media/manjaro

When I try to mount this device I get following resul

[manjaro@manjaro ~]$ sudo mount /dev/sdc1 /mnt
mount: /mnt: unbekannter Dateisystemtyp »crypto_LUKS«.
[manjaro@manjaro ~]$

The system has mounted via the GUI after asking for the password and I am also able to access the files.


Next issue downloading chroot

[manjaro@manjaro ~]$ sudo pacman -S manjaro-chroot
Warnung: database file for ‘core’ does not exist (use ‘-Sy’ to download)
Warnung: database file for ‘extra’ does not exist (use ‘-Sy’ to download)
Warnung: database file for ‘community’ does not exist (use ‘-Sy’ to download)
Warnung: database file for ‘multilib’ does not exist (use ‘-Sy’ to download)
Fehler: Ziel nicht gefunden: manjaro-chroot
[manjaro@manjaro ~]$

What do I have to do in order to make progress?

Regards Maik

On the live usb, manjaro-chroot is already installed.

For the other issue, you have to use cryptSetup to open the encrypted LUKS container first.

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.

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…
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?