Hibernate Ubuntu Edgy

I took the plunge yesterday and upgraded my laptop from Kubuntu Dapper to Edgy. For the most part I like it. Evolution is snappier, Firefox 2 is awesome, Amarok 1.4.3 works almost perfectly with my mp3 player. One thing I lost though, was the ability to hibernate my laptop. I did gain back the capability to suspend, which I'm sure I'll use because it's a lot quicker. But when I leave work at the end of the night I prefer to hibernate because who knows how long the system might sit in my bag.

But I got it working. Here's what I did. Now understand that this is just based on a few things I pulled together so that it Just Works(tm), but it may not be the Right Way(tm).

First, I edited /etc/fstab from

UUID=dd19d90d-faa9-4dc3-a53b-25024850ecf4 none swap sw 0 0

to

/dev/sda5       none swap sw 0 0

Then I edited /boot/grub/menu.lst and added "resume=/dev/sda5":

# kopt=root=UUID=c3deabd0-5a0c-49e6-afd7-f80100550179 ro elevator=cfq resume=/dev/sda5

update-grub rounded out the list of maneuvers.

# update-grub
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.list file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.17-10-386
Found kernel: /boot/vmlinuz-2.6.17-10-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

Now, why did it have to be so hard? I dunno. Maybe it would have been smoother had I gone for a clean install rather than an upgrade. Perhaps. But I really didn't feel like that and it seems like an upgrade should work.

1 Comment

non sequitor

So this has very little to to with the above post, but, seeing as I am one of the original members of this site I feel that I am entitled to a little latitude. Anywho, as you may recall, I made a feeble attempt to switch over to SuSE a few years ago, but had to abandon it due to incompetence. I've since decided to take another stab at the world of Linux, but my version of SuSE is so old that I can't even update it now. Hence, I decided to download and install Debian - which I actually did successfully. I chose Debian because it sounded the most 'hard-core' and therefore it is for me.

Anyway, to make a long, rambling post even longer, it turns out that I am still too incompetent to use Linux. However, I now have the time to give it a real try. So, the point here is that I don't know the basics on how to use Linux/Unix, and am therefore pretty crippled. Where to find the basics? For instance, I would love to configure my wireless card. I would also like to figure out how to make the display fill my screen rather than leaving 2 inches of black border surrounding the image. It seems like I am missing something in the actually theory of how it works. I would rather learn a little about it so I can potentially solve my own problems in the future rather than rely on others to solve said problems for me. The end.

-stephen

Subscribe to Comments for "Hibernate Ubuntu Edgy" Subscribe to zmonkey.org - All comments