I've heard that Ubuntu have had some problems with hibernate, but how big is your swap partition?
Hi,
Initially hibernate/resume was working fine. But now system hibernate but doesn't resume, instead it boot-up normally. I had checked SWAP is mounted on /dev/sda2
I have tried hibernate from [menu] -> Leave -> Save to disk
There is no problem in hibernate process, but resume fails.
I have also installed uswsusp package and tried to hibernate through command "s2disk", again it hibernate properly but fail to resume.
Is there any thing to check?
I've heard that Ubuntu have had some problems with hibernate, but how big is your swap partition?
Swap is of 5 GB. As system has 4 GB RAM
No one here to help he
Anyways, after googling a lot and with some trial and error i found one solution
I have to edit grub configuration and there resume device
1. Open /boot/grub/grub.cfg in nano
2. find following line
/boot/vmlinuz-3.2.6 root=UUID=<your disk uuid> ro text splash vga=791
There will be some hex characters in place of <your disk uuid>
3. Insert resume=/dev/disk/by-uuid/<your swap disk UUID> before the 'ro text splash vga=' . It should look lite this
/boot/vmlinuz-3.2.6 root=UUID=<your disk uuid> resume=/dev/disk/by-uuid/<your swap disk UUID goes here> ro text splash vga=791
Do not forget to replace <your swap disk UUID goes here> with actual UUID of your swap disk.
Save and exit. Now hibernate your system and boot again, it should start resuming from hibernate.