<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFCC" text="#000000">
    <div class="moz-cite-prefix">I tried Puny Geek's method (ref:
      below), creating the missing resume file after mkswap. While the
      process seemed go to a successful completion, /swap was gone after
      reboot. Not to mention, the partition with /swap on it could no
      longer be "activated." I had to delete and recreate the /swap
      partition. At this point, as discussed previously, I'm ready to
      opt-out of an encrypted /swap but how do I get rid of the traces
      of encrypted swap and the associated error message at boot?<br>
      <br>
      (Oh, I know: this is a top post but you can always scroll down!)<br>
      <br>
      On 05/19/2015 04:23 PM, Rog wrote:<br>
    </div>
    <blockquote cite="mid:555B9BCE.8070005@gmail.com" type="cite">
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      <div class="moz-cite-prefix">On 05/19/2015 04:01 AM, Marcos
        Almeida Azevedo wrote:<br>
      </div>
      <blockquote
cite="mid:CACL4V1ZxAhNeG9v4bVD60yAFgYYYcetcNDm8zze_4y1ttSCG1w@mail.gmail.com"
        type="cite">
        <div dir="ltr"><br>
          <div class="gmail_extra"><br>
            <div class="gmail_quote">On Wed, May 6, 2015 at 9:25 AM, Rog
              <span dir="ltr"><<a moz-do-not-send="true"
                  href="mailto:linux.rog@gmail.com" target="_blank">linux.rog@gmail.com</a>></span>
              wrote:<br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div bgcolor="#FFFFCC" text="#000000"><span class="">
                    <div>On 05/05/2015 09:18 PM, Marcos Almeida Azevedo
                      wrote:<br>
                    </div>
                    <blockquote type="cite">
                      <div dir="ltr"><br>
                        <div class="gmail_extra"><br>
                          <div class="gmail_quote">On Wed, May 6, 2015
                            at 6:39 AM, Rog <span dir="ltr"><<a
                                moz-do-not-send="true"
                                href="mailto:linux.rog@gmail.com"
                                target="_blank">linux.rog@gmail.com</a>></span>
                            wrote:<br>
                            <blockquote class="gmail_quote"
                              style="margin:0px 0px 0px
                              0.8ex;border-left:1px solid
                              rgb(204,204,204);padding-left:1ex">
                              <div bgcolor="#FFFFCC" text="#000000">
                                When I boot, I see, "The device mapper
                                for /dev/mapper/cryptswap1 is not ready
                                or not present. Continue to wait, or
                                Press S to skip mounting or M for manual
                                recovery.<br>
                                <br>
                                Waiting has no apparent effect; M does
                                nothing.<br>
                                <br>
                                Gnome-system-monitor shows swap as not
                                available. Gnome-disk utility shows the
                                partition as inactive and when I
                                Activate it, the swap status changes
                                immediately to available.<br>
                                <br>
                                After a reboot, I get the same message
                                at boot, swap is not available and is
                                not active, according to Gnome-disk.<br>
                                <br>
                                I'm running Xubuntu 14.04 and updates
                                are current. But, I've seen the same
                                message at boot on another PC running
                                Xubuntu 12.04.<br>
                                <br>
                                Luckily, Linux manages memory memory
                                quite well so swap is seldom called into
                                action, and, I don't hibernate - just
                                suspend or shutdown.<br>
                                <br>
                                Solution? <br>
                              </div>
                            </blockquote>
                            <div><br>
                            </div>
                            <div>You may try this guide: <a
                                moz-do-not-send="true"
href="http://punygeek.blogspot.com/2012/10/ubuntu-1204-how-to-solve-disk-drive-for.html"
                                target="_blank">http://punygeek.blogspot.com/2012/10/ubuntu-1204-how-to-solve-disk-drive-for.html</a><br>
                            </div>
                            <div>It's for 12.04 but it might still work<br>
                            </div>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                  </span> Thanks, Marcos: I'll give that a try in a
                  couple of days . . . I'll be tied-up until Thursday
                  p.m.<br>
                </div>
              </blockquote>
              <div><br>
              </div>
              <div>Did it work?<br>
              </div>
            </div>
          </div>
        </div>
      </blockquote>
      Marcos: did not work. I tried it last night. I did a little more
      research and found this is very likely related to a bug, <a
        moz-do-not-send="true" class="moz-txt-link-freetext"
        href="https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1153661">https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1153661</a><br>
      <br>
      In short, it appears to have been around since ver. 12.04 with
      various attempts to cope with little success.<br>
      <br>
      In the short-term, it appears to me that the best solution is to
      dump encryption of /swap and go with a non-encrypted swap. BUT, I
      don't know how to do that!<br>
      <br>
      More comments:<br>
      <br>
      The encryption of /swap appears to be a byproduct of opting to
      encrypt /home during install of Xubuntu. This happened without my
      explicit invoking this option during install on two different
      systems.<br>
      <br>
      As noted by others, the UUID for encrypted swap is not correctly
      identified in /etc/crypttab as well as in /etc/fstab.<br>
      <br>
      Some suggest that the error is related to having installed from a
      thumb drive, which is what I did.<br>
      <br>
      Puny Geek suggests updating /etc/initramfs-tools/conf.d/resume.
      That file does NOT exist on my 14.04 install.<br>
      <br>
      As others have noticed, some fixes work for a current session but
      don't survive a re-boot. I had this experience by "activating" the
      /swap partition with the Disk Utility, previously known as
      "palimpsest" under 12.04.<br>
      <br>
      I concluded that, since this bug has been long-standing and others
      have not been successful in fixing it or having a lasting
      work-around, I'm not likely to be successful either. Hence the
      conclusion of living without it being encrypted is a nice work
      around. I encrypt /home on my portable devices to protect personal
      info if it is stolen. My guess is that it's unlikely for
      unencrypted info to be compromised because it's unlikely to sit in
      /swap and be read by a nefarious operator.<br>
      <br>
      Thanks to all who thought about this.<br>
      <br>
      Other, related links:<br>
      <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://askubuntu.com/questions/505880/message-disk-drive-for-dev-mapper-cryptswap1-is-not-ready-yet-or-not-present-ev">http://askubuntu.com/questions/505880/message-disk-drive-for-dev-mapper-cryptswap1-is-not-ready-yet-or-not-present-ev</a><br>
      <br>
      Oh: here's one I did not try: treating this as a timing error
      (also discussed elsewhere)<br>
      <a moz-do-not-send="true" class="moz-txt-link-freetext"
        href="http://ubuntuforums.org/showthread.php?t=2164313">http://ubuntuforums.org/showthread.php?t=2164313</a><br>
      <br>
      Other thoughts:<br>
      Try creating /etc/initramfs-tools/conf.d/resume with the correct
      UUID and go through Puny Geek's approach.<br>
      Hope for a solution in response to bug report.<br>
      <br>
      p.s. All of this fiddling around is what I anticipated when
      attempting a solution and why I put it off!<br>
      <br>
      /Roger<br>
    </blockquote>
    <br>
  </body>
</html>