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?

6
  • 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: askubuntu.com/q/550486/164660 Jun 28, 2015 at 16:37
  • Did you recently install Ubuntu? If so, try the password for the account you created while installing.
    – Olathe
    Jun 28, 2015 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 askubuntu.com/questions/56843/…
    – Xen2050
    Jun 29, 2015 at 2:49
  • askubuntu.com/questions/550486/…
    – SDsolar
    May 6, 2018 at 21:51
  • Possible duplicate of how to unlock hard disk?
    – SDsolar
    May 6, 2018 at 21:52

1 Answer 1

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .