LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-08-2004, 04:06 PM   #1
Jozsef
LQ Newbie
 
Registered: Oct 2004
Location: Caracas
Posts: 12

Rep: Reputation: 0
Red face Donīt have swap partition


I have installed Suse 9.0 in my labtop Gericom.

When i did, Yast didnīt create the swap partition.

Is this bad for my sytem now?

If is this so, what could I do to fix it?
 
Old 10-08-2004, 04:34 PM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
No it's not bad. You can create your own. You need a partitioning program and then you can create the partition (I think twice your RAM is the right size) and make it linux swap file system. Then edit your /etc/fstab file to include it.
 
Old 10-08-2004, 04:34 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
If you have HEAPS of RAM (>= 512MB) and don't
try to do massive things the lack of a swapper may
go un-noticed ... if not you may find that applications
randomly die on you.

Solution is to a) re-partition or b) create a special
file in the file-system (works but makes swapping
slower) e.g.
Code:
dd if=/dev/zero of=/tmp/swapper bs=1024 count=500000
mkswap /tmp/swapper
swapon /tmp/swapper
That will give you swapspace of ~ 500MB

You'd then want to edit /etc/fstab to point to
that file, too.


Cheers,
Tink
 
Old 10-08-2004, 04:36 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
In fact, you're not obligated to have one. BTW Swap should be max 512MB if you're not doing heavy graphic processing.
 
  


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
How to chown -R don.lab * for don.users Hans Zilles Linux - Newbie 3 11-15-2005 08:53 AM
Swap partition paddyjoy Linux - Newbie 2 07-19-2005 08:17 PM
Suse dontīt boot X; donīt ask for root passwd, YAST donīt work... carrie Linux - Newbie 4 10-08-2004 08:46 AM
Swap partition Cap'n Ahab Linux - Newbie 2 07-20-2003 12:31 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 04:14 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration