LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-11-2005, 09:59 PM   #1
riemann_noodles
Member
 
Registered: Feb 2005
Location: San Diego
Posts: 43

Rep: Reputation: 15
root partition size


If I am planning on creating seperate partitions for /, /usr, and /home, am I correct in assuming that the root partition will not need to be very large (since /usr will hold all my programs)? What is a good size for a root partition? If it matters Im installing slackware.




Regards
 
Old 02-11-2005, 10:52 PM   #2
tardigrade
Member
 
Registered: Jun 2004
Distribution: SuSE 9.1
Posts: 150

Rep: Reputation: 15
hmm. It kinda depends on what you use. i use suse 9.1 and have tons of things installed
my /usr takes up 2.1 gigs but its in my / which is 10 gigs and 7.5 gigs used. my home folders are a seperate partition. my guess is slackware will be lighter than suse.
 
Old 02-12-2005, 01:58 AM   #3
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
Quote:
my /usr takes up 2.1 gigs but its in my / which is 10 gigs and 7.5 gigs used.
That's because you only have two partitions. Root's partition doesn't need to be large, but you'll have to put some thought into your partition scheme. Mine looks like...
Filesystem -----Size-----Used----Avail -----Used%---- Mounted on
/dev/hda8 ----- 2.8G ----- 107M ----- 2.7G ----- 4% ---- /
/dev/hda5 ----- 126M ----- 37M ----- 90M ----- 29% ---- /boot
/dev/hda6 ----- 4.7G ----- 49M ----- 4.7G ----- 2% ----/var
/dev/hda7 ----- 19G ----- 431M ----- 19G ----- 3% ---- /home
/dev/hda9 ----- 47G ----- 1.7G ----- 45G ----- 4% ---- /usr
/dev/hda10 ----- 957M ----- 33M ----- 925M ----- 4%---- /tmp
/dev/hda11----- 19G ----- 5.8G ----- 13G ----- 32% ---- /mp3
/dev/hda1 ----- 25G ----- 11G ----- 14G ----- 44% ---- /Windows

Last edited by Linux~Powered; 02-12-2005 at 02:07 AM.
 
Old 02-13-2005, 09:07 AM   #4
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
When choosing the / -partition size, remember that it will contain _everything_ that is not mounted elsewhere.

So, if you need lots of temporary disk space (DVD-burning for example), make sure you have /tmp on a separate partition or large / -partition. Otherwise you will run out of disk space.

Also if you have many users or lots of personal data, make the "/" large, or put "/home" on another partition. I've run into lots of troubles due to small "/".

It is however always possible to make symbolic links if you're running out of diskspace. For example, if "/" is filling up due to large "/tmp", you can link /tmp to /usr/tmp or whereever you find more space.
 
Old 02-14-2005, 06:06 AM   #5
riemann_noodles
Member
 
Registered: Feb 2005
Location: San Diego
Posts: 43

Original Poster
Rep: Reputation: 15
Thanks for the replies. I realized this is definitely something to expirement with. Ive got the root partition sitting pretty at 2 gigs, with everything else mounted elsewhere (/tmp, /var, /opt, /usr, /home)

One thing that I dont understand though, is whether or not all programs are by default installed in /usr. It seems that some of them install right in the folder with the src. So how do I direct a program to install in /usr if that is not the default? (put the src folder in /usr ?
 
Old 02-14-2005, 06:50 AM   #6
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
IMO unless you know what sizes of partition you need, you are better just having / and /home (and swap)
 
  


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
FC3 root partition size not increasing abhigo Fedora 6 01-29-2005 11:33 AM
How to increase root partition size ? abhigo Fedora 2 01-29-2005 04:47 AM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 12:55 PM
root partition shows wrong total size Dergro Linux - General 12 10-08-2003 12:49 PM
Root partition size challenge okan Linux - Software 1 06-02-2003 09:05 AM

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

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