10

I'm using Ubuntu 15.04. I don't know what has happened; when I start and enter the passphrase, this message appears:

Please enter passphrase for disk ubuntu--vg-swap_1 (cryptswap1) on none!

What should I do?

Zanna
  • 70,465
  • Maybe you should have put encrypt your home folder during installation. Usually the passphrase is the same password to login. If you forgot, take a look here: http://askubuntu.com/q/550486/164660 – André Marinho Jun 28 '15 at 16:37
  • Did you recently install Ubuntu? If so, try the password for the account you created while installing. – Olathe Jun 28 '15 at 18:32
  • Sounds kind of like it wants a passphrase for an encrypted swap... I thought it was supposed to pick it's own random passphrase for swap... something doesn't sound right, maybe look in /etc/fstab, and this might be vaguely useful http://askubuntu.com/questions/56843/could-not-mount-dev-mapper-cryptswap1 – Xen2050 Jun 29 '15 at 02:49
  • https://askubuntu.com/questions/550486/hard-disk-decryption-forgotten-key?noredirect=1&lq=1 – SDsolar May 06 '18 at 21:51
  • @SDsolar: That doesn't answer how boot from encrypted drives. – David Foerster May 07 '18 at 13:18

1 Answers1

1

If your root partition is not encrypted, or if you're not sure, try this: Boot off a Ubuntu install DVD or USB stick and select Try Ubuntu.

If you are able to see your files, edit /etc/fstab and remove the line that looks like this:

/dev/mapper/ubuntu--vg-swap_1 none            swap    sw              0       0

Reboot and it shouldn't ask you for a passphrase.

If you can't see any files then your root partition is encrypted. I personally haven't experienced this issue, so I can't speak with certainty, but the system shouldn't need to access the swap partition to boot... try pushing enter a few times and see if it gives up and continues booting.

Curtis
  • 156
  • 4