Comment 22 for bug 66637

Revision history for this message
ben (bhaubeck-gmail) wrote : Re: swap not being mounted on boot

amnesia: yes, i have done exactly this:

- determined my swap-partition device with fdisk -l

- got the right UUID of the swap-partition with vol_id

- wrote
<i>RESUME=UUID=<the-swap-partition-uuid-from-vol_ID></i>
in <i>/etc/initramfs-tools/conf.d/resume</i>

- wrote the right UUID into the /etc/fstab

- then i had to correct the symlink to /dev/hda2 (in my case) in /dev/disk/by-uuid to the new one, that vol_id has told me

- regenerated the initrd with update-initramfs -u, what finished without errors.

but after the next reboot, the swap partition is not used because the UUID has changed again ....