Due to PCR failure my PC have lost something in UEFI and I haven't got Debian 11 installation but Win10 instead.
One fine day I have lost GRUB from Secure UEFI and got only Win10 left.
Luckily I still have LiveUSB with installation menu and could boot into the system to find out there's no more GRUB in UEFI list:
Code: Select all
user@debian:~$ efibootmgr
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001,0000
Boot0000* Windows Boot Manager
Boot0001* UEFI: Generic Flash Disk 8.07
So using above mentioned wiki source gets me stuck at the Third Check Point where the partition mounting starts.
I just can't mount '/boot' partition hidden inside LVM covered '/'
Any thoughts how to do it?
I've tried everything from the wiki.debian.org/GrubEFIReinstall and got some results.
Like '/sys/firmware/efi/efivars/' is safe and kept where it should be.
Here is my 'fdisk -l' output
Followed by ' vgdisplay && lgdisplay' combined.
Is there a chance to restore GRUB by mounting /boot partition back and simply following on wiki.debian.org/GrubEFIReinstall?
!!!
!!!
!!!
UPDATE: I could manage to join the partition '/dev/sda1' to '/mnt/boot' and by LVM wiki study to organize remaining of '/mnt/' folder from the GrubEFIReinstallation manual by use of 'KDE partitionmanager' from this location.
But here comes tricky part of article 4 in it:
Code: Select all
# for i in /dev /dev/pts /proc /sys /sys/firmware/efi/efivars /run; do sudo mount -B $i /mnt$i; done
Code: Select all
'user@debian:~$ sudo for i in /dev /dev/pts /proc /sys /sys/firmware/efi/efivars /run; do sudo mount -B $i /mnt$i; done
bash: syntax error near unexpected token `do'