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 Sat 25 Oct 2014, 02:05
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How can I delete a Linux 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
r__hughes

Joined: 13 Apr 2006
Posts: 343
Location: Canada

PostPosted: Sun 22 Apr 2012, 20:04    Post_subject:  How can I delete a Linux swap-partition
Sub_title: Pup431 always boots with an active swap-partition
 

How can I unmount and delete an active Linux swap-partition in pup431?

I/m using a frugal pup431 (grub booted with options for WinXP, pup421 and pup431). All of these coexist on the main hard-drive sda which has 4 partitions :

sda1(ntfs for WinXP)
sda2(fat2) for Win & pup data files
sda3(ext2 for pup431/pup431)
sda4(Linux swap partition).

I've increased my RAM to 2G and the Linux swap partition (sda4) never seems to be used so I would like to delete it; but booting pup431(frugal) then using gparted_0.4.5 always shows sda4 active and locked but with no mount-point and no bytes used.

swapoff -a has no effect.
umount /dev/sda4 gives an error message: invalid argument
umount /mnt/sda4 gives an error message: no such file or directory

gparted always shows the same info for sda4: active and mounted(lock-symbol)
Pdisk shows sda4 but gives no info apart from allocated size.

Is there a way of mounting pup431 with a noswap flag?

Is it safe to delete the swap partition inspite of gparted showing it active? How can I do this because gparted won't let me but would the Pdisk partition-manager let me do it?

_________________
--- quad booting pup431, Slacko55PAE, Slacko56NPAE (with OO3/LO4, devx, Gimp) & WXP on DELL Dimension 2400 PC & DELL Latitude 630 Laptop using grub.
---USB-Flash booting same on Samsung N110 WXP Netbook and Lenovo q100 WXP netPC.
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9203
Location: Stratford, Ontario

PostPosted: Sun 22 Apr 2012, 20:06    Post_subject:  

Code:
swapoff /dev/sda4
Back to top
View user's profile Send_private_message 
r__hughes

Joined: 13 Apr 2006
Posts: 343
Location: Canada

PostPosted: Sun 22 Apr 2012, 20:48    Post_subject:  

Thank you very much - works fine Smile
Now how did I miss that??

_________________
--- quad booting pup431, Slacko55PAE, Slacko56NPAE (with OO3/LO4, devx, Gimp) & WXP on DELL Dimension 2400 PC & DELL Latitude 630 Laptop using grub.
---USB-Flash booting same on Samsung N110 WXP Netbook and Lenovo q100 WXP netPC.
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 » Users ( For the regulars )
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.0526s ][ Queries: 11 (0.0159s) ][ GZIP on ]