LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-27-2005, 03:42 PM   #1
TGWDNGHN
Member
 
Registered: Aug 2003
Distribution: Slackware 10.0
Posts: 94
Blog Entries: 1

Rep: Reputation: 15
Exclamation How Big Should the Partition Sizes Be?


In preparation to make my first LFS System, I just realize I lost my notes concerning the Linux partitions sizes (for /, /home, ect.)



Honestly, other than /, swap, and /home, I can't even remember what the partitions were ! Much less how big to make them. I know there is no fixed size, since it all depends on how much software you'll install and space you need, but I forgot what the "golden rules" were for setting the partition sizes


So... when making a Linux System, what partitions will you need and what are the guidelines for their size?


Thanks, I would REALLy appreciate !



(I know I came accross it... maybe somewhere in my "How Linux Works" Book, but the only thing I could [after briefly searching] was "Swap Space should be at least twice as big as your actual physical memory"... or maybe I found it on the FHS? I Don't Remember, I need to find it and study more )

Last edited by TGWDNGHN; 06-27-2005 at 04:41 PM.
 
Old 06-27-2005, 03:50 PM   #2
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
Here's my layout,

/boot - 100 MB
/ - 10 GB
swap 500 MB
/var - 20 GB
/home - 40 GB

Dell Dimension 4500 1.8GHz 768 MB RAM

You could easily come up with something entirely different and it'll still work out excellent for you...which means it's upto you to decide on partition sizes.

Tux


Last edited by tuxrules; 06-27-2005 at 03:51 PM.
 
Old 06-27-2005, 04:36 PM   #3
TGWDNGHN
Member
 
Registered: Aug 2003
Distribution: Slackware 10.0
Posts: 94

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Something strange just happened...


Just when I finished reinstalling my OS (Mandrake 10.1 Powerpack), I Allocated the paritions and happened to forget to make one for /boot and /var (I only made one for / and /home)



But when I viewed the contents of /, I found /boot and /var. When I typed
Code:
mount
to see which filesystems were mounted, the only ones I found were the two I defined on the installation: / and /home


So when you do not define /boot and /var as partitions, are they automatically formed within / ? Or else, how did they appear?


 
Old 06-27-2005, 04:49 PM   #4
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
/boot and /var are directories on /, just like all the other directories on /. They are not mounted as separate partitions because they are not separate partitions, unless you create them as such during the installation.
 
Old 06-27-2005, 05:18 PM   #5
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Actually the only partitions you really need to create are / and /swap. /home /var /lib and all the others will be created under the / partition.
I find that this actually makes better use of disk space as you don't run into problems with having made a partition bigger or smaller than actually needed.
 
Old 06-27-2005, 07:17 PM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
But you usually want to at least have /home separate so you can keep your user data when you reinstall.
 
Old 06-27-2005, 07:57 PM   #7
Arnaud_B
Member
 
Registered: Jun 2004
Location: New York
Distribution: Debian
Posts: 219

Rep: Reputation: 30
here is my partition table:
/boot --> 200M
/ --> 1G
/usr --> 20G (that is way too much ;-) )
/var --> 4G
swap --> 3 G (too much too...)
/tmp --> 1G
/home --> 50G
A.
 
Old 06-27-2005, 08:26 PM   #8
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Quote:
Originally posted by btmiller
But you usually want to at least have /home separate so you can keep your user data when you reinstall.
IF you reinstall: something I try to avoid at all costs.

But a good point, in case of filesystem corruption.
 
  


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
Partition sizes?? coldsalmon Linux - Newbie 6 03-18-2005 03:43 PM
Partition sizes for me Doctor Orange Linux - Newbie 2 08-13-2004 09:50 AM
Partition sizes? murbz Linux - Software 3 07-22-2004 08:43 AM
How big is Ximian Desktop (file sizes)? azebuski Linux - Software 1 03-09-2004 02:03 PM
partition sizes scrambled2k3 Linux - Newbie 7 02-21-2003 02:32 PM

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

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