[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Solved] Suspend/Hibernate under Debian



On Fri, 29 Jan 2010 14:17:06 -0500, Celejar wrote:

>> shutdown method = shutdown
> 
> Don't really understand this stuff well, but have you tried the
> 'platform' method?

I'm able to shut down fine, so that irrelevant.

>> $ blkid | grep sda9
>> /dev/sda9: LABEL="swap" UUID="05858bd5-e713-421a-a4c3-02fda431ec44"
>> TYPE="swap"
> . . .
> I see that I have a file /etc/initramfs-tools/conf.d/resume, containing
> the line:
> 
> RESUME=UUID=4b33b853-b245-4ec1-b649-c14f9a9b9907
> 
> Do you have such a file, with similar contents?

Ok, just created one (don't know if it is necessary though), then re-
create initramfs:

$ cat /etc/initramfs-tools/conf.d/resume
RESUME=UUID=05858bd5-e713-421a-a4c3-02fda431ec44

% update-initramfs -u
update-initramfs: Generating /boot/initrd.img-2.6.31-grml64

$ tail -3 /boot/grub/menu.lst
title   os1 :: Debian kernel 2.6.31-grml64
 kernel /boot/vmlinuz-2.6.31-grml64 root=/dev/sda6 ro vga=normal
 initrd /boot/initrd.img-2.6.31-grml64

Hooray!!!

It resumes fine!!!

The only difference is the /etc/initramfs-tools/conf.d/resume file. 

Thanks a lot, Celejar.

BTW, just for the archive, 

- I took a closer look, but I didn't spot anything relevant on resume 
info in /var/log/dmesg or /var/log/syslog.

- > "Please recommend a good article/blog/site for me to follow". 

The best places are the included docs, ie, 

 /usr/share/doc/uswsusp/README
 /usr/share/doc/uswsusp/README.Debian
 /usr/share/doc/uswsusp/README.s2ram-whitelist.gz

cheers

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


Reply to: