[Pkg-cryptsetup-devel] Bug#412210:

David Härdeman david at hardeman.nu
Thu Mar 1 08:54:59 CET 2007


On Wed, February 28, 2007 21:43, Leonard Norrgård said:
>> Also, what behaviour do you get when you boot after the suspend? Does it
>> try to setup the swap partition but fails? Does it print error messages?
>> Is the swap partition silently ignored?
>
> Here is a manually copied selection of relevant messages on the screen:
>
> [...]
> | Setting up cryptographic volume VG00-swap_crypt (based on
> /dev/mapper/VG00-swap)
> | Enter LUKS passphrase:
> | key slot 0 unlocked.
> | Command successful.
> | cryptsetup: unknown fstype, bad password or options?
> | Enter LUKS passphrase:

Hmm...that's weird.

Could you please edit
/usr/share/initramfs-tools/scripts/local-top/cryptroot, go to the lines in
the "setup_mapping()" function which say:

  eval $(fstype < "$NEWROOT")

  # See if we need to setup lvm on the crypto device

and add two lines so that it looks like this:

  eval $(fstype < "$NEWROOT")

  echo "Details for $NEWROOT (detected as $FSTYPE)"
  fstype < "$NEWROOT"

  # See if we need to setup lvm on the crypto device

Then run "update-initramfs -u", reboot and provide me with the output (the
first failure is enough)

-- 
David Härdeman





More information about the Pkg-cryptsetup-devel mailing list