How to add swap space to hibernate?
Posted: Wed Jan 09, 2013 11:53 am
I have just installed LMDE and updated to the newest packages. In the logout menu, I have "Bereitschaft" (suspend) and "Ruhezustand" (hibernate). But when I hibernate, my machine halts. When I switch it on again, it boots from scratch.
I previously used Mint 10 Julia, and hibernating worked perfectly.
I have a swap partition large enough; it is registered in /etc/fstab, but it is not mounted!?
My fstab looks like this
The swap partition is inside an extended partition. mount says
Strangely enough, the swap partition seems to be there and used:
What am I doing wrong?
S.
I previously used Mint 10 Julia, and hibernating worked perfectly.
I have a swap partition large enough; it is registered in /etc/fstab, but it is not mounted!?
My fstab looks like this
Code: Select all
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=c6c89f9b-ebd0-4426-8c4b-529094d98114 / ext4 rw,errors=remount-ro 0 1
# /dev/sda5
UUID=cbfe9ae2-e86e-4d3e-89f8-db639633723a swap swap sw 0 0
Code: Select all
# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=126500,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=102448k,mode=755)
/dev/disk/by-uuid/c6c89f9b-ebd0-4426-8c4b-529094d98114 on / type ext4 (rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=642120k)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
cgroup on /dev/cgroup/cpu type cgroup (rw,relatime,cpu,release_agent=/usr/local/sbin/cgroup_clean)
Code: Select all
root@nc10:~# LANG=C blkid /dev/sda5
/dev/sda5: UUID="cbfe9ae2-e86e-4d3e-89f8-db639633723a" TYPE="swap"
root@nc10:~# LANG=C swapon -U cbfe9ae2-e86e-4d3e-89f8-db639633723a
swapon: /dev/sda5: swapon failed: Device or resource busy
S.