I guess I’m trying to mount the wrong devices? my actual drive should be /dev/nvme0n1p1
Try unmounting all the already mounted partitions.
sudo su
umount -R -a
Now assuming the /dev/nvme0n1p1
and /dev/nvme0n1p2
are EnOS’ EFI and system partitions respectively:
mount /dev/nvme0n1p2 /mnt
mount /dev/nvme0n1p1 /mnt/boot/efi
arch-chroot /mnt
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=EndeavourOS
grub-mkconfig -o /boot/grub/grub.cfg
Now typeexit
to leave the chroot.
Check with efibootmgr -v
to see if you now have a boot entry for EnOS in bios.
Hopefully, if you don’t hit the Secure Boot issue again, you will be able to boot into your EnOS system.
Managed to get back in… damn this was scary.
Anything I can do to try and avoid further issues? everything started just because I tried to boot into tails… scared to try again but I have to
Great!
I am not really sure what caused the issue at the outset. Apparently, something somehow had wiped the content of your EnOS’ /boot/efi and therefore rendering your EnOS unbootable. I don’t see how booting Tails could have done it.
Regarding the Secure Boot being renabled at every reboot, I don’t have other ideas than the CMOS battery issue. Usually when your settings in Bios wouldn’t remain as you have set them, it points to a failing battery. There might be other reasons as well. I hope others will chime in and give you some more insight into this.
Thanks. It was also so weird that I tried to disable secure boot for days with no luck then it randomly worked… the wonder of machines
I was off busy doing some stuff. So finally i see you got it to come up with a messed up grub once you got secure boot disabled. Thanks @pebcak for walking you through arch-chroot to reinstall grub. Hopefully now you won’t have an issue since originally you had this problem. My honest opinion is some of these manufacturers have a very poor implementation of UEFI. It’s just the basics and the Bios has limited functionality compared to what I’m used to on desktop boards. Anyway glad it’s working.
definitely… this laptop was gifted from a Chinese friend and bought there. is there anything I can do to upgrade the BIOS/UEFI?
Yes… if there is a UEFI Bios update for it you could. You’d have to check the Huawei support site and find your exact model to see if there a newer update for it. Check also for the instructions it shows to update it. If you find the info you can send me the link and i’ll look at it.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.