[Bug 1000927] Re: 12.04 new install or update: if LVM + full encrypted disk grub installation fails!

Jogarem 1000927 at bugs.launchpad.net
Tue May 22 08:06:41 UTC 2012


Well yes fine to hear that Tynach has fixed his similar problem but he
was not the bug reporter so it makes no sense to make this report
invalid when he fixes his issue which is not completely the same then
mine isn't it?!

The problem still exists and there is no fix or workaround known for
this problem. I have only 1 hdd in my system so the workaround(!) of
Tynach ( <-- yes it is a workaround to do grub-install manually because
of the Ubuntu installer fails... ) does not work for me.

I have done grub-installation also manually (including mounting /boot
manually too) to get the system working but this is not a fix or
whatever. Ubuntu should fix that in order to get a working system
without deep Linux Knowhow or doing things like grub installation
manually - If I want that I would choose another distro.

The whole thing works very fine until and including Ubuntu 11.10. It
stops working this way in 12.04. I do not believe that this a very
special setup doing a full disk encryption with a manual partition
layout and again it had worked before precise.

Even if I repeat myself but even if I have done that grub installation
manually I still encounter problems because the line "insmod lvm" is
missing in the grub.cfg and I had to copy the cryptroot scripts by hand
to the initrd dirs in order to decrypt my hdd when starting. That is a
major and very ugly problem.

I'm an Ubuntu user since 6 years now and was always happy with it but
because of that problem I was thinking for about 10s to switch to
another distro (I do that again because of this bug handling btw). Maybe
the time of Ubuntu is over for advanced users using disk encryption or
doing manual partition layouts on lvm - I don't know.

Sorry for the hard words but there is a lot of emotion within my
relationship to Ubuntu because I like(d) it so much.

-- 
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