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 Sun 26 Oct 2014, 04:13
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 Posts_count  
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?
Sub_title: [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


Edited_time_total
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8368

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: 8368

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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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