LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-07-2002, 02:02 AM   #1
dark_light
Member
 
Registered: Mar 2002
Location: On Mars
Posts: 115

Rep: Reputation: 15
How many partitions


How many partitions i need ?
What should be their names?
What size should i assign them?i have 4 GB of free space.
 
Old 05-07-2002, 02:16 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
The amount of partitions is really up to you. I would put the bulk of my disk space in the / partition. I usually allow my distro to do it's work and make the number of partitions it wants. Otherwise, I go ahead and make 2; a / and a swap. The rest is up to Linux and Mandrake. Your swap should be about double the size of RAM you have installed (if 64, then make swap 128 and so on...).

You should give a little more info like what distro you are installing, and maybe what file system you are planning on using. There is really no huge benefit to making 30+ partions if you are just planning on using your LinuxBox as a home PC for games and internet. As a server, I have no idea.
 
Old 05-07-2002, 08:53 PM   #3
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Actually, if you do a normal workstation-class install most distros will take care of all of this for you, usually by creating one root partition and a small partition for swap.

If you're just getting into Linux, you don't really need to get complicated with your partition scheme.
The basic scheme is:

1 swap partition - not larger than 256M, unless your running a server or other very intensive tasks. The rule of making swap twice the size of your RAM is outdated for the amount of memory in today's machines.

1 root partition (called simply " / ")- the rest of the space on the drive.

There are, of course, many other schemes, but there's really no single correct one.
 
Old 05-08-2002, 12:06 AM   #4
dark_light
Member
 
Registered: Mar 2002
Location: On Mars
Posts: 115

Original Poster
Rep: Reputation: 15
Im installing redhat 7.0
is /boot partition necessary ,remember i have also windows installed and i want to have both operating systems
 
Old 05-08-2002, 12:17 AM   #5
X11
Member
 
Registered: Dec 2001
Location: Brisie, Australia
Distribution: Slackware 8.1
Posts: 324

Rep: Reputation: 30
Quote:
Originally posted by dark_light
Im installing redhat 7.0
is /boot partition necessary ,remember i have also windows installed and i want to have both operating systems
Well, you can have /boot directory on seperate partition to the rest of the directories listed under / (root/top-level directory). But that would make it a bit more complex. So in other words I'd use this scheme:

/ (root/top-level directory)- 3GB - 3.75GB
swap - around 200-300MB (depending how memory intensive the application(s) is/are)
 
Old 05-08-2002, 12:31 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Cool, I didn't know that the swap thing was "outdated".

I have a question then.

If I were to have, say a Gig of RAM would I not have a swap file? Thanks.
 
Old 05-08-2002, 07:15 AM   #7
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
Quote:
If I were to have, say a Gig of RAM would I not have a swap file? Thanks.
It really depends on what you will be doing with your system, but you could probably get away with no swap partition. However, with 4 GB of space, you probably wouldn't 256MB of space for a swap partition -- and I would make it a swap partition, not a swap file.
 
Old 05-08-2002, 04:37 PM   #8
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Quote:
Originally posted by MasterC
If I were to have, say a Gig of RAM would I not have a swap file? Thanks.
Hell, even with my wimpy 256M of RAM my swap hardly ever gets touched. Granted, my systems are just workstations, not servers, but still....
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/proc/partitions showing wrong partitions netstv Linux - General 1 07-10-2006 01:11 PM
How many partitions should I use? fishybawb Slackware - Installation 4 07-23-2004 02:53 AM
Partitions dark_light Linux - General 3 07-21-2004 09:09 AM
Create software RAID partitions first, then create filesystem partitions on top of th stefanlasiewski Linux - Software 1 04-28-2004 04:12 PM
Partitions twinkers Linux - General 26 08-24-2003 10:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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