initrd - missing /conf/conf.d/cryptroot

Bug #186637 reported by Werner Kuballa on 2008-01-28
Affects Status Importance Assigned to Milestone
initrd-tools (Ubuntu)

Bug Description

Not sure if it's a real problem or just the way I installed 8.04 ...

After installation of hardy-alpha3-dekstop-amd64 on a system with existing disk encryption the initrd of the installed system does not have "/conf/conf.d/cryptroot" and does not boot. After manually adding this file to initrd the system boots fine.


My configuration:
Thinkpad T60 with 250GB disk; the disk has two partitions: a small /boot partition (sda1) and the rest is used as device for an encrypted volume (sda2). The encrypted partition (/dev/mapper/sda2_crypt) is used as physical device for lvm. The lvm device is split into several logical volumes, like the root and swap for my current 7.10 installation. I created a new volume (/dev/mapper/sysvg-heron3) with a ReiserFS for 8.04a3.

The installation:
I booted from the 804a3-desktop-amd64 cd into a live session.
apt-get update
apt-get install lvm2
apt-get install cryptsetup
modprobe dm-mod
modprobe dm-crypt
cryptsetup luksOpen /dev/sda2 crypto

start installer; install into /dev/mapper/crypto-heron3 with "do not install boot loader" checked

mkdir /targetb
mount /dev/sda1 /targetb # mount the 'real' /boot
copy vmlinuz, initrd from /target/boot to /targetb
create new entry in /targetb/grub/menu.lst

reboot into new 8.04a3

result: the boot hangs because sda2 is not set up as encrypted volume

solution: manually add a corresponding file "conf/conf.d/cryptroot" to the initrd disk of 8.04a3

Michael Nagel (nailor) wrote :

is this still an issue?

Changed in initrd-tools:
status: New → Incomplete

Hello Michael

I have not done a complete re-install on an encrypted disk, but I updated my
system many times over the past year and the problem never came up again.

So I guess, the problem is fixed and this is no longer an issue.

Thanks for following up.


On Sun, Jan 18, 2009 at 2:30 PM, Michael Nagel <email address hidden>wrote:

> is this still an issue?
> ** Changed in: initrd-tools (Ubuntu)
> Status: New => Incomplete
> --
> initrd - missing /conf/conf.d/cryptroot
> You received this bug notification because you are a direct subscriber
> of the bug.

Michael Nagel (nailor) on 2009-01-22
Changed in initrd-tools:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers