I have been using EndeavourOS since some month and was mostly happy.
Some issues (another story) made me trying out Mint and I regret it right after the installation.
The Mint installation somehow corrupted the boot process of EndeavourOS.
I could get the grub boot entry back by updating grub.
But when selecting it I get the error:
error: file `/boot/vmlinuz-linux' not found.
error: you need to load the kernel first.
Then I tried to solve it from a USB with the EndeavourOS, but got stuck as well.
I tried these steps:
sudo mount /dev/nvme0n1p1 /mnt/boot/efi
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo mount --bind /run /mnt/run
sudo chroot /mnt
grub-install /dev/nvme0n1
The last command gives a failure:
[root@EndeavourOS /]# grub-install /dev/nvme0n1
Installing for x86_64-efi platform.
EFI variables are not supported on this system.
EFI variables are not supported on this system.
grub-install: error: efibootmgr failed to register the boot entry: No such file or directory.
Can someone guide me to what I need to do, to get EndeavourOS running again?
You cant use chroot on arch based. It has to be arch-chroot booting off a live usb of EOS. Also Mint doesn’t play well with arch based distros as far as the boot loaders go. Therefore it is better to let EOS be in control of the boot process. Also not sure if you installed in UEFI or Bios both on Mint and EOS.
You would need to mount your root/system partition first before mounting your ESP.
Then using sudo arch-chroot /mnt makes all of the following unnecessary:
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo mount --bind /run /mnt/run
sudo chroot /mnt
At any rates, in order to being able to give more precise instructions, we would need some more additional info.
From your EnOS live session, post the output of the following commands.
Also, if using several disks, please indicate on which one your EnOS is installed.
Thank you for your feedback.
I decided to install EnOS on the partitions where I have tested Mint.
The older EnOS installation was not detected automatically, so I will try following the explanations from the links you gave above to reactivate it.