alan45
January 3rd, 2015, 11:18 AM
Hi there,
there is a bit of backstory here as to how this got broken, if you're not interested skip to the end.
Backstory: I installed Linux Mint 17 (based on Ubunut 14.04) recently on my lenovo thinkpad X201 alongside Windows 7.
I'm not new to *nix so as usual, selected the 'Something else' option and partitioned my drive manually, creating an 80GB partition for / and a seperate 2GB swap partition (RAM is 2GB) using gparted. I'm quite certain I got the settings right, although it's possible I did something wrong or didn't spotted an important warning.
Install ran fine, and rebooted, loading Mint with no problems. It wasn't until later that I realised the swap partition wasn't getting mounted on boot, and as a result (I beleive) the hibernate option was greyed out in power management and didn't appear on the shutdown dialogue.
Suspend has been working fine.
I ran gparted again, and my swap partition showed as unknown filesystem type, and obviously wasn't mounted. I formatted it to linux-swap, and ran swapon to get it working. I then manually edited /etc/fstab and added my own entry for the swap partition, removing the previous one left by the install. I rebooted and swap was mounted and used correctly.
After that, hibernate appeared. Great, I thought, all good. So I tried to hibernate, but something went wrong.
The machine shutdown OK, and seemed to write alot to disk before doing so - all seemed OK there.
However on booting up again, Mint loaded as normal without resuming. What's more, after checking
swapon -s and
free, then loading up gparted again, I found that the swap partition was not mounted, and the filesystem type listed in gparted was now linux-suspend.
So my conclusion is that saving worked fine, but something didn't work right on resuming from that saved data.
tl;dr
My questions are:
On Mint 17 or Ubuntu 14.04:
Where do I find log entries for hibernate and resume?
How can I debug the resume process after hibernation?
Given that during installation the swap partition apparently wasn't configured properly, is there anything else I should do to make sure Linux is using it properly?
Thanks for your time and I hope this isn't too specific to Mint, if so I'm happy to pearoast this on the Mint forums instead. Thanks!
there is a bit of backstory here as to how this got broken, if you're not interested skip to the end.
Backstory: I installed Linux Mint 17 (based on Ubunut 14.04) recently on my lenovo thinkpad X201 alongside Windows 7.
I'm not new to *nix so as usual, selected the 'Something else' option and partitioned my drive manually, creating an 80GB partition for / and a seperate 2GB swap partition (RAM is 2GB) using gparted. I'm quite certain I got the settings right, although it's possible I did something wrong or didn't spotted an important warning.
Install ran fine, and rebooted, loading Mint with no problems. It wasn't until later that I realised the swap partition wasn't getting mounted on boot, and as a result (I beleive) the hibernate option was greyed out in power management and didn't appear on the shutdown dialogue.
Suspend has been working fine.
I ran gparted again, and my swap partition showed as unknown filesystem type, and obviously wasn't mounted. I formatted it to linux-swap, and ran swapon to get it working. I then manually edited /etc/fstab and added my own entry for the swap partition, removing the previous one left by the install. I rebooted and swap was mounted and used correctly.
After that, hibernate appeared. Great, I thought, all good. So I tried to hibernate, but something went wrong.
The machine shutdown OK, and seemed to write alot to disk before doing so - all seemed OK there.
However on booting up again, Mint loaded as normal without resuming. What's more, after checking
swapon -s and
free, then loading up gparted again, I found that the swap partition was not mounted, and the filesystem type listed in gparted was now linux-suspend.
So my conclusion is that saving worked fine, but something didn't work right on resuming from that saved data.
tl;dr
My questions are:
On Mint 17 or Ubuntu 14.04:
Where do I find log entries for hibernate and resume?
How can I debug the resume process after hibernation?
Given that during installation the swap partition apparently wasn't configured properly, is there anything else I should do to make sure Linux is using it properly?
Thanks for your time and I hope this isn't too specific to Mint, if so I'm happy to pearoast this on the Mint forums instead. Thanks!