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 08-23-2004, 11:53 PM   #1
cxiii
Member
 
Registered: Apr 2004
Posts: 37

Rep: Reputation: 15
Partitioning


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?

Thanks
William
 
Old 08-23-2004, 11:58 PM   #2
Mikhail_16
Member
 
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
REST /

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

Last edited by Mikhail_16; 08-24-2004 at 12:00 AM.
 
Old 08-24-2004, 12:01 AM   #3
m0rt3r
Member
 
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, 04:58 AM   #4
wittyguysuku
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$.
---
wittyguy
 
Old 08-24-2004, 05:03 AM   #5
myriad-zero
Member
 
Registered: Aug 2004
Location: /india/tn/chennai
Distribution: Debian
Posts: 38

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

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


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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration