LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-22-2008, 07:51 PM   #1
jezzabart
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
Partition Sizes for Ubuntu Hardy Heron


Hi Everyone,

I am completely new to Linux. I am intending to install Ubuntu Hardy Heron on an Acer Aspire M1201 with 160GB hard disk and 512MB of RAM.

I have done a lot of searching and reading and it seems that a sensible partition scheme is to have three partitions:
/ - ext3 (referred to as "root")
/home - ext3
/swap - swap

I understand that the swap partition should be twice the size of my RAM, and the home partition will use all the space that is available after creating the root and swap partitions, but I have seen recommendations for the size of the root partition ranging from 3GB to 15GB. I have plenty of space, but that doesn't mean I want to waste any. Neither do I want to end up having to reinstall in three months because my root partition is too small.

So my question is: what is a safe minimum size for the root partition, allowing for installing lots of software as I explore Linux and not skimping at all?

Thank you.
 
Old 09-22-2008, 08:09 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Welcome to LQ!!

You're going to get opinions that are all over the map, so we might as well get started....

First, you don't really need a separate partition for /home. If you are going to have more than one distro, then I recommend a separate data partition which can be shared.

Second, leave empty (unpartitioned) space. You can always resize/add partitions later.

For exact recommendations, we'd need to know your HD size. Assuming it's at least 80GB, you can't go wrong with:

swap 1GB (many people put it at the end)
/ 20GB
data 30Gb (mount this at /mnt/data) and then link into /home/username
leave the rest blank
 
Old 09-22-2008, 08:14 PM   #3
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
1DVD = ~5GB, typical compression ratio (binaries) ~3:1
The latest Debian fits on about 3 DVDs, so if you installed absolutely everything you might use up as much as 60GB (text documentation compresses much better than binry executables).

The smallest partition I've been making for my desktop and laptop uses in the past 3 years has been 8GB. 20 is probably big enough for you even if you try out a lot of software then forget it exists and leave it on the system. A typical messy system for me (with dozens of programs I never use) is still under 8GB.
 
Old 09-22-2008, 09:13 PM   #4
AuroraCA
Member
 
Registered: Jul 2008
Location: Northern CA USA
Distribution: Ubuntu, Slackware, Gentoo, Fedora, Red Hat, Puppy Linux
Posts: 370

Rep: Reputation: 35
There is no standard answer for a system. It will depend upon the applications and use of your system. Many applications and folks like to place their websites in the /var/www/directory which resides by default off the / directory. If you plan on having large websites files you will need more room in the / directory partition. MySQL data files are store by default in the /var/lib/mysql directory which is also in the / partition. If you plan on having large data files you will want to have a large partition for the / directory.

If you use your system mainly for desktop applications and use the /home directory to store most files then you will want to have a large /home partition.

Partitioning will depend upon how you use your system.
 
Old 09-22-2008, 09:49 PM   #5
sparker
Member
 
Registered: Aug 2007
Location: Canada
Distribution: OpenBSD 4.6, Debian Lenny
Posts: 64

Rep: Reputation: 16
1 GB - swap
10 GB - /
~leftover - /home

Having a /home partition is good if you ever change distros, or reinstall for some reason. That way you don't have to backup all your stuff.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
cant install Linux multi media software on ubuntu hardy heron ubuntu 8.0.4 gnome Jazz44 Linux - General 3 09-15-2008 10:17 AM
LXer: Installing Xen On An Ubuntu 8.04 (Hardy Heron) Server From The Ubuntu Repositor LXer Syndicated Linux News 0 05-08-2008 02:10 PM
Ubuntu 8.04 Hardy Heron greengrocer Ubuntu 3 05-03-2008 09:05 PM
Mac4Lin on Ubuntu Hardy Heron (8.04) Triumph Linux - Newbie 4 04-30-2008 05:08 AM
LXer: Upgrade Ubuntu 7.10 (Gutsy Gibbon) to Ubuntu 8.04 LTS (Hardy Heron) Beta LXer Syndicated Linux News 0 03-26-2008 07:30 PM

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

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