Visit Jeremy's Blog.
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 08-24-2004, 12:53 AM   #1
Registered: Apr 2004
Posts: 37

Rep: Reputation: 15

I've read that partitioning the hard drive can make it more secure. So far I've installed various distributions like Fedora, Debian and Red Hat and just let the partitioner handle it automatically, except for Debian where I made a boot, linux and swap partition.

I was wondering if anyone could just give a good partitioning tip for a 20 gigabyte hard drive.

Can I make a partition for each directory?

Old 08-24-2004, 12:58 AM   #2
Registered: Oct 2003
Distribution: Gentoo rules them all
Posts: 279

Rep: Reputation: 31
100 MB /boot
512MB - 1 GB swap
5 GB /
3 GB /var
rest (about 10 /home)

The distribution between /var and /home depends on usage: if lots of database and website activity is needed then more goes into /var if the computer primarily a desktop, more goes into /home. The most important ones are /boot and /var the rest is pretty much optional. so another good partition scheme is:

100 /boot
1 GB swap
3 GB /var

In general you want at least 15% in /var.

Last edited by Mikhail_16; 08-24-2004 at 01:00 AM.
Old 08-24-2004, 01:01 AM   #3
Registered: Mar 2004
Distribution: slackware 10
Posts: 75

Rep: Reputation: 15
i also have a 20gb hard drive, and the partition setup i used is as follows:

hdb1 / 6119.61mb
hdb2 swap 526.42mb
hdb3 /home 7649.52mb
hdb4 /usr 6119.61mb.

I'm sure there are many other ways you can partition your hard drive, the only way you can be satisfied with the way you partition a drive is by playing around with it. I'm sure this setup is not very well planned out but i'm not yet a guru .
Old 08-24-2004, 05:58 AM   #4
LQ Newbie
Registered: Jul 2003
Location: India
Distribution: Red Hat Linux, SUN Solaris
Posts: 22

Rep: Reputation: 15
How to partition the HDD in Linux. I used to do fdisk in M$ Window$.
Old 08-24-2004, 06:03 AM   #5
Registered: Aug 2004
Location: /india/tn/chennai
Distribution: Debian
Posts: 38

Rep: Reputation: 15
Originally posted by wittyguysuku
How to partition the HDD in Linux. I used to do fdisk in M$ Window$.
Use 'fdisk' or 'cfdisk' in Linux.

Last edited by myriad-zero; 08-24-2004 at 06:04 AM.


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
Partitioning... Ophidian Slackware - Installation 2 09-04-2005 06:12 PM
Partitioning regorbro Linux - General 5 12-05-2004 03:07 PM
Partitioning Help Redwolf_Eddy Linux - Newbie 4 04-19-2004 02:55 PM
Need help with partitioning snatale1 Linux - Newbie 2 08-16-2003 03:38 PM
partitioning TravisB Linux - General 7 07-31-2002 08:30 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:02 PM.

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