LinuxQuestions.org
Visit Jeremy's Blog.
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 11-26-2011, 06:12 AM   #1
zoealamode
LQ Newbie
 
Registered: Nov 2011
Posts: 7

Rep: Reputation: Disabled
partion


what partitions are needed and how you should divide your hard drive

Last edited by zoealamode; 11-27-2011 at 04:00 AM.
 
Old 11-26-2011, 06:30 AM   #2
Dman58
Member
 
Registered: Nov 2010
Location: The Danger Zone
Distribution: Slackware & everything else in a VM
Posts: 286

Rep: Reputation: 29
Hello Zoealamode,

Welcome to the forum. To start start off please give clear questions and statements with correct spelling when submitting your posts. It looks as if your asking what partitions are needed and how you should divide your hard drive. That can vary in many ways depending on your hardware setup and the distro of choice. Typically you will have a /boot partition around 50 to 200MB give or take. A SWAP partition usually equal to or twice the amount of system RAM, this may vary as well. Next you need a Root partition (/) as shown in the parentheses, that could very well be the rest of your hard drive space. That is a basic setup. A more complex setup would be the same /boot & SWAP sizes as above and adding different partitions seperate from / like /home, /usr, /var. Like I mentioned earlier it really depends on your particular setup and can vary in a number of ways.
 
1 members found this post helpful.
Old 11-26-2011, 08:06 AM   #3
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Quote:
Originally Posted by zoealamode View Post
what partion essential for linux ?
Only the / partition is essential. Swap can be skipped entirely or set up as a file within /. Everything else can be set up as directories in /.

I always make swap a separate partition and almost never make anything else a separate partition.

Quote:
and how i size need it ?
Usually most of the size of your Linux partition(s) will be used for your own files. The overhead of installing a Linux distribution is pretty small from any modern disk drive. The actual overhead depends a lot on the Distribution you choose and the options you select. So you haven't given enough info for a useful answer (if you hard drive is small enough that you need to worry about this at all).

Quote:
how i can compute my capciti's hard(s) disk ?
Not sure what you're asking. You don't know the size of the hard drive in your computer? The BIOS menus can tell you that. If you boot into a Linux liveCD, the GUI partitioning tool (among others) can also tell you.

Quote:
Originally Posted by Dman58 View Post
A SWAP partition usually equal to or twice the amount of system RAM,
The amount of SWAP you need does not have significant correlation with RAM size. It is neither easy nor important to get the SWAP size right. If you need to make a blind guess at a good size with no information, it is better to suggest 2GB swap size regardless of ram size, rather than suggest any formula based on ram size.

Consider a home Linux system with .5GB of ram and 1GB of swap. There is a very good chance that is not enough swap. Compare to a home Linux system with 12GB of ram and 12GB (not even 24GB) of swap. That is almost certainly way more swap space than actually required.

My work computer with 12GB of ram needs significantly more than 24GB of swap. No formula nor blind guess will be close to correct for uncommon uses. But for common uses of Linux, 2GB swap space is very likely a good size.

Last edited by johnsfine; 11-26-2011 at 08:16 AM.
 
1 members found this post helpful.
Old 11-26-2011, 10:28 AM   #4
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,432

Rep: Reputation: 1357Reputation: 1357Reputation: 1357Reputation: 1357Reputation: 1357Reputation: 1357Reputation: 1357Reputation: 1357Reputation: 1357Reputation: 1357
Swap has two uses. The computer uses it as an extension of the memory if it runs short, which it not likely to happen if you have 1GB or more. It is also used to store the memory if you hibernate: the computer can then restart by just copying the the data back from swap. So, if you have more than 1GB and don't use the hibernate feature, you can do without swap.

/home is very useful. That will hold all your personal files and the information on how you like your computer and its software configured. Then you can install a new version of your Linux distribution, or a different distribution, overwriting the root partition, and all your data will be unaffected.

Sometimes you are asked by the installer to create a /boot partition. There are technical reasons for this: if your distro asks you to make a /boot partition of a certain size, just do it!

Other partitions (like /var) are used on servers, but you can forget about them.
 
1 members found this post helpful.
Old 11-27-2011, 04:18 AM   #5
zoealamode
LQ Newbie
 
Registered: Nov 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
linux server

if i will make customize linux for server ,it need what partion and , plz tell me more detail about size sowp? thank you .
 
Old 11-27-2011, 04:29 AM   #6
zoealamode
LQ Newbie
 
Registered: Nov 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Question plz help .

how i can install kernel 2.6.32 and . how i can compile it , plz tell me command ...thank u :|
 
Old 11-27-2011, 04:32 AM   #7
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debian
Posts: 2,194
Blog Entries: 1

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
I think It would be better to make a new post, and also some more detail on your OS and what you are trying to do.
 
  


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
ext3 partion add in 8eLVM partion jitenderana Red Hat 4 10-12-2011 06:47 AM
problem mounting a linux partion from another ext3 partion fkeith Linux - Hardware 1 10-14-2007 07:33 PM
how do i move files from my windows partion to my linux partion awesome_man Linux - Newbie 2 01-30-2004 12:51 PM
Must "/boot" partion be installed in the primary partion? domeili Linux - Newbie 9 11-01-2003 08:27 AM
Not essential, but...... jcksrobbins Linux - General 9 09-04-2003 08:20 AM


All times are GMT -5. The time now is 12:07 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