I already tried those steps and didn’t help. Now what I did was I inserted the SSD with Windows 10, shrinked it and allocated a little bit of space so I can install another Linux. I installed it alongside Windows and it recreated the GRUB. So now I am able to access my Antergos and Windows. It’s a bad fix but I needed the laptop working asap :)
parted -lI saw that sda1 has name UEFI_SYSTEM with flags boot,esp and sda2 has name ANTERGOS_BOOT so I guess the sda2 is my boot partition. So I tried the same method with sda2 partition mounted like this
sudo mount /dev/sda2 /mnt/bootand tried to create the the config file but I got the same warning.
I tried to edit
use_lvmetad = 0but that didn’t solve the problem
My partitions are mounted as follows:
sda4 5.8G sda2 256M sda3 925.3G /mnt sda1 200M /mnt/boot
mnt/bootthe structure is like this:
-EFI-| |-antergos_grub |-BOOT |-Microsoft
After that I did
sudo chroot /mnt
Then I did
sudo grub-mkconfig -o /boot/EFI/antergos_grub/grub.cfgand got the following warning: ‘Failed to connect lvmetad. Falling back to device scanning.’
I am using Antergos Linux on my Lenovo laptop. Everything was working fine until I put another hard drive in the laptop. The new hard drive has Windows 10 installed so probably that messed up my system.
First I was getting the following error: PXE-M0F: Exiting PXE ROM. So I read that it was trying to boot from the LAN card. After disabling that option in the BIOS the laptop just keeps restarting without showing anything.
The boot priority is set right so that is not the problem. I guess the Windows messed up my boot loader but I am not sure. The drive is not broken because I entered with live Antergos CD and managed to access the files.
Does anyone know what is causing the problem and how to fix it?