3

Since yesterday installing the bumblebee-nvidia package I cannot boot into my Ubuntu 17.10 Desktop any more.

I get this error:

[FAILED] Failed to start Cryptography Setup for cryptswap1.
See 'systemctl status systemd-cryptsetup@cryptswap1.service' for details.
[DEPEND] Dependency failed for dev-mapper-cryptswap1.device.
[DEPEND] Dependency failed for Encrypted Volumes.

and then the system hangs.

This might be related to this bug. I cannot access any console to look in neither systemctl service output, nor logs, by that time. how can I fix this?

Here a photo of the boot screen:

enter image description here

rubo77
  • 34,024
  • 52
  • 172
  • 299

1 Answers1

1

I entered the root console from the grub rescue-kernel and then

  1. I removed the package bumblebee-nvidia which didn't help alone.

  2. I commented out (with a # at the start of the line) the line

    cryptswap1 /target/swapfile /dev/urandom swap,offset=1024,cipher=aes-xts-plain64
    

    in /etc/crypttab and

    /dev/mapper/cryptswap1                                 none                    swap    sw              0       0
    

    in /etc/fstab

After the first reboot this helped. after another reboot I ran into the same freeze again!

Then I removed the NVIDIA-Driver in the GUI for advanced drivers and added a swapfile instead of encryptedswap. This seems to solve the issue (but as a drawback has no encrypted swap any more)

rubo77
  • 34,024
  • 52
  • 172
  • 299