how to format swap partition?

Booting, installing, newbie
Post Reply
Message
Author
User avatar
o4tuna
Posts: 24
Joined: Wed 07 Feb 2007, 03:33

how to format swap partition?

#1 Post by o4tuna »

Trying to rearrange some partitions, swap was initially set up as an extended partition, I need to change this.
Gparted won't allow it, as it's active as a swap partition
(hdd install)
I tried right click & swap off
I tried terminal & swapoff
I tried terminal & swapoff -a
I tried terminal & swapoff -a /dev/sda5
I tried terminal & swapoff /dev/sda5
I tried booting from the cd & it grabs the swap partition & won't let go either...


RAM:1G|CPU:Athlon 3000+|
Drives:hda DVD burner|hdb 160G|hdc 250G|hdd 300G|
SATA:sda 160G (boot)|sdb 160G|
Only Partitioned:
sda1 /(40G)-(110G unallocated)primary|sda5 2G swapsecondary|
Keyboard & Mouse:non-windows keyboard & usb marble|
Monitor:NEC Multisync 95 19"|Video card:pny GeForce 6200 256MB|
SoundBlaster PCI64
Puppy:2.14|Multi-boot:Not yet|
Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

#2 Post by Sage »

If <puppy pfix=ram< doesn't work - mostly likely it does not - run the GPartEd liveCD to delete and then reinstall your swap partition where and how you like it.
If you're really brave, DOS Fdisk might delete it!!
User avatar
o4tuna
Posts: 24
Joined: Wed 07 Feb 2007, 03:33

#3 Post by o4tuna »

Sage wrote:If <puppy pfix=ram< doesn't work - mostly likely it does not
It didn't

When I get back from work I'll google the Gparted live cd iso

Thanks
Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

#4 Post by Sage »

You're in luck. Ladislav just told us about a new version:
http://sourceforge.net/project/download ... irror=mesh
User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#5 Post by Flash »

o4tuna, I believe Sage assumed you'd boot the live CD with the puppy pfix=ram option. Is that what you did, and it didn't work? This is for my own curiosity. It seems to me it should have worked.
User avatar
pcguru
Posts: 12
Joined: Sat 02 Dec 2006, 22:29
Location: New Zealand

#6 Post by pcguru »

starting puppy with
"puppy pfix=ram"
doesn't / won't work - BUT - all I've ever had to do to sort this out was to run the 'mut' (media utility tool ?)
you can see in muts' display the swap partition, and there is a button you can click to turn 'swapoff'
- okay, I'm assuming everyone has the same as me - but that's how it looks/works on my system.
PaulBx1
Posts: 2312
Joined: Sat 17 Jun 2006, 03:11
Location: Wyoming, USA

#7 Post by PaulBx1 »

I noticed something similar a while back; swapoff wouldn't seem to do the job, but MUT's button did. Never did figure out why.

Look at the output of the "free" command using the two methods.
User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#8 Post by Flash »

pcguru, I tried it and you are correct. Puppy uses the swap partition anyway. :(
User avatar
o4tuna
Posts: 24
Joined: Wed 07 Feb 2007, 03:33

#9 Post by o4tuna »

pcguru wrote:starting puppy with
"puppy pfix=ram"
doesn't / won't work - BUT - all I've ever had to do to sort this out was to run the 'mut' (media utility tool ?)
you can see in muts' display the swap partition, and there is a button you can click to turn 'swapoff'
- okay, I'm assuming everyone has the same as me - but that's how it looks/works on my system.
Silly me :oops: I thought "puppy pfix=ram" was something I was supposed to type in a terminal window.
Also did't realize the text in mut was a button!
Hey that worked!
Formatting that partition as we speak.
Thanks! :D
Post Reply