I accidentally bricked my system while updating today and I have been following this page to fix booting issues (I don’t see EndeavourOS as a boot option right now). It all goes well until I need to actually chroot into the system. I get the following error:
chroot: failed to run command '/bin/bash': Input/output error
I have looked for similar errors online and they all discuss hardware issues, but I’m doubtful this is the case since everything worked perfectly well until today and I have a dualboot with Windows working perfectly. Any idea what the problem might be?
sudo mount /dev/nvme0n1p6 /mnt sudo cat /mnt/etc/fstab sudo mount /dev/nvme0n1p8 /mnt/efi sudo arch-chroot /mnt
A friend of mine suggested I might have broken bash during the upgrade, and to rebuild bash on my system using the live environment’s pacman, but I also got an error here, namely:
(1/1) reinstalling bash call to execv failed (Input/output error) error: command failed to execute correctly call to execv failed (Exec format error) error: command failed to execute correctly
EDIT: Tried reinstalling base too, it gives me similar errors.
and I found a conflict between mkinitcpio and kernel-install-for-dracut. I assume it’s this conflict that’s preventing me from booting into my linux system. Could anyone tell me which one EndeavourOS naturally uses?
Ok, well. I reinstalled the base packages (which include bash as far as I’m aware). I also reinstalled dependencies (and some weren’t found for some reason). I think it’s probably easier to just save my /home folder and reinstall EndeavourOS.