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 Tue 30 Sep 2014, 12:33
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to mount swap partition auto when starting
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
Guest
Guest


PostPosted: Tue 14 Feb 2006, 00:37    Post subject:  How to mount swap partition auto when starting  

Dear all
I have been installed Puppy in my hardisk. I have a swap partition and Could you tell me how to make Puppy auto mount it booting.
Thanks for your help
Regards
Back to top
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Tue 14 Feb 2006, 01:18    Post subject:  

The swap partition can be used with the command swapon, for instance if my swap partition was /dev/hda4 then the command would be
Code:
swapon /dev/hda4

You can add this command to /etc/rc.d/rc.local and it will execute automatically at bootup.
If you have multiple swap partitions/devices then you can use this command instead
Code:
swapon -a

That will activate all of them at once. In fact, it can be safely used if you only have one swap partition and aren't sure which one it is.

Nathan
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
noip

Joined: 06 Oct 2005
Posts: 93
Location: Sydney

PostPosted: Tue 14 Feb 2006, 01:35    Post subject:  

Hi,

Basically, you add the swap partition to your fstab file in /etc .

This previous discussion may help ..

http://www.murga.org/%7Epuppy/viewtopic.php?t=4978&highlight=swap

Rds

GS

ftgs
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
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.0385s ][ Queries: 12 (0.0033s) ][ GZIP on ]