You are not logged in.

#1 2018-01-12 20:56:38

Ploppz
Member
Registered: 2013-09-14
Posts: 313

Windows update trashed grub - grub-mkconfig doesn't work

So updating Windows made grub just go into an error prompt stating "unknown filesystem" (booting Windows outside of grub still works fine). I arch-chroot'ed into the Arch Linux install to fix this:

I mounted the ESP partition (/dev/sda2) to /boot/efi, and as in the wiki I ran

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub

And then

grub-mkconfig -o /boot/grub/grub.cfg

.
However, the latter gives:

WARNING: Failed to connect to lvmetad. Falling back to device scanning.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.

/dev/sdb1 is the USB stick where the Arch live install resides.

Any idea what could be the problem?

Offline

#2 2018-01-13 09:10:37

Ploppz
Member
Registered: 2013-09-14
Posts: 313

Re: Windows update trashed grub - grub-mkconfig doesn't work

Actually grub works again nevertheless. However, it doesn't have an entry for Windows anymore.

Offline

Board footer

Powered by FluxBB