Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I used Gparted to re-size a virtual drive. The swap drive is there but is not being used by Ubuntu.

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   186660863    93329408   83  Linux
/dev/sda2       186660864   194117631     3728384    5  Extended
/dev/sda5       186662912   194117631     3727360   82  Linux swap / Solaris
root@ubuntu-coldfusion:~# swapon -s
Filename                Type        Size    Used    Priority

When I pull the drive up in Gparted the Swap is OFF. I can turn it On and exit Gparted... but when I boot up the machine there is no swap. When I go back in to Gparted (after having booted the machine) the swap is off (again).

Thanks for any help. Wayne

share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.