[Bug 1000927] Re: 12.04 new install or update: if LVM + full encrypted disk grub installation fails!
Jogarem
1000927 at bugs.launchpad.net
Wed May 23 09:46:20 UTC 2012
ok so it seems to work without this line in grub.cfg. I believe that I
have played around with that a little because I found similar bug
reports related to LVM..
I have done an update-grub , lvm line is removed, still booting. So the only thing I really need is the part of the cryptroot scripts.
As the time I tried to fix that problem I needed to do that in order to get the password prompt for the encrypted disk:
cp /usr/share/initramfs-tools/hooks/cryptroot /etc/initramfs-tools/hooks/
cp /usr/share/initramfs-tools/scripts/local-top/cryptroot /etc/initramfs-tools/scripts/local-top/
I also had added those both lines to /etc/initramfs-tools/modules
lvm
dm_crypt
But I'm not sure if they are needed?!
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1000927
Title:
12.04 new install or update: if LVM + full encrypted disk grub
installation fails!
Status in “grub2” package in Ubuntu:
New
Bug description:
I tried to install Ubuntu v12.04 (in German) with the Alternate CD
installer in text mode.
If choosing LVM with full disk encryption the Ubuntu installer fails
when trying to install grub.
If I then go to another TTY (CLI) and install grub manually (successfully) and then skipping the installation of grub in the alternate installer the installation finishes more or less ok.
The next reboot fails because grub does not know anything about LVM and the initrd does not know anything about dm-crypt.
I loaded the corresponding modules manually and then was able to boot. But I can not get a working grub config which includes the "insmod lvm" line within so I need to do that after each kernel update manually.
This problem occured first time when I UPGRADED from 11.10 to 12.04.
So I thought it could be a upgrading process problem but I have done a
complete new install on the same system (so no upgrade) and even with
that I see the same problem. As soon as I choose LVM and full disk
encrytion the grub installation will fail.
Unfortunately I have no files or logs regarding that issue but it is
reproducable. So if it is really (really) necessary to work this out I
could re-setup this in a VM and provide what you may need.
This also happens on a second system so it seems to be not hardware
specific ..
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1000927/+subscriptions
More information about the foundations-bugs
mailing list