Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 28 Nov 2014, 15:20
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to delete Swap partition?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
don922

Joined: 19 Jan 2008
Posts: 380
Location: The land of 14" monitors

PostPosted: Mon 28 Dec 2009, 08:42    Post subject:  How to delete Swap partition?
Subject description: [Solved]
 

I am trying to turn off and delete a swap partition (/hdb7). The partition is formated as linux swap. The free command shows that the partition is not being used.

In GParted the Swapoff command doesn't work apparently there is a bug which sends the command swapoff -v which isn't supported in Puppy. I have tried to use the command swapoff -a /dev/hdb7, but GParted still shows the swap partition with a lock and it cannot be deleted.

Help!

_________________
Don -- Thailand


Last edited by don922 on Mon 28 Dec 2009, 10:01; edited 1 time in total
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8715

PostPosted: Mon 28 Dec 2009, 09:02    Post subject:  

Try
swapoff /dev/hdb7
no -a...that's what I use.
I assume (according to free) there is enough room for the swap to empty into the ram...gparted can use large amounts of it

mike
Back to top
View user's profile Send private message 
don922

Joined: 19 Jan 2008
Posts: 380
Location: The land of 14" monitors

PostPosted: Mon 28 Dec 2009, 09:59    Post subject:  

mike: your suggestion worked like a charm! Very Happy

I was confused by the help for the swapoff command as follows:
Quote:
BusyBox v1.8.2 (2007-11-30 09:20:42 ) multi-call binary

Usage: swapoff [-a] [DEVICE]

Stop swapping virtual memory pages on DEVICE

Options: -a Stop swapping on all swap devices


Thank you for your quick answer. I guess experience beats "help" any time.

_________________
Don -- Thailand

Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8715

PostPosted: Mon 28 Dec 2009, 11:08    Post subject:  

Oh Good

well that -a caught me out too Smile

mike
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0421s ][ Queries: 11 (0.0041s) ][ GZIP on ]