LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 05-22-2005, 12:00 AM   #1
dx0r515t
Member
 
Registered: Jan 2005
Location: USA
Distribution: Slackware 10.2 & 11.0
Posts: 155

Rep: Reputation: 30
Create swap partition AFTER installing slackware?


When I installed slackware 10.0 I made a stupid mistake and forgot to create a swap partition. I have 512mb of ram...but i think i still need a swap partition. Anyone know if/how I can create a swap partition for my system without having to reformat? I have only one HD which dual boots with win2k if it matters at all. I really would rather not reformat, if I don't have to because I just upgraded to kernel 2.6.11.10....
 
Old 05-22-2005, 12:10 AM   #2
slackMeUp
Member
 
Registered: Nov 2003
Distribution: Slack-where?
Posts: 654

Rep: Reputation: 30
No problem.

And no partition needed. . .

You can always use a swap file to fill the gap when swap is needed.

http://www.redhat.com/docs/manuals/l...ap-adding.html

Here's a quick doc I found about it. It applies to slack in this case too.

Look at the second half of that page and there you go.
 
Old 05-22-2005, 12:13 AM   #3
dx0r515t
Member
 
Registered: Jan 2005
Location: USA
Distribution: Slackware 10.2 & 11.0
Posts: 155

Original Poster
Rep: Reputation: 30
wow thanks alot worked like a charm for me
 
Old 05-22-2005, 12:16 AM   #4
slackMeUp
Member
 
Registered: Nov 2003
Distribution: Slack-where?
Posts: 654

Rep: Reputation: 30
Just a quick note. . .

You might want to make the swap file as root in root's home folder. . . that way users can't dump the contents of the swap file and go garbage picking so to speak.

Glad it worked for you.
 
Old 05-22-2005, 12:29 AM   #5
dx0r515t
Member
 
Registered: Jan 2005
Location: USA
Distribution: Slackware 10.2 & 11.0
Posts: 155

Original Poster
Rep: Reputation: 30
Thanks for the tip
I made the swap file as root via su......
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to create a swap partition dotancohen Linux - General 4 07-30-2005 01:39 PM
I installed linux and forgot to create a swap space partition Starch Linux - Newbie 5 06-22-2005 09:29 AM
Can't create swap partition tiger99 Linux - Newbie 23 03-15-2004 10:34 PM
Create swap partition? mikeshn Linux - General 6 11-28-2002 03:42 AM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 09:45 AM


All times are GMT -5. The time now is 10:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration