[Bug 1153661] Re: The disk drive for /dev/mapper/cryptswap1 is not ready yet or not present

Jan Henke 1153661 at bugs.launchpad.net
Wed May 20 06:52:39 UTC 2015


You can manually fix both /etc/crypttab and /etc/fstab, either using the
correct UUID or using the partion identifier (e.g. /dev/sda3). What I
did to fix the mentioned error message is editing /etc/rc.conf and
adding a `wait 1` before the return 0. This instructs the init demon to
wait a second before resuming boot, this should give it enough time to
initialise the cryptswap. You might want to increase the time, based on
your system's io speed.

If you want to go to a plain (none-encrypted) swap, you can create it on the terminal with
    sudo mkswap <path to partion>
e.g.
    sudo mkswap /dev/sda3

Be aware this command destroys the content of that partition! The
command will also display the UUID of the newly created swap partition,
so you can update your fstab accordingly.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cryptsetup in Ubuntu.
https://bugs.launchpad.net/bugs/1153661

Title:
  The disk drive for /dev/mapper/cryptswap1 is not ready yet or not
  present

Status in cryptsetup:
  New
Status in cryptsetup package in Ubuntu:
  Triaged

Bug description:
  Related to this bug
  (https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/1091792)
  mountall 2.48 is still showing most times on booting that
  /dev/mapper/cryptswap1 is not ready.

  My system was configured on installing to use ecryptfs on my home
  partition. This is why my swap partition was automatically configured
  to be encrypted with dm-crypt.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cryptsetup/+bug/1153661/+subscriptions



More information about the foundations-bugs mailing list