You are not logged in.

#1 2012-02-08 06:25:26

exegete
Member
Registered: 2012-02-01
Posts: 4

suspend2disk syslinux--how?

Hi. New to arch and loving it. Learning a lot (necessarily!) Couldn't get grub to work but did get arch to work with syslinux. I am trying to get my pm-utils to work on my zareason laptop (microstar ms-1454). Based on the pm-utils wiki

https://wiki.archlinux.org/index.php/Pm-utils

it looks like I would need to modify syslinux.cfg file, adding a line as described:

"In order for suspend2disk (hibernate) to work, we need to edit /boot/grub/grub.cfg as root and add resume=/path/to/swap/drive (e.g. /dev/sda2) to the kernel options."

But as I look at /boot/syslinux/syslinux.cfg, I am not sure where I would put such a line. Am I thinking right, or am I headed in the wrong direction?

Thansk so much for guidance offered!

Offline

#2 2012-02-08 10:25:07

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: suspend2disk syslinux--how?

Maybe not what you are looking after but here goes anyway, I've been using uswsusp [1] from the AUR with success and there is no need to add the resume path to the kernel options, it is defined instead in a configuration file so that should work around your problem. The instructions on how to configure it are in the wiki [2].

[1] https://aur.archlinux.org/packages.php?ID=44473
[2] https://wiki.archlinux.org/index.php/Uswsusp


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2012-02-19 05:29:09

exegete
Member
Registered: 2012-02-01
Posts: 4

Re: suspend2disk syslinux--how?

I can't get darch-package-set (a uswsusp dependency).

Last edited by exegete (2012-02-19 05:29:52)

Offline

#4 2012-02-19 21:53:56

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: suspend2disk syslinux--how?

It says:

Dependencies libgcrypt libx86 lzo2
Required by darch-package-set

To install uswsusp you only need to install the dependencies (libgcrypt libx86 lzo2).
The "Required by" line means you have to install uswsusp if you want to install darch-package-set.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#5 2012-02-20 03:58:56

exegete
Member
Registered: 2012-02-01
Posts: 4

Re: suspend2disk syslinux--how?

You are correct of course. Still, an attempted instal with yaourt fails as follows:

Proceed with installation? [Y/n] Y
:: Retrieving packages from extra...
error: failed retrieving file 'perl-error-0.17016-2-any.pkg.tar.xz' from archlinux.supsec.org : Given file does not exist
perl-error-0.17016-...     4.2 KiB  13.4K/s 00:00 [######################] 100%
(4/4) checking package integrity                   [######################] 100%
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

Offline

#6 2012-02-20 19:11:30

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: suspend2disk syslinux--how?

Try refreshing the Pacman databases; they may just be a little out-of-sync.

Offline

Board footer

Powered by FluxBB