swap partition won't mount

Gabriel Dragffy dragffy at yandex.ru
Sun Mar 4 20:56:45 UTC 2007


Alex Janssen wrote:
> I have not given a label to mkswap at any time.  Mine seems to survive 
> reboot, now.  Just can't hibernate as swap partition is smaller than memory.
> Make sure there is a link named as the uuid given by mkswap in 
> /dev/disk/by-uuid.
>   example: lrwxrwxrwx 1 root root 10 2007-03-04 15:11 
> 79cb19f1-71c2-46e6-bcc7-cd2f95cfd1ab -> ../../hdc6
> This link name must be in the fstab as:
>   UUID=79cb19f1-71c2-46e6-bcc7-cd2f95cfd1ab none swap sw 0 0
> Check it and let us know.
> 
> Alex
> 

Ha!
Genius!
There was no symlink in /dev/disk/by-uuid so I made one and voila!!
Question is why didn't mkswap make one automatically... a bug perhaps? 
We'll see. Thanks for the tips Alex, much appreciated. Take it easy.

Gabe




More information about the ubuntu-users mailing list