Ok, this is a hypothetical. I dont need to restore my grub2 right now, but sometimes I need to (reinstalling windows) and I wanna/need to know this.
For grub it is easy and no problem after doing it often.
I searched for solutions for grub 2 and all the HowTo's I found involved mounting the linux partition and chrooting into it. Thats not so easy when all there is unencrypted is /boot .. in grub that was enough since all the config files were in /boot
I guess I just answered my own question though. I probably have to start the Live CD and then decrypt the Luks partition and then chroot?
Oh man this is going to be harder since in the encryption is a Lvm.
sda1 /boot
sda2_crypt -> lvm1. /
2. swap
Can anyone help me through this problem? I want to test this on my laptop, so that I dont have to start sweating over my bootsectors when I try to restore grub2 on my production machine.
Thx, Matt
Bookmarks