Cryptsetup: Swap encryption with supend-to-disk doesn't work

Hello Community,
i'm trying to get swap encryption with suspend-to-disk support to a working state.
On my system only the /home partition is encrypted with cryptsetup-LUKS.
I'm using the howto on "Using a swap file" (with /home/swapfile as swap file) in the wiki: https://wiki.archlinux.org/index.php/Dm … sk_support
I followed exactly the given instructions:
From /etc/mkinitcpio.conf
HOOKS="base udev autodetect encrypt block resume filesystems keymap fsck"
From /etc/default/grub
GRUB_CMDLINE_LINUX="pcie_aspm=force pcie_aspm.policy=powersave pcie_port=native ipv6.disable=1 init=/usr/lib/systemd/systemd resume=/dev/mapper/crypthome resume_offset=16721572"
From /etc/fstab:
/home/swapfile none swap defaults 0 0
The swapfile is working. Suspend-to-disk also works. But when resuming, I always get:
ERROR: failed to open encryption mapping
The device UUID=... is not a LUKS volume and the crypto= parameter was not specified
running hook [resume]
Waiting 10 seconds for /dev/mapper/crypthome
ERROR: resume: hibernation device /dev/mapper/crypthome not found
Then the system recovers the filesystem of / and later after the passphrase input of /dev/mapper/home it is forced to recover the filesystem of /home.
Shouldn't I get a passphrase input when running the [resume] hook?
Where is the problem I have missed?
Thanks in advance!
Last edited by indianahorst (2014-01-23 17:39:31)

ball wrote:It seems that you've specified your home partition for the resume parameter, that is wrong. It should be the swap partition: https://wiki.archlinux.org/index.php/Su … parameters
No. Have you read my posting completely?
I don't use a swap partition.  I'm using a Swapfile on my encrypted home partition. See the link in the first posting and go to "Using a swap file".

