LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 03: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, 03: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, 03:34 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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, 03:36 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

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


Reply



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 07:53 AM
Swap partition paddyjoy Linux - Newbie 2 07-19-2005 07:17 PM
Suse dontīt boot X; donīt ask for root passwd, YAST donīt work... carrie Linux - Newbie 4 10-08-2004 07:46 AM
Swap partition Cap'n Ahab Linux - Newbie 2 07-19-2003 11:31 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 08:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:17 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
Open Source Consulting | Domain Registration