
I have lately moved my ruby to another framework (MetaSploit in specific) from Ruby on Rails. Dont mistake me, i am still Ruby on rails fan. As i set up my backtrack 5, the system sometimes hibernate and when i want to resume the system could not hence forcing me to cold reboot.
I came across a bunch of ideas on different forums on the internet but there is one that worked like a charm. If you are undergoing the same problem kindly follow the following simple steps. Copyright to BackTrack .
1. Open /boot/grub/grub.cfg in nano
2. find following line
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.











Ensure that there is only one SWAP partition.
I had set up 2, i don’t know really why.
After I removed one pm-hibernate works fine