You are not logged in.

#1 2012-12-02 12:33:55

Harey
Member
From: Bavaria, Germany
Registered: 2007-03-24
Posts: 359

[solved]New mkinitcpio 0.12.0-1 messes up static encrypted swap/resume

With mkinitcpio 0.12.0-1 my encrypted swap device doesn't get openend anymore. I have set up a system following the wiki here: https://wiki.archlinux.org/index.php/LU … sk_support The swap is not opened anymore a boot time and the 'creating volatile files' hook in systemd gets a timeout. No swap is created during bootup.

FWIW: my hooks array:

HOOKS="base udev shutdown autodetect modconf block filesystems usbinput keymap encrypt openswap resume fsck"

Harvey

Last edited by Harey (2012-12-02 15:58:48)


Linux is like a wigwam: No Gates, no Windows and an Apache inside

Offline

#2 2012-12-02 13:07:31

Harey
Member
From: Bavaria, Germany
Registered: 2007-03-24
Posts: 359

Re: [solved]New mkinitcpio 0.12.0-1 messes up static encrypted swap/resume

I downgraded to mkinitcpio 0.11.2-1, changed my hooks array back to:

HOOKS="base udev shutdown autodetect pata scsi sata filesystems usbinput keymap encrypt openswap resume fsck"

and all is well again. This is definitely coming from the new mkinitcpio.

Harvey


Linux is like a wigwam: No Gates, no Windows and an Apache inside

Offline

#3 2012-12-02 13:17:17

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [solved]New mkinitcpio 0.12.0-1 messes up static encrypted swap/resume

I've no idea what your "openswap" hook is, but I'm guessing that's the problem.

Offline

#4 2012-12-02 14:36:15

Harey
Member
From: Bavaria, Germany
Registered: 2007-03-24
Posts: 359

Re: [solved]New mkinitcpio 0.12.0-1 messes up static encrypted swap/resume

Take the time to look at the wiki page I quoted in my first post and you will be informed wink
The hook is described in depth there.

Harvey


Linux is like a wigwam: No Gates, no Windows and an Apache inside

Offline

#5 2012-12-02 14:42:56

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [solved]New mkinitcpio 0.12.0-1 messes up static encrypted swap/resume

Not a whole lot of detail needed for a hook that only needs to run a single command. Yes, the install hook is using old syntax that I deprecated 6 months ago and removed in 0.12.0.

Offline

#6 2012-12-02 16:00:31

Harey
Member
From: Bavaria, Germany
Registered: 2007-03-24
Posts: 359

Re: [solved]New mkinitcpio 0.12.0-1 messes up static encrypted swap/resume

Thanks for updating the wiki. Now all is well again.

Marking this as solved

Harvey

Last edited by Harey (2012-12-02 16:00:42)


Linux is like a wigwam: No Gates, no Windows and an Apache inside

Offline

#7 2012-12-15 14:17:29

post-factum
Member
From: /cz
Registered: 2008-09-12
Posts: 149
Website

Re: [solved]New mkinitcpio 0.12.0-1 messes up static encrypted swap/resume

Thanks for pointing to updated wiki. You've saved me from being grey-haired.

Last edited by post-factum (2012-12-15 14:17:49)


uname == latest pf-kernel

Offline

Board footer

Powered by FluxBB