How Come Gparted Won't Let Me Resize? [SOLVED]

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

How Come Gparted Won't Let Me Resize? [SOLVED]

#1 Post by Sky Aisling »

How Come Gparted Won't Let Me Resize?
I am attempting to resize sda1 ext 3 from 4gb to 10gb.
I enter new size number but resize function doesn't activate.
What obvious thing am I overlooking?

Thank you in advance.
Attachments
resize1.png
(126.14 KiB) Downloaded 213 times
puppy528.png
(36.77 KiB) Downloaded 254 times
sda1.png
(49.35 KiB) Downloaded 258 times
Last edited by Sky Aisling on Thu 27 Jun 2013, 03:57, edited 1 time in total.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#2 Post by Semme »

I'll guess cause your swap's in the way. I'd unallocate it and retry- but that's me.

You may and probably should wait for someone who 'trusts' that sucka. Not moi.

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#3 Post by Karl Godt »

Though your picture shows the swap partition is not in use:
You should use the swapoff command to swapoff the swap partition .

Code: Select all

swapoff /dev/sdX
In your case apparently swapoff /dev/sda2 .
To verify :

Code: Select all

free
and

Code: Select all

cat /proc/swaps
that the partition as Semme's cryptic message says get's usable by gparted in a way to delete it ( Trash icon ) .
Then it should resize .
Then create a new swap partition .
Then make sure to inform the kernel about changes to the partition table in the MBR ( if gparted does not do it by itself ):

Code: Select all

partprobe
Then swapon the new swap parttion :

Code: Select all

swapon /dev/sdaY
Then verify by free and cat /proc/swaps again .

It is also possible to move the swap partition up to the end of the disk rather than deleting and recreating it .

User avatar
Burn_IT
Posts: 3650
Joined: Sat 12 Aug 2006, 19:25
Location: Tamworth UK

#4 Post by Burn_IT »

It is also possible to move the swap partition up to the end of the disk rather than deleting and recreating it .
That's the sensible action.
"Just think of it as leaving early to avoid the rush" - T Pratchett

User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

How Come Gparted Won't Let Me Resize?

#5 Post by Sky Aisling »

Removing the swap file worked.
I did "swap off" via GParted.
I did remove swap and recreated it using GParted.

I did this:
Ran Puppy in RAM without a save file (puppy pfix=RAM)
Using Gparted:
deleted swap partition, (select, delete, apply)
selected sda1 ext3, (resize/move, change size, apply)
selected unallocated, (new, size, file system:linux-swap, apply)
It is also possible to move the swap partition up to the end of the disk rather than deleting and recreating it .
That's the sensible action.
Next time,... What is the procedure to move swap file to end of disk?
Will moving swap to end of disk make the system run more efficient?

Thank you for the terminal command lessons, much appreciated.

User avatar
Burn_IT
Posts: 3650
Joined: Sat 12 Aug 2006, 19:25
Location: Tamworth UK

#6 Post by Burn_IT »

Not more efficient, but you won't have to move it at a later date- like you have now.
You probably could have just dragged it to the end in Gparted.
"Just think of it as leaving early to avoid the rush" - T Pratchett

Post Reply