How to merge, delete partitions with gparted?

Booting, installing, newbie
Post Reply
Message
Author
puppyus
Posts: 5
Joined: Wed 03 Jun 2009, 15:34

How to merge, delete partitions with gparted?

#1 Post by puppyus »

Hi all!
I want to merge two empty partitions or either delete one I can't find the option..
Also it looks there's no way to delete the linux-swap partition ..
I 'm using gparted.
User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#2 Post by Béèm »

I was going to advice you to use gparted to do that job.
Can you explain, why in your opinion it didn't work?
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
mainiac
Posts: 4
Joined: Thu 11 Jun 2009, 01:20

#3 Post by mainiac »

I am having the same problem, I think. When I open Gparted, the resize option is disabled on the swap partition. It's also disabled on the second partition I created with the intention of deleting the first. There is the "swapoff" option, however when I click that, I get the error message:

Code: Select all

Could not deactivate swap
swapoff: invalid option -- v
BusyBox v1.8.2 (2007-11-30 09:20:42 GMT-8) multi-call binary

Usage: swapoff [-a] [DEVICE]

Stop swapping virtual memory pages on DEVICE

Options:
	-a	Stop swapping on all swap devices
User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#4 Post by rjbrewer »

If a partition is mounted ( has a lock on it) it can't be deleted or
changed.

I use a gparted cd to remove swap partitions; it has more
capability than Puppies' gparted.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs
maggotspawn
Posts: 355
Joined: Tue 19 Aug 2008, 21:12
Location: Los Angeles, CA.
Contact:

#5 Post by maggotspawn »

Be careful with Gparted. I tried to delete my swap partition with it and ended up not be able to boot at all. This particular PC also didn't want to boot from any Puppy CD I had. Ended up reinstalling everything.
[url]http://www.agitprop666.com/PuppyLinux.html[/url]
[url]http://www.agitprop666.com/PuppyLinux2.html[/url]
Bruce B

Re: How to merge, delete partitions with gparted?

#6 Post by Bruce B »

puppyus wrote:Hi all!
I want to merge two empty partitions or either delete one can't find the option..
If they are truly adjacent partitions, if you deleted them,
you would have 'free space', from the free space you could
make one partition.

I would use gparted if I have to resize a partition, other
wise for an operation like this I use cfdisk from the
command line.

After making the kind of partition you want, then the kind
of filesystem (format) you want. A two step procedure.
puppyus wrote:Also it looks there's no way to delete the linux-swap partition ..
It can be deleted for sure. Probably you have to deactivate
it first.

swapoff <device>


Sorry guys for any redundancy in my posting, got no
excuse for doing it either.
Post Reply