Package: dracut
Version: 020-2
Followup-For: Bug #719740

Hi there, I just installed a wheezy 7.6.0 on my system, and I'm using dracut 
020-2 (when 
installed, keep reading). I think also this bug is related to #705805

The default installation was OK, running Kernel 3.2.0 and initramfs-tools 
0.109.1. This 
Kernel has a bug (my USB W-Lan Stick doesn't work with a USB-3-Port, it seems 
the 
maintainer won't fix that :-/ ). I wanted to solve the Problem with a new 
Kernel from 
backports 3.12. This works great with dracut on a "not encrypted" installation. 
But with 
an encrypted system, it doesn't work.

Here at first my disk layout:
claudio@boromir:~$ lsblk
NAME                      MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda                         8:0    0 931,5G  0 disk  
├─sda1                      8:1    0   100M  0 part  
├─sda2                      8:2    0 292,9G  0 part  
├─sda3                      8:3    0    20G  0 part  
├─sda4                      8:4    0     1K  0 part  
|-sda5                      8:5    0 616,7G  0 part  
│ └─sda5_crypt (dm-0)     253:0    0 616,7G  0 crypt 
│   ├─boromir-swap (dm-1) 253:1    0   7,7G  0 lvm   [SWAP]
│   ├─boromir-root (dm-2) 253:2    0    28G  0 lvm   /
│   ├─boromir-home (dm-3) 253:3    0   9,3G  0 lvm   /home
│   └─boromir-opt (dm-4)  253:4    0 571,8G  0 lvm   /opt
└─sda6                      8:6    0   1,8G  0 part  /boot

Just for the understanding. I have 2 Debian installations, one unencrypted in 
sda6 (only 
Debian base system), which works with kernel 3.12 from bpo and dracut, and my 
main 
installation in (dm-2) works also with 3.2.0 (mounting everything in sda5_crypt 
+ sda6 (as 
/boot))

See http://smcv.pseudorandom.co.uk/2008/09/cryptroot/ for more details. 
sda1-sda4 are 
irrelevant.

When sda5-dm2 has Kernel 3.2 and initramfs-tools, and sda6 has kernel 3.12, I 
can boot 
both.

So then I installed on sda5-dm2 kernel 3.12 too, and also the needed dracut. If 
I then 
reboot, I will enter the crypt-volume password as prompted, but then nothing 
happen. I 
waited some minutes, but nothing happened at all. I read that there should be a 
dracut 
console... but even that doesn't show up. The first time I enter the password, 
it won't 
echo. But after that every thing I type, will be echoed. (Nothing happens 
anyway)

Probably another bug is that the keyboard layout was not loaded. So I typed a 
password 
using the "en" Layout. And I tryed also to type this correctly (using the wrong 
layout). 
Nothing worked.

The rc.auto=1 also didn't work.

And odd enough: The unencrypted partition (sda6) wouldn't also boot. When I 
select it in 
grub, it also asks for a password, and it hangs there. Before the update, I 
mustn't enter 
a password for this partition.

Here is at least some useful information, I found nowhere:

When I'm in this state, no Debian partition will boot anymore. To repair the 
boot I do the 
following:

- Boot from the Debian Netinstall CD
- Select rescue
- Enter the password for the encrypted volume, when asked for
- Mount the / of the installation (dm2)
- Start a shell on the partition.
- Mount the /boot (manually)
- Remove the 3.12 kernel and dracut.
- Reinstall initramfs-tools

After that the boot will still hang. So you need also to recreate the initrd.

I used then
update-initramfs -k all -ut

Only after that I was able to boot the system again.

I haven't tryed a newer version of dracut, as there is none in 
proposed-updates. Will it 
be a problem to install the version of jessey or sid in wheezy? Or will be 
there a version 
for bpo?

Sorry that I'm reporting this now from a system without dracut, but I can only 
boot my 
encryped system on wheezy without it.

What should I do/try?

-- System Information:
Debian Release: 7.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dracut depends on:
ii  cpio               2.11+dfsg-0.1
ii  kbd                1.15.3-9
pn  kpartx             <none>
ii  module-init-tools  9-3
ii  udev               175-7.2
ii  util-linux         2.20.1-5.3

Versions of packages dracut recommends:
ii  cryptsetup  2:1.4.3-4
pn  dmraid      <none>
ii  dmsetup     2:1.02.74-8
ii  lvm2        2.02.95-8
ii  mdadm       3.2.5-5

Versions of packages dracut suggests:
pn  dracut-network  <none>


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to