LinuxQuestions.org
Help answer threads with 0 replies.
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 12-15-2007, 05:55 AM   #1
andy.l
Member
 
Registered: Feb 2007
Location: Scandinavia
Distribution: Centos/Redhat
Posts: 97

Rep: Reputation: 15
partitioning


Hi

Just about to set up Ubuntu 07.10, and for the first time I would like to create a custom partition layout.
I have a 200gig hardrive and 2gig ram.
I plan to set up partitions like this:

/ - 40 gig
/home - 80 gig
/usr - 70 gig
swap 4 gig.

The main reason for doing this is , if I get things right, I will keep all my files on /home if I need to reinstall or want to share my /home with another install if I where to get a second drive in my computer.
Is the layout OK?

/A
 
Old 12-15-2007, 06:03 AM   #2
mckheuneedshelp
Member
 
Registered: Oct 2007
Posts: 52

Rep: Reputation: 15
i have a dual boot

mine is like

10gb linux
10gb windows
90gb files (home etc)
2gb swap
500mb dos
 
Old 12-15-2007, 06:29 AM   #3
Clemente
Member
 
Registered: Aug 2003
Distribution: Debian, Ubuntu
Posts: 188

Rep: Reputation: 30
Hi andy.s,
there is surely no "correct" answer to your questions, since different people prefer different flavours.
I - imho - would change some sizes:

For desktop machines, I never had need for so big root partitions. My standard root size is between 15 and 20 gig _including "/usr"_. Do you have special plans that require 70 gig in "/usr"?
I usually need most space on my home directories...
Dividing the home directories from the system directories is surely a good idea.

1)
For a desktop machine with no special aims, I would size your partitions as following:
Code:
/: 20 gig
swap: double size of my RAM 
/home: Remaining space, about 170gig
2)
I like to preserve an unused partition to install new opersting systems... E.g., if my distribution releases a new version, I install the new version on a blank partition, keeping my current working system as long, as I need to get the new one working productive for me. This leads to following:
Code:
/: 20 gig (usually 15 gig are really enough)
unused: 20 gig (usually 15 gig are really enough)
swap: double size of my RAM 
/home: Remaining space, about 150gig
3)
I also like the idea to divide system specific files (that is: nearly all .* files, e.g.) in my home directory from independent files (that is: My documents, music, e.g).
I think, I can change my operating system more quickly, since I leave all "dependent" files on my old system. I only copy and adapt a small amount of "dependant" files.
I have to admit, that some people don't like this idea. ;-)
Anyway, if doing so, I would partition as following, keeping in mind, that this layout is not very multi-user-friendly:
Code:
/: 20 gig (usually 15 gig are really enough)
unused: 20 gig (usually 15 gig are really enough)
swap: double size of my RAM 
/home/myowndir/documents: Remaining space, about 150gig
Finally I wrote much more than intended initially. Thanks four your patience. ;-)
 
Old 12-15-2007, 06:55 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Ask 5 people the same question---get 10 different answers.

Most people have no need for separate partitions for, e.g., /usr or /home. It is usually just fine to have only two: / and swap.

My system:
several partitions for different OSes--each ~10GB (each one mounted as / when that system is running.)
one swap (my reading says that 1GB is always enough--regardless of RAM size)
one partition for shared data (mounted at /home/data with individual folders accessed thru links)
empty space (unpartitioned) for future changes. (It's far easier and safer to add a partition than to resize an existing one)
 
Old 12-15-2007, 08:10 AM   #5
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Personally, I'd recommend more space for /home and less for the rest. For / including /usr I can't imagine using more than 15 GiB unless you intend to install every possible package under the sun. I find that all this takes only about 5-10 GiB.

An exception might be if you have a lot of data which gos in /var - like a whole cluster of web sites or something like that... for this maybe you want a separate partition.

Assuming a more normal desktop system use, I'd go for this:
/ - 20 gig
/home - 100 gig
swap 4 gig.

Rest - leave it unpartitioned. You can use it later for testing another distro, or as reserve space in case your /home gets too big.
 
Old 12-15-2007, 02:08 PM   #6
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
Quote:
swap 4 gig
These day's this is not needed to be this size 1 Gb is enough, any more is a wast.
 
Old 12-15-2007, 05:22 PM   #7
Bill_Hwy
Member
 
Registered: Jan 2007
Location: Wyoming
Distribution: PCLOS,Mepis, Win 7
Posts: 53

Rep: Reputation: 15
Partitioning

For what It's worth: You don't really need all that storage space for just one distro. Here's my setup:

one 80 gig IDE drive divided as follows:

1. 20 gig Win XP
5. 8 gig PCLOS 2007 /
6. 3 gig PCLOS Swap
7. 9 gig PCLOS /home
8. 8 gig Debian etch /
9. 3 gig Debian Swap
10. 9 gig Debian /home
11. 20 gig unallocated/unformatted for experimenting.

Everything runs just fine, and has plenty of room. The swap files are unnecessarily big, but it made things neater. There is a second drive of 20 gig for archive storage which can be accessed by all of the apps-both Linux and Win.
 
Old 12-15-2007, 06:08 PM   #8
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
You might as well share swap between different Linux OSes.
 
Old 12-16-2007, 01:56 AM   #9
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by Duck2006 View Post
These day's this is not needed to be this size 1 Gb is enough, any more is a wast.
I was just going to say that, I get away with half a gig of swap on a machine with 256 mb of ram
 
  


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
Partitioning Myslin Linux - Newbie 2 09-27-2004 08:30 PM
Help with partitioning Jay Smith Linux - Software 8 09-09-2004 01:22 AM
partitioning PlatinumRik Linux - Software 6 04-10-2003 07:11 PM
Partitioning? stalefx Linux - Software 4 04-08-2003 08:19 PM
partitioning and beyond humanveal Linux - General 1 05-30-2002 03:29 AM

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

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