LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-22-2005, 08:18 PM   #1
Darklion
LQ Newbie
 
Registered: Nov 2004
Posts: 15

Rep: Reputation: 0
How to partition a 120 GB HDD?


One nice new 120 GB HDD. Slackware 10.2 4 CD-ROM set.

Question is, how do I slice it up? Do I give myself a gigantic /home? Put everything on its own partition? What sizes are good for /usr and /tmp?

Any suggestions or layouts are welcome. Thanks in advance!

Darklion
 
Old 11-22-2005, 08:57 PM   #2
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 2,244

Rep: Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570
Re: How to partition a 120 GB HDD?

Quote:
Originally posted by Darklion
One nice new 120 GB HDD. Slackware 10.2 4 CD-ROM set.

Question is, how do I slice it up? Do I give myself a gigantic /home? Put everything on its own partition? What sizes are good for /usr and /tmp?
Since its only one disk it won't really make any difference.

What I'd do:

First 2 gigs swap
next 17 gigs /
next 17 gigs spare partition (comes in handy for upgrading, etc)
next 2 gigs /var
next 2 gigs /tmp (if you don't intend to use tmpfs)
the remaining 80 gigs /home

Note that copying large files across partitions can be a painfully slow exercise on one disk, which is why I haven't suggested a data storage partition. IMO, putting '/usr' in its own partition is a waste unless its on a separate disk.
 
Old 11-22-2005, 08:59 PM   #3
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
The reason there is no definative answer is because so much depends on your personal taste. Here's my 120G:

Code:
shilo@shilo2:~$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             4.7G  886M  3.8G  19% /
/dev/hda3              14G  4.1G   10G  29% /usr
/dev/hda5             2.8G  555M  2.3G  20% /opt
/dev/hda6             6.6G  3.8G  2.8G  58% /var
/dev/hda7             9.4G   33M  9.3G   1% /tmp
/dev/hda8              75G   11G   64G  14% /home
Important to note:
I keep a mirror of Slackware current on the /var partition
The idea of the large /tmp is to accomodate DVD burning
This doesn't account for my multimedia files, which I have a separate drive for
This is probably overkill for you
The more ReiserFS partitions, the longer the boot time
 
Old 11-23-2005, 06:30 AM   #4
imitheos
Member
 
Registered: May 2005
Location: Greece
Posts: 433

Rep: Reputation: 117Reputation: 117
It depends on your needs.

Mail server usually needs large /var (also news server)
Web server needs large whatever partition the web files will be.

If this is a desktop box with only you as a user then make the partitions you want and use the rest as /home.

for example i have 1gb RAM and i use 500MB swap, 10G for /, 15G for /usr and the rest for /home
You can make /usr/local a different partition to help upgrades later.
If there are 100 posts there will be 100 different scenarios.

If you are familiar with LVM then you can make a / partition which will be rather large so that there will be no problems and
put all the other partitions under LVM. This way you don't care much about how you will partition, because you can later resize them.

For example if /usr is full but you have 10g free in /home you reduce /home by 2gb and give them to /usr

It is just a bit more obscure than the normal partitions setup.
 
Old 11-23-2005, 08:08 AM   #5
Geist3
Member
 
Registered: Oct 2003
Location: Richmond, Virginia USA
Distribution: Slackware 12.2
Posts: 59

Rep: Reputation: 15
I'm going to partition my new 160GB hard drive so I have installation space already mapped out for the future. For 120GB under this plan, you'd only go as far as hda24.

hda2 and hda3 are for "old" data that will eventually sort out of my /home partition. They are primary partitions, so if I want to later use them as a "slice" for FreeBSD, NetBSD or OpenBSD, they are ready. Otherwise "old" stuff.

I know my scheme is completely over the top, but I like multiple installations of slack. I like to keep the entire outdated installs -- complete with their /home partitions -- as a form of backup. Of course, I can always change my mind in how I use all those extra various-sized partitions.
___________________________
-------------------------
hda1 00200 /boot
hda2 15000 /gold
hda3 15000 /fold
_________________________
** hda4 START EXTENDED LOGICAL **
_________________________
hda5 00500 Linux swap
_________________________
[1] Slackware 10.2
29 GB
-------------------------
hda6 03000 /
hda7 06000 /usr
hda8 03000 /usr/local
hda9 01000 /var
hda10 15000 /home
hda11 01000 /tmp

-------------------------
_________________________
hda12 00500 Linux swap
_________________________
[2] Slackware 11.0
29 GB
-------------------------
hda13 03000 /
hda14 06000 /usr
hda15 03000 /usr/local
hda16 01000 /var
hda17 15000 /home
hda18 01000 /tmp

-------------------------
_________________________
[3] Slackware 11.1
29 GB
-------------------------
hda19 03000 /
hda20 06000 /usr
hda21 03000 /usr/local
hda22 01000 /var
hda23 15000 /home
hda24 01000 /tmp
_________________________
hda25 00500 Linux swap
_________________________
[4] Slackware 12.0
29 GB
-------------------------
hda26 03000 /
hda27 06000 /usr
hda28 03000 /usr/local
hda29 01000 /var
hda30 15000 /home
hda31 01000 /tmp
_________________________
hda32 12000 /cold
_________________________
 
  


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
Partition strategy for 120 Gb ext. drive oomfoofoo Linux - General 4 08-26-2005 01:09 PM
HDD Partition Scheme rajames429 Linux - Newbie 2 04-09-2005 05:38 PM
Anyone tried Alcohol 120% to run DSL from HDD? DStrick64 DamnSmallLinux 2 04-05-2004 04:33 PM
Slackware 9.0 install freezes trying to detect partitions on my 120 GB HDD Nicolae Slackware - Installation 1 02-19-2004 05:18 AM
slack9.1-install/partition sizes on 120 gb ? sant-göran Linux - Newbie 2 11-10-2003 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration