LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-01-2004, 01:35 PM   #1
eddieman
LQ Newbie
 
Registered: Dec 2003
Distribution: Mandrake 9.2
Posts: 28

Rep: Reputation: 15
Quick Partitioning Question


Okay so I have a 60GB harddrive with Windows XP installed on it. Also the drive is only a single partition

I want to make space to linux. I'm going to dedicate maybe 20GB or so to it...and....then I also have to make the Linux swap partition...I read it was good practice to make the swap partition twice the size of your RAM. So my swap will be 1GB...mmm

Anyways, I will be using partition magic to do this, and i just wanted to know if I should make both the linux and the linux swap primary partitions....secondary partitions...or one primary and one seconday...???

Thanks

Last edited by eddieman; 01-01-2004 at 01:37 PM.
 
Old 01-01-2004, 01:51 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,938

Rep: Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825
The 2x RAM for swap space IMO is outdated. 512 MB is good enough.

What distro are you planning on installing?

I would resize the XP partition to create some unallocated space and let the installer autopartition using free space.

It doesn't matter with linux if the partitions are primary or logical. Remember you can only have 4 primary partitions which includes the extended. An extended is a primary partition that contains all of the logical partitions.
 
Old 01-01-2004, 01:59 PM   #3
eddieman
LQ Newbie
 
Registered: Dec 2003
Distribution: Mandrake 9.2
Posts: 28

Original Poster
Rep: Reputation: 15
I'm going to install VectorLinux...

At first I was going to install Mandrake...then that switched to RedHat...then I started looking at Slackware...and it sounded appealing...cause of the efficiency...and then VectorLinux claims to be a more...user-friendly version...built on Slackware...so...even better...since I'm just starting out

I know it may not be the most newbie friendly distro to start with, but when asked what distro the start with, everyone has such varying opinions :P It took me a while to pick one, doesn't hurt to just pick one and give it a go, if it doesn't work, can always try another if anything. I firsted tried Knoppix and it was okay, just SLOW!!! cause it was off CD. I want a more permenant Linux to practice in.

Partition magic will create the extended partition and keep my 2 linux partitions in it, and i like that, so I'll just go create the partitions now and then install Linux thanks for your help

P.S. Would you mind explaining why making the linux swap partition double your ram size is now outdated? Just curious

Last edited by eddieman; 01-01-2004 at 02:07 PM.
 
Old 01-01-2004, 02:21 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,938

Rep: Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825
quote:
--------------------------------------------------------------------------------
The total amount of virtual memory (physical memory
and swap) required for a machine is dependent upon
the cumulative memory requirements of all processes.
When you run out of virtual memory, new processes can
not be started and running processes that execute
'mallocs' will fail.

Obviously, it is necessary to size the machine with
sufficient virtual memory capacity to avoid this
condition; however, the ratio of physical memory to
swap space required for reasonable performance is
completely dependent upon the characteristics of the
applications. If the processes use large amounts of
memory that is 'active' (i.e. frequently updated or
referenced), then a high ratio of physical memory to
swap will be required to deliver consistent
performance. If, however, the applications use large
amounts of memory, most of which is inactive,
then reasonable performance can be achieved with a
smaller physical memory to swap ratio. 'Rule of
thumb' guidelines for memory/swap sizing are useless
because the system requirements are completely
application dependent.
--------------------------------------------------------------------------------

For normal desktop usage you will rarely use any swap space with 512mb of RAM. With 256MB RAM the only time I every see swap being used is when I play a DVD.
 
  


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
Question about partitioning djljjm Linux - Software 2 11-16-2004 11:08 AM
Quick partitioning question. Corallis Linux - Newbie 6 08-30-2004 07:41 PM
samba smb.config question (quick question) TheDOGG Linux - Networking 1 03-02-2004 07:19 AM
partitioning question digger Linux - Newbie 2 06-23-2003 08:49 AM
partitioning question rayne Linux - Newbie 2 09-26-2002 10:15 PM

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

All times are GMT -5. The time now is 11:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration