Comment 22 for bug 105490

Revision history for this message
t33baum (gamblar3) wrote :

i had the same problem.

the problem is the symbolic link in /dev/disk/by-uuid/ at the swap partition.

to fix it make:

sudo mkswap /dev/<swap partition>

copy the new uuid

edit your /etc/fstab
       UUID=<new UUID> none swap sw 0 0

edit your /etc/initramfs-tools/conf.d/resume file
       UUID=<bew UUID>

go to the /dev/disk/by-uuid/ directory and make this entry
       ls -al | grep <swap partition>

this gives you your old UUID

and now make this entry
      sudo mv <old UUID> <new UUID>

then
    sudo swapon -va

then
    sudo update-initramfs -u

the problem is fixed after a reboot