Similar Messages

  • I need to use an hp 6215 printer with my mac book pro.  the driver installation disk doesn't work.  where can i get a driver that will work?  i use OS X

    i need to use an hp 6215 printer with my mac book pro.  the driver installation disk doesn't work.  where can i get a driver that will work?

    With the Lion it is essentially unnecessary to resort to external driver disks. What's more, most of those disks are incompatible with the OS and should not be used. The system already carries a wide variety of printer description files (aka PPDs, which is what modern printing systems use as "drivers") for a lot of brands. And there was an HP printer update just two days ago.
    Just checked in mine and did indeed find that the HP OfficeJet 6200 Series, with or without Fax, is covered with the latest update.
    So just go thru the motions of creating a proper printer instance:
    Make sure the Mac "sees" the printer on the network.
    System Preferences / Print & Scan
    Click on the + button on the left column
    Select the appropriate type of printer, will use IP for the rest of this
    Select HP Jetdirect - Socket, default for HP network printers
    Type the IP address or look it up
    Name the printer for easy identification on the print dialog
    Let the Mac identify the printer model or manually choose the driver
    Click Add.
    Once the instance pops up in the list, can click on Options & Supplies for further config.

  • Cinema Display (clear) with DVI/ADC box doesn't work with MacBook Pro

    Cinema Display (clear) with DVI/ADC box doesn't work with MacBook Pro when plugged in with a dvi to mini dvi cable. Any ideas what to do to make it work? I lugged the 23" 2500 miles into the wilderness and I need help

    Okay, here's an update: the DVI to ADC adapter does work with the Apple displays that I have tried, but it won't work with the Formac. I have tried multiple time to contact them, but to no avail... they don't even respond to threats of posting my opinion of them, which is this:
    DON'T BUY ANYTHING FROM FORMAC! They make quality products, but their customer service is a big time joke! They won't take care of you.

  • I tried to airdrop Civilization V from a Macbook Pro with Mountain Lion to a Macbook Pro with Lion and it doesn't work. Other apps have but Civ V has not.

    I tried to airdrop Civilization V from a Macbook Pro with Mountain Lion to a Macbook Pro with Lion and it doesn't work. Other apps have but Civ V has not.

    Likely because it's a not self contained and/or it's game and copy protected, so install it via the developers instructions instead, which likely means it will have ot be uninstalled off the first machine, the developer contacted for a new license key before installing on the newer machine.
    If you want it on both machines, you will need to likely buy another license.
    Most developers are fine with transfering license between machines, you have to contact them.
    They just want to make sure it's only on one machine so they are not getting robbed.

  • I have a earphone with mic but it doesn't work on my iPod 4G. Could there be a possible way to fix it. Please help :)

    I have a earphone with mic but it doesn't work on my iPod 4G. Could there be a possible way to fix it. Please help.
    -Reyner

    Hi chrissyfromrenton,
    you just have to close completely you Ipod (push 5-10 seconds on the button to open/close you ipod and slide the turn off) after open the ipod and it suppose to be correct I hope I answer to your question!
    Annie

  • I have a trouble, with lion my finder doesn't work, i can't open any window

    i have a trouble, with lion my finder doesn't work, i can't open any window

    Hi there are various threads here for this issue
    this one being the most extensive
    https://discussions.apple.com/thread/3191263?start=0&tstart=0
    First step is re-start the finder
    1. Press command-option-esc simultaneously
    2. Select Finder
    3. Click on re-start
    Then according to the above link, several people tried different things.
    Try out what you find in above thread
    Cheers

  • Opening files with Illustrator and photoshop doesn't work, i have to drag the files from finder in to the program. This problem appears after opening 4 a 5 files.

    Opening files with Illustrator and photoshop doesn't work, i have to drag the files from finder in to the program.
    This problem appears after opening 4 a 5 files, rebooting helps another 4 a 5 times and appears again.

    I'd recommend reposting in the Boot Camp forum, that is where the Boot Camp and Windows gurus hang out.
    Good luck.

  • Yosemite will not upload on my MacPro, says I have to verify or repair, but when I do - it fails on that too. Am now stuck with a computer that doesn't work ! Have I lost everything ?

    Yosemite will not upload on my MacPro, says I have to verify or repair, but when I do - it fails on that too. Am now stuck with a computer that doesn't work ! Have I lost everything ?

    Hello BassoonPlayer,
    Since you are using one of the the school's Macbooks, it is quite possible that the time and date are not properly set on the computer that you are using.  FaceTime will not work if you do not have the proper time zone set up for the location that you are in.  This past week, there were a two other Macbook users I've helped by simply telling them to set the Date/Time properly.  By the way, you described your problem very well, which makes it easier for us to help you.  Hope this solves your problem -- if not, post back and I can suggest other remedies.
    Wuz

  • HT1296 When I sync my iphone with Windows 7, the contact moves to my computer, but the contact is not complete. No phone numbers. What am I doing wrong? I have also tried sync-ing with Yahoo, and that doesn't work either.

    When I sync my iphone with Windows 7, the contact moves to my computer, but the contact is not complete. No phone numbers. What am I doing wrong? I have also tried sync-ing with Yahoo, and that doesn't work either.

    The music sync is one way - computer to iphone.  The only exception is itunes purchases.  File>Transfer Purchases
    It has always been very basic to always maintain a backup copy of your computer for just such an occasion.  Use your backup copy to move everything to your new computer.

  • Firefox crashing AND the scroll feature on my PC finger pad works with other browsers, but doesn't work on Firefox, which just happened since I updated. FRUSTRATING!

    Since I updated, Firefox is crashing daily. The finger scroll feature on my PC works with other browsers, but doesn't work on Firefox. It is also very, very slow, but other browsers aren't. I can't use it anymore until it's fixed.

    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold (user set).
    *Preferences can be reset to the default via the right-click context menu if they are user set
    *Preferences can be changed via the right-click context menu: Modify (String or Integer) or Toggle (Boolean)
    *http://kb.mozillazine.org/about:config

  • Is there anyway I can transfer my music from my iPod touch to my iPad? My computer with my original music doesn't work anymore!

    Is there anyway I can transfer my music from my iPod touch to my iPad? My computer with my original music doesn't work anymore!

    See also Recover your iTunes library from your iPod or iOS device.
    tt2

  • Install disk doesn't work with Windows Vista

    I just bought a new HP Color LaserJet Pro MFP M277dw and the install disk isn't compatible with Windows Vista.  Apparently there's no ful feature option for Windows Vista on an HP laptop.  After several hours of work I downloaded several drivers and got the printer to print, but the scan function doesn't work that well without the HP software which hasn't been created for Windows Vista.

    I am having a very similar problem but do not have an answer either.  I am running an X61 Type 7676A12 with a Lenovo ACP50 port replicator FRU part number 40Y8160.  I am running Windows XP Pro.  The port replicator has never been very great and would not restore the external monitor picture properly when the laptop had been in sleep mode however it was serviceable if not optimal.  After downloading and installing the October MS security updates the machine would get a BSOD when the port replicator was plugged in.  Remove the replicator and reboot and it worked ok.  Plug it in again and BSOD.  I tried upgrading the drivers from 5.1.4a to 7.1.1.03Aug07 and then to 7.1.2.  No go.  Emailing Targus with the problem got no response.  The port replicator is now relegated to my junk heap of useless rubbish.

  • Forgot my adminpassword, i have tried the reboot with initial disk doesn't work i can't downlad anything, I am able to log on but the name and password to get in my computer doesn't work for admin password. i am about to give up any suggestions?macbook10

    forgot my adminpassword, i have tried the reboot with initial disk didn't work, i am able to get into my computer with name and password, but this same name and password doesn't work as an administrators password when i want to download or change things.
    do you have any suggestions? Im about to give up, i can't even access wireless have to use a dsl
    pretty sad

    ... this same name and password doesn't work as an administrators password when i want to download or change things.
    It's probably that your Keychain password is not the same as your login password. If you configured your computer to log you in automatically, you may not have used your login password in so long you forgot it.
    There is no way to retrieve the "login" Keychain password, but you can reset the Keychain from the Preferences menu: select it in the Keychain Access menu and select "Reset My Default Keychain". This will create a new, empty Keychain but the old one will be saved should you ever remember its password.
    The result of this is that you will have to supply passwords for everything that requires it, since without your Keychain they will no longer automatically fill themselves. However, once you supply them and store them in your new Keychain, they will be remembered.

  • AirPort Disk doesn't work with LaCie Mini Hub & Hard Drive

    I got my new La Cie Mini Hub and Hard Drive yesterday, backed up the PB and did a reinstall...no problems.
    This morning, I hooked my LC into my AEBS went through the setup in AP Utility which saw the drive with no problems. But the AP Drive Utility doesn't see the drive. My AP firmware has been updated, and the software too. I even went through the setup in this posting:
    http://discussions.apple.com/thread.jspa?messageID=4230118&#4230118
    Any ideas that I may have missed?

    I am dealing with the same issue, jeppeo. I have a 320 GB Seagate external HD (with both USB and Firewire). The Airport Disk Utility does not recognize the drive. It does, however, recognize my Kingston 1GB USB stick. Thus, I know the system works, it just doesn't seem to be working with the Seagate. It may be that the Seagate, and the LaCie you are using, are simply incompatible with the AEBSN. If that is the case, the only option might be to purchase a drive that is known to be compatible with the AEBSN, or any other drive and simply try plugging it in. I am considering buying a Western Digital drive (as many of their models seem to be compatible) and then testing it out. If it doesn't work, I will return it.
    Edit: Fixed spelling
    Message was edited by: babyachilles

  • Disk Utility image disk doesn't work

    Disk Utility doesn't help
    Hi there!
    I try to install the os x mavericks update on a Snow Leopard 10.6.4 Mac from the Apple page. A message told me there was an error on the disk so I tried to repair it with Disk Utility. It didn't work. It ask me to make an image copy, It doesn't work neither. I am not able to go back or forward from there.
    There was a message coming up telling me "cannot allocate memory".
    I wrongly supposed it was a external hard disk problem so I bought a 3TB hard disc to make an image disc copy but again it didn't work.
    I try to use Disk Utility to repair or make an image copy of the Macintosh (running from my Mac or the Install DVD) but it cannot repair the hard drive or make a disk image. Depending on the options I choose messages like: "input/output error" or "cannot allocate memory".. keep coming up. I don't know what to do any longer.
    Before going forward I want to save my all my data.
    Can you help me please?

    Step one is to erase and reformat the 3 TB HD you bought. Ensure that it's Mac OS Extended with the GUID option. Next, use something like Carbon Copy Cloner or SuperDuper! to put a bootable backup/clone onto the ext HD. Ensure that you can boot the machine with it. Boot into the backup/clone, launch Disk Utility and repair the int HD. If successful, update it to 10.6.8. Boot with the int HD and update the clone. Once that's finished, try upgrading either it or the clone to Mavericks.
    iMac (27-inch Mid 2011), OS X Mavericks (10.9.4), SL & ML, G4 450 MP w/Leopard, 9.2.2

