On my laptop, I can't suspend to disk (hibernate). running "echo -n 'disk'>/sys/power/state" gives me
"echo: write error: no such device".
I can suspend to ram fine.
Just ask for any other info i didn't give
On my laptop, I can't suspend to disk (hibernate). running "echo -n 'disk'>/sys/power/state" gives me
"echo: write error: no such device".
I can suspend to ram fine.
Just ask for any other info i didn't give
Have you got a swap partition and is it big enough?
Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo --- Wireless-Info --- SolvedThreads --- System-Info-Script
i originally installed without swap, but created a swap file 1gig at /swapfile, put it in my fstab. it starts fine, is it too small?
This helped me when wondering how much space to allocate to the swap partition.
Swap FAQ
While this FAQ is regarding Ubuntu, most of it should apply to almost any Linux.
ok my ram is 2g, i have plenty of hdd space so i created a 3G swap file. I still get "write error: no such device" when i try.
Check the UUID in the resume file /etc/initramfs-tools/conf.d/resume
https://help.ubuntu.com/community/Us...%20Hibernation
To get the UUID of the swap
Whoops, didn't check the forum - not even sure if slackware has this file ... I know fedora doesn't. I'll leave it here just in case. If it's an issue let me know and I'll delete it.Code:sudo blkid
Last edited by Elfy; June 15th, 2011 at 06:22 PM.
well sudo blkid only showed my main hdd, i wonder if its because my swap is a file. as for the initramfs part, i don't have that in my /etc folder. maybe a slackware thing.
Probably, without knowing much about slackware, I suspect you'll have more luck hibernate to a partition not a file. Anyway I shall bow out now and come back later to see the replies.
Have you added "resume=<swap location>" to either lilo, grub, or kernel config?
there was already something there, i just added the resume to the end.
append=" vt.default_utf=0 resume=/swapfile"
is that the correct thing to do?
Bookmarks