Home Home > 2009 > 07 > 13
Sign up | Login

Deprecation notice: openSUSE Lizards user blog platform is deprecated, and will remain read only for the time being. Learn more...

Archive for July 13th, 2009

suspend to disk with encrypted root file system on lvm

July 13th, 2009 by

Suspend to disk a.k.a. Hybernation doesn’t quite work when running openSUSE in an encrypted root file system and swap on LUKS on LVM, as with Ludwig Nussel’s instructions. The system is not able to resume from the swap area, because the initial ramdisk opens the lvm system before the luks. This results in only root logical volume being opened at that time, but not the swap volume. A regular boot follows.

Here’s the mkinitd boot scripts (or their symlinks, rather) in question:

$ ls -1 /lib/mkinitrd/boot
...
61-lvm2.sh
71-luks.sh
...

Until all this is properly supported, here is a quirk to make it work: Make the lvm2 initrd boot script depend on the luks one*.

Edit /lib/mkinitrd/scripts/boot-lvm2.sh (this is what 61-lvm2.sh points to) and change the third line from
#%depends: evms
to
#%depends: evms luks

Recreate the initrd.
$ cp -iv /boot/mkinitrd /boot/mkinitrd.backup
$ mkinitrd

You will notice that the symlinks were renamed now:
71-luks.sh
72-lvm2.sh

No try suspending to disk, you should be prompted for your luks password and resume from disk should work.

$ s2disk

*This of course assumes that you only have lvm devices inside luks, not the other way around. It’s not too hard to have both –  simply duplicate and adjust the luks script and run one instance before and one after lvm.

Official X11:lxde project now open! We need you!

July 13th, 2009 by

Thanks to Pavol Rusnak, the official project X11:lxde is now open, first packages are already there available for testing, but, some of them just fail because of code and security checks, we need some patches than, before provide you the best packages you can imagine for that DE.

WE NEED YOU!!!

if any of you want to help us providing patches and various fixing you are welcome, and of course you can begin using OBS collaboration way: http://en.opensuse.org/Build_Service/Collaboration

A fast review of the problems we have are available on that post into LXDE forum.

Right now than, if you want to use LXDE you should continue to follow instructions provided on my previous blog post here

Waiting for you and you help

Andrea