Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I deleted my 16 gigabytes swap memory and now it is unallocated space.

How can I join that space with the other 484 gigabytes?

Screenshot :


BTW I cannot shutdown after removing that memory.

What are the logs I can look at to see what's going on ?

share|improve this question
When you were removing the swap space, did you first "swapoff" the memory before deleting the partition? You can use gparted to swapoff (or terminal: sudo swapoff --all). This should properly dismount the swap space and let you shutdown and or reallocate the freed space – amc Feb 22 '13 at 18:07
@amc No. I just removed the swap space using gnome-disks.How long will sudo swapoff --all take? – Aleksandar Feb 22 '13 at 18:17
it should be very quick (a few seconds tops). I'm not sure if you'll run into problems with already having removed the partition though. – amc Feb 22 '13 at 18:21
@amc It starts and does not stop. system-monitor says Swap - Not available and Gparted scans for devices for minutes. – Aleksandar Feb 22 '13 at 18:22
yeah likely a problem with having deleted the partition. is the swap listed in /etc/fstab? (terminal: cat /etc/fstab) – amc Feb 22 '13 at 18:27

for merge the partitions you can use partitions manager , if windows is there then right click on "My computer " -> select "Manage" -> in "Storage" -> "disk management" , here you can merge your partitions.

for booting use Easybcd software it is free for home user and install it. open it you will see add new entry click on it go to linux tab add entry click and selcet "swap partition" and "GRUB2" in it after that click on edit boot menu select the appropriate timeout option and save setting.

Download here:

share|improve this answer
I do not have windows. Only Ubuntu 12.10. – Aleksandar Feb 22 '13 at 17:46

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.