[Bug 284904] [NEW] Full disk encryption intrepid install fails to boot

Muharem Hrnjadovic muharem at canonical.com
Fri Oct 17 10:48:43 UTC 2008


Public bug reported:

Binary package hint: initramfs-tools

I installed (from scratch) the intrepid beta on my trusty Dell D630
(using the ubuntu-8.10 beta alternate amd64 CD).

I installed with full disk encryption (only /boot is unencrypted and on a
separate partition (/dev/sda3), the rest is all on /dev/sda6).

After the upgrade the system will not boot properly and I end up at the
initramfs prompt.

Typing in the following commands will enable the box to boot:

{{{
cryptsetup luksOpen /dev/sda6 whatever
lvm vgchange -a y
exit
}}}

I also needed to uncomment the single line in /etc/crypttab

{{{
# sda6_crypt /dev/disk/by-uuid/15015193-11ef-4a98-8c5d-e551dae18fed none luks
}}}

since it resulted in subsequent boot errors.

Here's some more information about the system:

u81: ~ $ sudo fdisk -l /dev/sda
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0f800000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1045     8393931   83  Linux
/dev/sda2            1046        2090     8393962+  83  Linux
/dev/sda3            2091        2221     1052257+  83  Linux
/dev/sda4            2222       19457   138448170    f  W95 Ext'd (LBA)
/dev/sda5            2222        4310    16779861   83  Linux
/dev/sda6            4311       19457   121668246   83  Linux
u81: ~ $ uname -a
Linux u81 2.6.27-7-generic #1 SMP Tue Oct 14 18:38:59 UTC 2008 x86_64 GNU/Linux
u81: ~ $ sudo lvm pvs
  PV               VG   Fmt  Attr PSize   PFree
  /dev/block/254:0 u81i lvm2 a-   116.03G    0 
u81: ~ $ sudo lvm vgs
  VG   #PV #LV #SN Attr   VSize   VFree
  u81i   1   4   0 wz--n- 116.03G    0 
u81: ~ $ sudo lvm lvs
  LV   VG   Attr   LSize  Origin Snap%  Move Log Copy%  Convert
  home u81i -wi-ao 98.32G                                      
  root u81i -wi-ao  4.48G                                      
  usr  u81i -wi-ao  8.56G                                      
  var  u81i -wi-ao  4.66G                                      

Any ideas how this can be fixed?

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Full disk encryption intrepid install fails to boot
https://bugs.launchpad.net/bugs/284904
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to initramfs-tools in ubuntu.




More information about the kernel-bugs mailing list