I have an SSD with multiple partitions.
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 309247 307200 150M EFI System
/dev/nvme0n1p2 309248 571391 262144 128M Microsoft reserved
/dev/nvme0n1p3 571392 129912831 129341440 61,7G Microsoft basic data
/dev/nvme0n1p4 465311744 467339263 2027520 990M Windows recovery environment
/dev/nvme0n1p5 467339264 497324031 29984768 14,3G Windows recovery environment
/dev/nvme0n1p6 497326080 500117503 2791424 1,3G Windows recovery environment
/dev/nvme0n1p7 129912832 465311743 335398912 160G Linux filesystem
nvme0n1p7 is currently NOT encrypted.
What I would like to do is to have this partition encrypted.
So, my steps:
- Create an image of this partition (done with Disks) and store it on an external drive
- Boot from LiveCD
- Using Disks: format the partition as a LUKS encrypted, restore the image from the external drive. No errors.
- Reboot.
At this point I'm stuck: I get into the grub> command line.
I actually expected to be prompt with the typical grub choice and then input the LUKS password.
So, my questions are:
- Is it possible to do what I have in mind, at all? So, instead of installing Ubuntu from scratch, just restore an existing image?
- If so, how do I get out of this situation? How should I configure Grub to let me pick the OS I want to start?
Thanks in advance!