Maybe you are looking for

  • Boot camp restart gets stuck on apple logo/prohibited logo/? folder help

    Hello, I'm currently running OS X (lion) and I'm trying to install windows 7 via boot camp assistant. After creating a Win7 install disk via a bootable USB flash drive and creating my partition via the assistant. The computer restarts and goes into t

  • PASSING PARAMETER IN SQL STATEMENT .

    HI, Can any one tell me how to use on of the field name as a parameter in the same sql statement ? Here is what i am looking for : SELECT EMPNO, DEPTNO, (SELECT COUNT(ORDERNO) FROM ORDERS WHERE DEPTNO = :DEPTNO AND EMPNO = :EMPNO) TOTAL_ORDER FROM EM

  • Previously downloaded book on iPad now blank pages

    I purchased a book on my iPad - after reading for several days - now pages are blank with error MSG - I've tried downloading from purchased books but can't re-download.   Only this one 4 book bundle -Game of Thrones appears affected.  Does anyone kno

  • Software updates for my Mac Book Pro

    How can I update my Mac Book Pro From OS X 10.5.8 to a operating system compatible with my I pad and I Phone 5S?

  • Field Selection _ External services

    Dear All, In External Services, except for service masters, field selection in what way we do. For example in Service PO, Update Conditions field is made suppressed, how I can I make it optional. In menu path SPRO-MM-Ext Services - Define Screen Layo