Bug#485789: initramfs-tools: With crypted LVM, tries to start LVM before decryption
On Wed, June 11, 2008 15:26, Martin Michlmayr wrote: Adding Max Vozeler and David Härdeman to the CC. * Didier Raboud [EMAIL PROTECTED] [2008-06-11 15:06]: ... 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. It's intentional (although not very aesthetic). The cryptsetup initramfs scripts allows all other disk-related scripts to run first since you could have an encrypted LVM volume as well as LVM on an encrypted volume. After setting up the encrypted volume, the cryptsetup initramfs scripts will then perform the LVM/EVMS/etc setup when necessary. So the process is more like this: 1) LVM/EVMS/md/etc 2) cryptsetup 3) LVM/EVMS/md/etc -- David Härdeman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#485789: initramfs-tools: With crypted LVM, tries to start LVM before decryption
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 battery19976 0 sbs20880 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 parport44812 1 parport_pc psmouse45724 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 jbd55976 1 ext3 mbcache13952 1 ext3 sha256_generic 13312 0 aes_x86_64 29992 2 aes_generic31040 0 cbc 9088 1 blkcipher 11780 1 cbc dm_crypt 18568 1 dm_mirror 27008 0 dm_snapshot21960 0 dm_mod 67832 18 dm_crypt,dm_mirror,dm_snapshot ide_cd 44704 0 cdrom 39464 1 ide_cd ide_disk 20992 3 8139too33024 0 ata_generic13060 0 libata162992 1 ata_generic scsi_mod 170296 1 libata floppy 4 0 8139cp 28672 0 mii10240 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 thermal22688 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-2utilities for finding files--find, ii klibc-utils 1.5.9-2small 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 [EMAIL PROTECTED] attachment: initramfs_ordering.png signature.asc Description: This is a digitally signed message part.
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 [EMAIL PROTECTED] [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 battery19976 0 sbs20880 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 parport44812 1 parport_pc psmouse45724 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 jbd55976 1 ext3 mbcache13952 1 ext3 sha256_generic 13312 0 aes_x86_64 29992 2 aes_generic31040 0 cbc 9088 1 blkcipher 11780 1 cbc dm_crypt 18568 1 dm_mirror 27008 0 dm_snapshot21960 0 dm_mod 67832 18 dm_crypt,dm_mirror,dm_snapshot ide_cd 44704 0 cdrom 39464 1 ide_cd ide_disk 20992 3 8139too33024 0 ata_generic13060 0 libata162992 1 ata_generic scsi_mod 170296 1 libata floppy 4 0 8139cp 28672 0 mii10240 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 thermal22688 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-2utilities for finding files--find, ii klibc-utils 1.5.9-2small 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 [EMAIL PROTECTED] -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]