Please note: The above workaround is not complete. After setting up your
filesystems and mount points, installation continues, but GRUB2
installation fails. After choosing "Continue without installing
bootloader", system reboots and GRUB2 comes up, but booting the new
Natty installation drops into the initram shell. Now  you have to

* enter "cryptsetup luksOpen /dev/sda5 sda5_crypt"
* enter "vgchange -ay" (no vgscan needed or even possible)
* enter "exit" to resume boot process.

After logging in, you have to set up a working /etc/crypttab (probably
missing because the installer did not create the crypted partition
itself) and create a new initrd. To do so,

* enter "sudo blkid | grep crypto_LUKS"

and copy/paste the UUID into a new /etc/crypttab file, which has to look
as follows:

sda5_crypt UUID=<UUID from blkid cmd here> none luks

Then regenerate the initrd:

* Enter "update-initramfs -u"

Now Ubuntu will ask for the passphrase of the encrypted partition and
boot successfully.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/285890

Title:
  Does not show encrypted partition

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to