apt-get install --reinstall grub-efi-amd64
umount /boot/efi
mount /dev/sda2 /boot/efi
rm -r /boot/efi/*
grub-install --target x86_64-efi --efi-directory /boot/efi --recheck /dev/sda
umount /boot/efi
mount /dev/sdb2 /boot/efi
rm -r /boot/efi/*
grub-install --target x86_64-efi --efi-directory /boot/efi --recheck /dev/sdb
dpkg-reconfigure grub-efi-amd64
update-grub
update-initramfs -u
Created
May 5, 2020 16:17
-
-
Save belkone/19f1d6fc3d109a02bf9b4accedacdf44 to your computer and use it in GitHub Desktop.
Proxmox: Fix Grub UEFI+LVM+RAID1(mdadm)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment