Hi Jonas

On 17/12/15 11:22, Jonas Meurer wrote:
Hi John,

For some reason, the volume group is not activated by the cryptroot
script during initramfs stage. From the debug log it looks like
sda2_crypt is not unlocked. Is this correct or are you asked for a
passphrase during initramfs?

Correct, I am not asked for a passphrase.

Is there anything else I can do to help diagnose the problem?

In the initramfs emergency shell that starts, please run the following
commands and send us the result:

# ls -al /dev/mapper/
# No such file or directory

But
# ls /dev/mapper/

drwxr-xr-x  2 0 0     60 .
drwxr-xr-x 13 0 0   3060 ..
crw-------  1 0 0 10,236 control

# dmsetup table
# No devices found


and

# sed -i -e 's#/bin/sh#/bin/sh -x#g' /scripts/local-top/cryptroot
# /scripts/local-top/cryptroot>
# Syntax error: newline unexpected

but if I put a file name (on a mounted data stick) after this, the file contained:

  Reading all physical volumes.  This may take a while...
Begin: Waiting for encrypted source device... ... Reading all physical volumes. This may take a while...
  Reading all physical volumes.  This may take a while...
  Reading all physical volumes.  This may take a while...
  Reading all physical volumes.  This may take a while...
  Reading all physical volumes.  This may take a while...
  Reading all physical volumes.  This may take a while...
  Reading all physical volumes.  This may take a while...
  Reading all physical volumes.  This may take a while...
  Reading all physical volumes.  This may take a while...
  Reading all physical volumes.  This may take a while...
  Reading all physical volumes.  This may take a while...
  Reading all physical volumes.  This may take a while...
  Reading all physical volumes.  This may take a while...
  Reading all physical volumes.  This may take a while...
  Reading all physical volumes.  This may take a while...
  Reading all physical volumes.  This may take a while...
  Reading all physical volumes.  This may take a while...
  Reading all physical volumes.  This may take a while...
done.
ALERT! /dev/disk/by-uuid/48537739-1f62-4c12-8bf1-9d662d8cc74f does not exist.
        Check cryptopts=source= bootarg: cat /proc/cmdline
        or missing modules, devices: cat /proc/modules; ls /dev
-r Dropping to a shell. Will skip /dev/disk/by-uuid/48537739-1f62-4c12-8bf1-9d662d8cc74f if you can't fix.

There were other messages repeated on the screen.

I hope this helps.

John

Reply via email to