Hi all!
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:The main problem to get use of GrubEFIReinstallation manual is the fact that I had managed my disk partitions with encrypted LVM and got '/boot' directory to be kept within '/' LVM.
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:It just doesn't run in my case. Keeps giving me How to correct the command above so it performs in the shell?
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:
user@debian:~$ efibootmgrBootCurrent: 0001Timeout: 1 secondsBootOrder: 0001,0000Boot0000* Windows Boot ManagerBoot0001* 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:
# for i in /dev /dev/pts /proc /sys /sys/firmware/efi/efivars /run; do sudo mount -B $i /mnt$i; done
Code:
'user@debian:~$ sudo for i in /dev /dev/pts /proc /sys /sys/firmware/efi/efivars /run; do sudo mount -B $i /mnt$i; donebash: syntax error near unexpected token `do'
Statistics: Posted by nikobit — 2024-04-06 14:47 — Replies 0 — Views 26