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 Wed 01 Oct 2014, 19:12
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 Posts_count  
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 YIM MSNM 
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
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.0470s ][ Queries: 12 (0.0110s) ][ GZIP on ]