Ubuntu Black screen after suspend
- INFO: This will not work for 12.04, resume from hibernate work differently in 12.04.’
Pull up a Terminal again and run
cat /proc/swaps
and hopefully you see the path to your swap partition listed there. If not chances are something went wrong in the steps above. Here’s my output:
Filename Type Size Used Priority
/dev/dm-1 partition 2676732 73380 -1
Then Find the uuid of the device
$ cd /dev/disk/by-uuid
$ ll
total 0
drwxr-xr-x 2 root root 160 Feb 13 23:17 ./
drwxr-xr-x 8 root root 160 Feb 13 23:17 ../
lrwxrwxrwx 1 root root 10 Feb 13 23:17 06af334d-676b-4b46-88ec-30105b980e1d -> ../../dm-1
gksu gedit /etc/default/grub
& to pull up the boot loader configuration. Look for the line
GRUB_CMDLINE_LINUX=""
and make sure it looks like this (using your UUID of course).
GRUB_CMDLINE_LINUX="resume=UUID=06af334d-676b-4b46-88ec-30105b980e1d"
and save the file
sudo update-grub
and wait for it to finish
gksu gedit /etc/initramfs-tools/conf.d/resume
& and make sure its contents are
resume=UUID=06af334d-676b-4b46-88ec-30105b980e1d
(with your UUID of course in place of mine). Save the file!
sudo update-initramfs -u
Reboot!