(Solved) Suspend Doesn't Work

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
soccerz619

(Solved) Suspend Doesn't Work

Post by soccerz619 »

Hey, I'm running Mint 11 on a Dell Inspiron 8600. I loved the "Suspend" feature or its equivalent in Vista, but Mint won't boot back up after I put it in Suspend. I try, but it just shows the screensaver for a second, then freezes. I have mouse movement, but nothing else. I have to power off the computer and restart. Any ideas?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
tdockery97
Level 14
Level 14
Posts: 5058
Joined: Sun Jan 10, 2010 8:54 am
Location: Mt. Angel, Oregon

Re: Suspend Doesn't Work

Post by tdockery97 »

Try checking the file /etc/initramfs-tools/conf.d/resume and make sure it has the same partition identification as your swap partition.
Mint Cinnamon 20.1
soccerz619

Re: Suspend Doesn't Work

Post by soccerz619 »

How do I tell if it's the same partition? How do I look at those partitions too, so I can tell? Sorry, I am new to Linux...
lmintnewb

Re: Suspend Doesn't Work

Post by lmintnewb »

Some handy terminal commands to help identify partitions.

Code: Select all

sudo fdisk -l
Will show all the partitions on your hdd and some info about them.
(note: that's a lowercase L)

Code: Select all

sudo blkid
Will list the partitions and their uuid's.

So you'd need to use that command sudo blkid. Find the uuid of your swap partition and compare it to the one listed in the file tdockery97 mentioned. If they don't match, that could be your problem.

Summin else often see mentioned here for fixing stuff like this. Sometimes apparently someone needs to check the /etc/fstab file and make sure their swap is correctly listed in it too.

One more, cause I like at least trying to be thorough. If am going to post something may as well try n do it well. Anyway, opening and editing a file 101.

To open that file tdockery mentions. Open terminal type

Code: Select all

 sudo gedit /etc/initramfs-tools/conf.d/resume
Or for the /etc/fstab ... Much the same thing. Open terminal

Code: Select all

sudo gedit /etc/fstab
If the uuid of your swap partition shown after you check it with sudo blkid is different in either of those files .... Edit/change it so that it's correct, save the file ( the way you save any file in a text editor. We've all saved files before am sure.), close it and you're done.
Last edited by lmintnewb on Tue Sep 13, 2011 7:19 pm, edited 1 time in total.
soccerz619

Re: Suspend Doesn't Work

Post by soccerz619 »

Both of those show up correctly listing my swap partition. I have my screensaver off now (something that someone else suggested), and set to do nothing when I close my lid, but it won't go to sleep.
soccerz619

Re: Suspend Doesn't Work

Post by soccerz619 »

Well, I made sure my screensaver is not active, and that my screen can't be locked when the screensaver is active, and I've chosen 'blank screen'for a screensaver (as if it matters, since it's off). Anyways, it'll turn back on after suspend now. Weird that it won't do it with the screensaver on though. Any way to mark this as "Solved"?
lmintnewb

Re: Suspend Doesn't Work

Post by lmintnewb »

Hmmmm, don't have anything LM atm. Makes it hard to even make suggestions, not being able to see what controls/options are avail. One thing ya can count on though, you aren't the 1st person to run into this prob. So when all else fails, there's always the magic minty search bar.

Good trick for finding specific stuff in these forums or on a certain website. Google advanced search tricks 101. Go to google and try something similar to this.

site:http://forums.linuxmint.com/ "suspend doesn't work"
site:http://forums.linuxmint.com/ "suspend not working"
Variations of keywords related to your problem.

Typing site: , then add the website ya want. Tells google to only search that site, putting certain terms in " " 's will tell google to only look for that exact phrase on that website. It's likely to turn up some suggestions or relevant threads related to the prob you're having. May find a fix for your issue.
soccerz619

Re: Suspend Doesn't Work

Post by soccerz619 »

Ok thanks!
ekeko

Re: Suspend Doesn't Work

Post by ekeko »

Hello,
I found this thread looking for a solution for the problem I have with linux mint 14.

I followed the steps but problem is, that it seems that the swap partition id keep changing after every reboot. at least sudo blkid shows a different id for swap partition every time.

how can I solve this?

thanks for any help in advance!

ekeko
lmintnewb wrote:Some handy terminal commands to help identify partitions.

Code: Select all

sudo fdisk -l
Will show all the partitions on your hdd and some info about them.
(note: that's a lowercase L)

Code: Select all

sudo blkid
Will list the partitions and their uuid's.

So you'd need to use that command sudo blkid. Find the uuid of your swap partition and compare it to the one listed in the file tdockery97 mentioned. If they don't match, that could be your problem.

Summin else often see mentioned here for fixing stuff like this. Sometimes apparently someone needs to check the /etc/fstab file and make sure their swap is correctly listed in it too.

One more, cause I like at least trying to be thorough. If am going to post something may as well try n do it well. Anyway, opening and editing a file 101.

To open that file tdockery mentions. Open terminal type

Code: Select all

 sudo gedit /etc/initramfs-tools/conf.d/resume
Or for the /etc/fstab ... Much the same thing. Open terminal

Code: Select all

sudo gedit /etc/fstab
If the uuid of your swap partition shown after you check it with sudo blkid is different in either of those files .... Edit/change it so that it's correct, save the file ( the way you save any file in a text editor. We've all saved files before am sure.), close it and you're done.
Chris_Z
Level 1
Level 1
Posts: 14
Joined: Sun Dec 16, 2012 4:18 pm
Location: Stockholm, Sweden

Re: (Solved) Suspend Doesn't Work

Post by Chris_Z »

Your swap partition is probably encrypted and the UUID you see is changing with every boot (as in /dev/mapper/cryptswap1).
When you need to know the real, static UUID, here are some clues:

https://bugs.launchpad.net/ubuntu/+sour ... omments/23
User avatar
Spearmint2
Level 16
Level 16
Posts: 6900
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: (Solved) Suspend Doesn't Work

Post by Spearmint2 »

http://forums.linuxmint.com/viewtopic.php?f=90&t=142224
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....
Locked

Return to “Other topics”