[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#485789: initramfs-tools: With crypted LVM, tries to start LVM before decryption



Adding Max Vozeler and David Härdeman to the CC.

* Didier Raboud <didier@raboud.com> [2008-06-11 15:06]:
> Package: initramfs-tools
> Version: 0.92b
> Severity: normal
> 
> Hi, 
> 
> I installed LennyBeta2 (under Qemu) with the graphical installer and 
> chose "crypted LVM". The thing is that on boot, the initramfs firstly tries 
> to open (initiate ?) the LVM before it actually has access to it (because it 
> is encrypted).
> 
> It results in an error (attached) which could be avoided if the encrypted 
> partition is opened before the LVM is initiated.
> 
> Regards, 
> 
> Didier
> 
> 
> -- Package-specific info:
> -- /proc/cmdline
> root=/dev/mapper/debian-root ro quiet
> 
> -- /proc/filesystems
> 	ext3
> 
> -- lsmod
> Module                  Size  Used by
> battery                19976  0 
> sbs                    20880  0 
> sbshc                  12032  1 sbs
> dock                   16032  0 
> ac                     11400  0 
> video                  25620  0 
> output                  8704  1 video
> container               9856  0 
> loop                   22788  0 
> parport_pc             42408  0 
> parport                44812  1 parport_pc
> psmouse                45724  0 
> pcspkr                  7808  0 
> serio_raw              11908  0 
> i2c_piix4              13708  0 
> i2c_core               29824  1 i2c_piix4
> button                 13984  0 
> evdev                  17024  2 
> ext3                  139024  6 
> jbd                    55976  1 ext3
> mbcache                13952  1 ext3
> sha256_generic         13312  0 
> aes_x86_64             29992  2 
> aes_generic            31040  0 
> cbc                     9088  1 
> blkcipher              11780  1 cbc
> dm_crypt               18568  1 
> dm_mirror              27008  0 
> dm_snapshot            21960  0 
> dm_mod                 67832  18 dm_crypt,dm_mirror,dm_snapshot
> ide_cd                 44704  0 
> cdrom                  39464  1 ide_cd
> ide_disk               20992  3 
> 8139too                33024  0 
> ata_generic            13060  0 
> libata                162992  1 ata_generic
> scsi_mod              170296  1 libata
> floppy                 66664  0 
> 8139cp                 28672  0 
> mii                    10240  2 8139too,8139cp
> uhci_hcd               30112  0 
> piix                   13316  0 [permanent]
> generic                 9732  0 [permanent]
> ide_core              144920  4 ide_cd,ide_disk,piix,generic
> thermal                22688  0 
> processor              45032  1 thermal
> fan                     9864  0 
> 
> -- /etc/kernel-img.conf
> # Kernel image management overrides
> # See kernel-img.conf(5) for details
> do_symlinks = yes
> relative_links = yes
> do_bootloader = no
> do_bootfloppy = no
> do_initrd = yes
> link_in_boot = no
> postinst_hook = update-grub
> postrm_hook   = update-grub
> 
> -- /etc/initramfs-tools/initramfs.conf
> MODULES=most
> BUSYBOX=y
> KEYMAP=n
> BOOT=local
> DEVICE=eth0
> NFSROOT=auto
> 
> -- /etc/crypttab
> hda2_crypt /dev/hda2 none luks
> 
> 
> -- System Information:
> Debian Release: lenny/sid
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.24-1-amd64 (SMP w/1 CPU core)
> Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages initramfs-tools depends on:
> ii  cpio                          2.9-13     GNU cpio -- a program to manage 
> ar
> ii  findutils                     4.4.0-2    utilities for finding 
> files--find,
> ii  klibc-utils                   1.5.9-2    small utilities built with klibc 
> f
> ii  module-init-tools             3.4-1      tools for managing Linux kernel 
> mo
> ii  udev                          0.114-2    /dev/ and hotplug management 
> daemo
> 
> Versions of packages initramfs-tools recommends:
> ii  busybox                       1:1.9.2-3  Tiny utilities for small and 
> embed
> 
> -- no debconf information
> -- 
> Didier Raboud, proud Debian user.
> CH-1802 Corseaux
> didier@raboud.com





-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: