Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-06-2004, 07:45 AM   #1
Registered: Aug 2003
Distribution: Slackware
Posts: 178

Rep: Reputation: 30
Lets say you have 25GB (approx) to Partition, Best Practice

On a home PC with 25GB hard disk spare /physical 250 MB memory/SuSE 8.2/AMD Athlon 807 MHz.

The hard disk is dual booted with windows, which is why 25GB is an absolute maximum I could free up if I wanted to for Linux.

What would be considered to be a really good partition set-up?

Presently I have


1) /boot = 100MB
2) /Swap = 2GB
3) / = 9GB
4) /home = 5GB

After reading books and internet I think next time I partition when I move to SuSE 9:-


1) /boot = 80MB
2) /Swap = 800MB
3) / = 8GB
4) /usr = 8GB
5) /tmp = 2GB
6) /var = 2GB
7) /home = 5GB

Would this be a better set-up for Linux?
Old 01-06-2004, 07:49 AM   #2
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
i'd knock the /swap down to say 500mb, and add the extra space to/home. /usr looks a little large as well. jmo.
Old 01-06-2004, 07:49 AM   #3
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
Just a question, what would you need a 2GB /temp for?
Old 01-06-2004, 08:02 AM   #4
Registered: Aug 2003
Distribution: Slackware
Posts: 178

Original Poster
Rep: Reputation: 30
Temp files I was reading could upset / if allowed to get too big or too many, so it was recommended to put tmp in /tmp. 2GB is just my idea of a partition size.

What would happen if I made /tmp 100MB, and the system used all of that space, and wanted to write more files to /tmp? Would the system crash?

so we now would have

1) /boot = 80MB
2) /Swap = 500MB
3) / = 8GB
4) /usr = 6GB
5) /tmp = 2GB ????
6) /var = 2GB
7) /home = 7.5GB
Old 01-08-2004, 01:42 PM   #5
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
If they are on the same phisical media, and you don't have many users to mess around, I see no point in placing /usr on a separate partition, you only increase disk head movement. Same for /boot, unless your bios suffers the 2GB limit. However this is less critical.
Most of your data will go to /home, give it most of the space.
You may want to leave room for a 2GB /mnt/test just to experiment: debian, slack, *bsd... They would share your swap and home.

I would actually use the same partition for /tmp and /var, making /tmp->/var/tmp, since they both are write-often devices. Don't make /tmp smaller than 500M or you'll get into trouble, should you someday compile big apps, e.g. gnome, mozilla or wine. The system won't crash (unless you compile as root, maybe) but you simply won't be able to finish.

Last, I think 14GB is too much for the system... I use debian w/ gnome, openoffice, gimp, mozilla and I used 2GB.
Here's my df:
/dev/hdc3 6198372 2050140 3833364 35% /
/dev/hdc5 6290313 2854096 3436217 46% /home
/dev/hdc1 3794904 1924652 1677476 54% /mnt/slack
/dev/hda6 1699772 785584 914188 47% /mnt/data1
/dev/hda1 5114684 3250268 1864416 64% /mnt/win98
Old 01-08-2004, 02:07 PM   #6
Senior Member
Registered: Feb 2003
Location: The Cold North
Distribution: SuSE 9.1
Posts: 1,289

Rep: Reputation: 46
/boot - 40MB
/ - 7GB
/home - 16GB
/var - 1GB
swap - 512MB

This should do just fine for a home desktop

Old 01-08-2004, 04:38 PM   #7
Registered: Aug 2003
Distribution: Slackware
Posts: 178

Original Poster
Rep: Reputation: 30
The most satisfying work?...........Helping others.
How true. Thanks for your input. I think my next install when I get SuSE 9.0 will be my best yet!


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
Want to put my whooole 25GB linux partition on another hard drive... needs help Fear58 Linux - General 1 07-07-2004 10:05 PM
Is this normal practice? Wrong partition used! Thymox Linspire/Freespire 16 03-18-2004 12:11 PM
Approx size of LFS install JohnPearce Linux From Scratch 4 11-06-2003 11:24 AM
SuSE 8.2 due approx.april 20th rshaw Linux - Software 1 03-12-2003 07:42 PM
8.1 approx install time? ab42 Slackware 7 01-13-2003 12:54 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration