It's been a while since I installed LMDE on my system. I installed a lot of stuffs to support my work. Overal, the experience is good. No hick ups, everything went well, but it's not quite polished as the newest ubuntu 11.04. But nevertheless, everything is working just fine. But one thing that keeps bugging me is the lost of hibernate function, which I don't know how to remedy until just now. After reading many threads in forums. I can conclude it to these several steps. So for you out there who still don't get your system to hibernate I hope this will solve the problem.
ok, first off all. look whether the softwares to make hibernate works are installed. you need at least (look for all of these in the package manager, just type these keywords in the search box):
- hibernate. install it by left click on the box, and mark it for installation. the click apply on top.
- pm-utils. same steps as above
- acpi, acpi-support-base, acpitool, acpid, acpi-support, acpi-fakekey
- powermgmt-base
- gnome-power-manager
I think I cover it all
after that, find your gparted software. what I did is redo everything. But if you are not sure about doing something like formatting part of your hard drive then, maybe you can ask your friend to do it. so be careful on this one. so be brave now.
- open your gparted software
- in it you will find your linux swap partition (if in the beginning of your installation you specify it, if not then you can't hibernate, and this is the end of the road for you)
- sometimes gparted can't detect your swap partition, and put it as an unknown partition, then this should be your swap partition, only for some reason it doesn't show as swap which I don't know why. what you can do is reformat that partition as swap by unmount it first. If you can't unmount it, then type "sudo swapoff -a" on the console
- if your swap partition already shown, and activated (you can do this by right click on your partition and select "swap on") then you an see your swap UUID (double click on your swap partition). copy this UUID to a text editor or something because you will need this UUID number. besides that write down the partition designation (usually something like "/dev/sd**").
- now go to you console and do "cat /etc/fstab" find your swap partition listed on there, and make sure that the UUID of the swap partition is the same with the one that you just wrote down. if not change it.
- after that, do "cat /etc/initramfs-tools/conf.d/resume" make sure UUID that is written is the same with the one that you wrote down. if not, change it.
- then, do "cat /etc/default/grub" find out what it is written on "GRUB_CMDLINE_LINUX=" if it has something like "" then you need to change it to "resume=/dev/sd**" **is the place of your swap drive usually looks like /dev/sda1 or something
- after you did all of this, do this two command "sudo update-initramfs -u" wait until it's done, then do the second command "sudo update-grub"
- reboot your computer
That's it. I hope this will solve your problem.
Please take care when you reformat part of your hard drive.
Good day.
My daily experience with Linux. From installing, looking for drivers, setting printers and everything else, on PCs, on my laptop, and on everything else that I can get my hands on.
Welcome
Welcome to my blog. Here you will find my daily experience with linux. I'm an intermediate linux user. I have implemented linux as a server and workstation in my company, and also at home. I have experience in installing and running linux on 32 bit PC, 64 bit server, and also a laptop. I have a quite extensive experience with SUSE, from version 7, 8, 9, 10, SUSE professional 10.1 boxed version, and now 11. I hope this blog will help you in anyway. Fell free to post any comment, or ask. You can leave your question by commenting the post. Have a nice day
Friday, September 9, 2011
Subscribe to:
Post Comments (Atom)
2 comments:
Many thanks! My /etc/fstab was correct. I followed the following steps and it solved the problem in my LDME installation too.
Thank you, thank you, thank you!
I was missing acpi and hibernate packages and my initrd resume partition setting was wrong!
Post a Comment