Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Booting live iso files from encrypted partition #5
Comments
|
Hello. If I understand you correctly, you have a encrypted partition containing an iso that you would like to boot. My patches allow Grub to unlock an encrypted partition. Once that is done, its usual commands can be used to boot the iso in the same way as if that partition wasn't encrypted. That said, note that the decryption done by Grub allows Grub to see the encrypted partition so that it can load any specified kernel, initramfs or iso. The booting operating system must also have access to the filesystems it needs and must unlock any encrypted partitions this requires. The "unlocking" state does not pass from the boot loaded (Grub) to the operating system. The normal way for the OS (Linux) to unlock encrypted partitions is to include the necessary keys in an initramfs. You may run into problems if the booting kernel cannot unlock the filesystems it needs. I haven't personally tried to boot an ISO that resides on an encrypted partition. |
smacz42 commentedDec 9, 2015
As explained here I am attempting to boot a live iso that resides in an encrypted partition. However:
Some say that this is possible by booting a kernel (stored in the unencrypted /boot) to use to boot the iso in the encrypted filesystem. Would this patch enable GRUB to map between the filesystem and the kernel modules?
Just a shot in the dark here.