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.
How Come Gparted Won't Let Me Resize? [SOLVED]
- 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]
- 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.
Though your picture shows the swap partition is not in use:
You should use the swapoff command to swapoff the swap partition .
In your case apparently swapoff /dev/sda2 .
To verify :
and
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 ):
Then swapon the new swap parttion :
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 .
You should use the swapoff command to swapoff the swap partition .
Code: Select all
swapoff /dev/sdX
To verify :
Code: Select all
free
Code: Select all
cat /proc/swaps
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
Code: Select all
swapon /dev/sdaY
It is also possible to move the swap partition up to the end of the disk rather than deleting and recreating it .
- Sky Aisling
- Posts: 1368
- Joined: Sat 27 Jun 2009, 23:02
- Location: Port Townsend, WA. USA
How Come Gparted Won't Let Me Resize?
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)
Will moving swap to end of disk make the system run more efficient?
Thank you for the terminal command lessons, much appreciated.
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 .
Next time,... What is the procedure to move swap file to end of disk?That's the sensible action.
Will moving swap to end of disk make the system run more efficient?
Thank you for the terminal command lessons, much appreciated.