[Bug 93039] Re: Regression: resume from disk (hibernate) fails sometimes

Adam Porter launchpad at alphapapa.net
Thu Feb 21 06:32:12 UTC 2008


I have a fresh install of Gutsy on my laptop and this happens to me as
well.  Hibernation succeeds, but on boot, sometimes it resumes properly,
while other times it doesn't even try to load the hibernation image, and
it fails to activate the swap partition because it's still a hibernation
image.  It boots up normally, runs fsck on the disks since they weren't
cleanly unmounted, and I have to:

1.  Manually run mkswap on the swap partition to make it a normal swap partition again
2.  Change the UUID of the swap partition in /etc/fstab
3.  Change the UUID of the swap partition in /etc/initramfs-tools/conf.d/resume
4.  Run swapon -a to activate the swap partition
5.  Run "sudo dpkg-reconfigure linux-image..." to recreate the initrd

Then I can hibernate again, but resuming may or may not work.

All of my partitions are in LVM.  Root is /dev/mapper/vg-root, and swap
is /dev/mapper/vg-swap; both are in the same volume group, named "vg".

-- 
Regression: resume from disk (hibernate) fails sometimes
https://bugs.launchpad.net/bugs/93039
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to initramfs-tools in ubuntu.




More information about the kernel-bugs mailing list