Gparted resize linux swap partition

Old Ranger ranger at oldpathsbaptistchurch.org
Tue Mar 18 03:08:47 UTC 2008


Greetings to all,
I recently installed 7.10 on part of my laptop, where FreeBSD used to 
reside.
I wanted to try Ubuntu.  I like it very well, for the week I've had it.  
Works great!

Today, I noticed in the System Monitor that I grossly oversized my swap 
partition during initial installation.
Physical memory is 2Gb.  I thought I was specifying 2Gb of swap, when I 
actually specified 20Gb.  OOPS.

So, I downloaded the live CD of Gparted, burned the iso to CD, booted 
up, and resized the swap to 2 Gb.
Also resized the /usr partition accordingly, etc...

Ok, now the question.

When I start the system, swap does not automatically come "on", it is 
not automatically recognized by the OS.
However, I can turn "swapon" by using Gparted from the GUI while system 
is running.
Sooooo, did I shoot myself in the foot?  Or is there a way to make 
Ubuntu be aware of the newly shrunk swap partition WITHOUT reinstalling 
the entire system?

Thanks in advance for any insight, and/or assistance.

Sincerely,
Z. Wade Hampton
Marysvale, UT




More information about the ubuntu-users mailing list