I have UEFI enabled in my BIOS and a Ubuntu installed in the single hard disk available in the machine. There are two Linux partitions in this hard disk: /boot/efi and /. I have recently booted via UEFI in a live USB with the same version of Ubuntu and encrypted the / partition using luksipc, a tool which converts an unencrypted partition to a encrypted partition. I can successfully access the encrypted partition using cryptsetup luksOpen, so that process went fine.
My problem is in the boot. I have altered crypttab and fstab and regenerated initram (update-initramfs) and grub conf files (update-grub) and binary (grub-install). Finally, I have rebooted, but the boot gets stuck at the GRUB command line.
What am I doing wrong? Do I need to have /boot in an additional unencrypted partition so that GRUB can find its files in /boot (which is currently in the encrypted partition /) ?