@philm Sorry, could not get back here earlier. Was unwell. But back to normal now.
I have booted in my computer using the latest Manjaro KDE media. The partition manager shows a 300MB FAT32 partition (sda1) and an 8GB partition. I guess, it is SWAP (sda3). Then there is a large partition (sda2), I think it is /.
So, I will mount /dev/sda2 at /mnt.
Is sda1 boot partition or efi partition? What do I mount at /mnt/boot and at /mnt/boot/efi?
@moson Thanks. This is much simpler. Tried it. It returned:
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.
==> ERROR: No Linux partitions detected!
Could it be because the system was encrypted?
Also, it is looking at sdb1 whereas the system in question is on the hard disk sda2. sdb1 is the USB drive from which I have booted.
@moson Thanks. You may find this too basic. But please bear with me. I have used the KDE Partition Manager to unlock the encrypted partition and mounted the /dev/mapper/luks-xxx to /mnt. I have also mounted /dev/sda1 to /mnt/boot/efi and now will do manjaro-chroot /mnt.
This does not produce any error and produces a sh-5.1# prompt.
@moson We are back to square one — exactly where it all started. If I choose to boot 5.10 kernel, it just keeps showing me BIOS screen. If I boot 5.4 kernel, instead, it shows ‘Failed to start load kernel modules’.
After chrooting, journalctl -b 0 produces no output:
– Journal begins at Sat 2020-12-05 15:13:52 IST, ends at Sat 2021-05-01 20:10:18 IST. –
– No entries –
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-modesetting 2020.01.13 true PCI
video-linux 2018.05.04 true PCI
Warning: No installed USB configs!
Without chrooting, it produces:
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/catalyst/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-340xx-bumblebee/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-418xx-bumblebee/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-430xx-bumblebee/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-435xx-prime/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-440xx-prime/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/nvidia-340xx/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/nvidia-418xx/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/nvidia-430xx/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/nvidia-435xx/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/nvidia-440xx/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/network_drivers/r8168/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/network_drivers/rt3562sta/MHWDCONFIG' is invalid!
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-linux 2018.05.04 true PCI
> Installing video-nvidia...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
:: Synchronizing package databases...
warning: downgrading package lib32-nvidia-utils (465.24.02-1 => 460.73.01-1)
core is up to date
extra is up to date
community is up to date
multilib is up to date
resolving dependencies...
looking for conflicting packages...
:: nvidia-utils and nvidia-440xx-utils are in conflict (nvidia-libgl). Remove nvidia-440xx-utils? [y/N] error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: nvidia-utils and nvidia-440xx-utils are in conflict
Error: pacman failed!
Error: script failed!
@moson, Yes, indeed. I kept delaying the update. Lesson learnt. By the way, the removal is proving tricky. pacman -R nvidia-440xx-utils or pacman -Rs nvidia-440xx-utils causes:
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing nvidia-440xx-utils breaks dependency 'nvidia-utils' required by lib32-nvidia-utils
:: removing nvidia-440xx-utils breaks dependency 'nvidia-440xx-utils=440.100' required by linux54-nvidia-440xx
:: removing nvidia-440xx-utils breaks dependency 'nvidia-utils' required by nvidia-prime