[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 15:44:37 UTC 2012


Output of "sudo fdisk -lu"


Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 Köpfe, 63 Sektoren/Spur, 30401 Zylinder, zusammen 488397168 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0001372d

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sda1   *        2048      499711      248832   83  Linux
/dev/sda2          501758   488396799   243947521    5  Erweiterte
/dev/sda5          501760   488396799   243947520   83  Linux

Disk /dev/mapper/sda5_crypt: 249.8 GB, 249801469952 bytes
255 Köpfe, 63 Sektoren/Spur, 30369 Zylinder, zusammen 487893496 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Festplatte /dev/mapper/sda5_crypt enthält keine gültige
Partitionstabelle

Disk /dev/mapper/vg--laptop-root: 190.0 GB, 189997776896 bytes
255 Köpfe, 63 Sektoren/Spur, 23099 Zylinder, zusammen 371089408 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Festplatte /dev/mapper/vg--laptop-root enthält keine gültige
Partitionstabelle

Disk /dev/mapper/vg--laptop-BACKUP: 55.4 GB, 55398367232 bytes
255 Köpfe, 63 Sektoren/Spur, 6735 Zylinder, zusammen 108199936 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Festplatte /dev/mapper/vg--laptop-BACKUP enthält keine gültige
Partitionstabelle

Platte /dev/mapper/vg--laptop-swap: 4404 MByte, 4404019200 Byte
255 Köpfe, 63 Sektoren/Spur, 535 Zylinder, zusammen 8601600 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Festplatte /dev/mapper/vg--laptop-swap enthält keine gültige
Partitionstabelle

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