UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
Good luck getting hibernate to work. I have Ubuntu on 4 systems and none of them can hibernate. The only one that hibernates in and out is using the new Ubuntu 7.04 Alpha release.
Good luck getting hibernate to work. I have Ubuntu on 4 systems and none of them can hibernate. The only one that hibernates in and out is using the new Ubuntu 7.04 Alpha release.
Good luck getting hibernate to work. I have Ubuntu on 4 systems and none of them can hibernate. The only one that hibernates in and out is using the new Ubuntu 7.04 Alpha release.
Hi,
I'm using Ubuntu since the 4.10 and I've installed it many times on different machines.
I use these procedures and I never had problem in hibernating machines!
Hibernate works perfectly with NVIDIA and ATI drivers, it's sufficient you digit:
sudo /etc/hibernate.sh
That's all, quite simple.
If you use Xorg drivers you have no problems in hibernating your machine, just digit, as root:
echo 4 > /proc/acpi/sleep
"As root" means:
sudo su -
and then:
echo -n 4 > /proc/acpi/sleep
This procedure is ncessary 'cause a:
sudo echo 4 > /proc/acpi/sleep
obviously doesn't work!
If you want to hibernate using sudo you should use this "hack":
echo -n 4 | sudo tee /proc/acpi/sleep
If you build your own kernel remeber to add, at the end of the kernel line in
/boot/grub/menu.lst
resume=/dev/nameoftheswappartition
Find a line like this:
kernel /boot/vmlinuz-2.6.18 root=/dev/hda1 ro
and add the swap partition from which you'll restore your session:
As cement head said, using
(sudo) apt-get install hibernate
will download and install the hibernate package. you can then run it with
(sudo) hibernate
you will have to use sudo obviously if you are on ubunutu and have no set it up differently.
Hi,
maybe cement head doesn't know hibernate is installed by default in Ubuntu
...
maybe cement head doesn't know hibernate can be launched in different ways
...
"Hibernate" is installed by default in Ubuntu. The hibernate script that is called by $sudo hibernate after hibernate is manually installed by Synaptic is the script originally written for Software Suspend (ver 1), or swsusp [this is my understanding].
Installing the hibernate script will allow you to configure more options. If Hibernate, or Suspend works without manually installing hibernate, then you're home free and no need to muck with all of this.
For example, most Sony Viao's with nVIDIA cards are supposedly capable of hibernating without installing additional software. However, in many cases where "hibernate" was not manually installed the "Suspend" (Suspend-to-RAM) option is not available.
- CH
Last edited by cement_head; 12-28-2006 at 07:12 AM.
"Hibernate" is installed by default in Ubuntu.
[cut]
- CH
Hi,
Yes, I know.
Quote:
Originally Posted by cement_head
Installing the hibernate script will allow you to configure more options. If Hibernate, or Suspend works without manually installing hibernate, then you're home free and no need to muck with all of this.
- CH
of course.
The aim of my posts is saying the majority of machines I used don't need any additional software to hibernate then I sent an exhaustive explanation about my experiences in successfully hibernating different machines.
My last post is not referred to you, cement_head, I simply underlined the nonsense of thelen's post: there's no additional details or experiences or anything new and useful, it's just a copy&paste.
yeah that's cool. actually, I didn't know that hibernate was initally installed on machines (or supported) until I started to muck with all this stuff. Never hurts to re-iterate things as someone else may read this and could help them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.