I need to "covert" from an ext4 linux boot partition to an ESP (UEFI/SecureBoot) boot partition in order to eventually move the current OS to another PC I currently have, which is UEFI/SecureBoot only (can't disable either UEFI or SecureBoot).
As my current PC is getting older and older, as it supports both linux boot partition and ESP (UEFI), moving to ESP/UEFI boot seems the right choice instead to start anew on my other PC. Cant buy a new PC, and, my OS was originally installed in linux boot mode with encryption.
This "move" or "conversion" would ensure the portability of the OS, from my old PC to the other PC I own, in case the old PC dies on me, thus hopefully ensuring the smoothest transition between PC's. My OS is on an external drive.
I would start anew, if it was possible for me to restore without lost on the new UEFI/SecureBoot only PC all current customizations/apps I actually have on my current PC, but still want portability, so I can use both PC's at the same time.
Also, my OS is a fully encrypted system (i.e: default encryption setting of the installer). Lastly, I don't have space to create an additional ESP partition, one of the reason for the "conversion" (I would need to resize the lucks partition, and it's content).
Here's what I think are the steps I need to take to make it so:
1- ensure that UEFI support is compatible for both PC's, and ensure that SecureBoot support won't hinder to boot OS on a UEFI only that does not support SecureBoot;
2- make backup image of the ext4 linux boot partition, the encrypted root partition, and data to preserve my OS in case of mishaps;
3- somehow convert ext4 linux boot partition to an ESP (UEFI/SecureBoot) boot partition;
4- test the new installation on both PC's to ensure/demonstrate portability;
Portability is the need/issue here. Is that feasible? Is there a better way to make it so? The difficulty level is not a problem for me.
Bookmarks