View Single Post
Old November 17th, 2006   #3
56phil
Gee! These Aren't Roasted!
 
56phil's Avatar
 
Join Date: Nov 2006
Location: Kansas City, MO USA
Beans: 206
Ubuntu 7.10 Gutsy Gibbon
Re: Kubuntu Edgy: swap failed when awaken from hibernate

First you need to restore swap:
Code:
sudo mkswap /dev/'swap partition'
sudo swapon -va
edit your /etc/fstab file
Code:
gksudo gedit /etc/fstab
when you edit your /etc/fstab file make sure that your swap partition has the new UUID.
Code:
UUID='your correct swap UUID' none swap sw 0 0
edit your /etc/initramfs-tools/conf.d/resume file
Code:
gksudo gedit /etc/initramfs-tools/conf.d/resume
put this line in your /etc/initramfs.d/resume file
Code:
RESUME=UUID='your correct swap UUID'
and make this entry:
Code:
sudo update-initramfs -u
Now, you should be able to hibernate, resume and keep your swap file intact.
56phil is offline   Reply With Quote