Got an Apple MacBook Pro towards the start of the year. Issue was that closing the lid only puts the machine in stand by mode which still consumes power, so I wasn't getting as long a runtime as I would on my old HP nx6120 with a travel battery.
A Google search led me to Todd Huss's[2] page below. This identified the pmset[1] command as being quite useful. I followed the instructions and now have the MacBook hibernating when I close the lid. Since then I have been asked by a number of colleagues about this, so thought I better document it here.
I rebuilt the old HP nx6120 to run Ubuntu 10.04 LTS. Again noticed that I wasn't getting reasonable runtime, instead of the usual 8-10 hrs, I only got around 3-4hrs. A discussion with a colleague led me to Linux Laptop Tools. Again some "Googling" led to the Ubuntu power management[3] which seemed to increase the runtime.
References
Welcome to my blog, For more information about me, visit my website at https://www.kush.com.fj. This blog is mostly just a journal.
Showing posts with label hibernate. Show all posts
Showing posts with label hibernate. Show all posts
8/27/2011
3/01/2010
Ubuntu 9.10 does not boot up after hibernate!!!
I've been running Ubuntu 9.10 desktp on my HP nx6120 notebook with some success for a little while now. It performs well for my TeX work, occasional web-browsing, VPN, RDP and e-mails. The GUI is enhanced using Mac4Lin. I loved the hibernate feature until late this afternoon when it refused to bootup after hibernating. I would get the splash screen and then nothing... curses!!!.
I managed to find a work-around but am still not sure what the problem was:
References
I managed to find a work-around but am still not sure what the problem was:
- Boot up the machine with a rescue CDROM
- Confirm the root partition for the Ubuntu install (in my case it was /dev/sda8, although I only have IDE drives)
- Boot up the machine and wait for the GRUB prompt
- Press "e" to edit the entry
- Replace the "root=UUID..." with "root=/dev/..." on the "linux" line entry
- Add the entry "no_console_suspend" on the same line
- Press the "Tab" key to complete the Emacs edit
- Press "Ctrl+x" to continue booting
- sudo vi /etc/default/grub
- Edit the file to uncomment GRUB_DISABLE_LINUX_UUID
- Edit the file to add no_console_suspend in the GRUB_CMDLINE_LINUX
- Save the file and exit
- sudo /usr/sbin/update-grub
References
Subscribe to:
Posts (Atom)