LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 12-25-2003, 04:21 PM   #1
bobsmith48
LQ Newbie
 
Registered: Dec 2003
Posts: 1

Rep: Reputation: 0
Proper Partition Style for Linux File System when installing Mandrake 9.2


I am installing Linux for the first time and have decided to go with Mandrake version 9.2. I purchased the Power Pack that comes with 7 CDs. My relevant system statistics are:
Pentium 4 2.4 GHz
512 MB Ram
80 GB WD HD
I currently have 3 partitions: First has Win XP on it ~45 GB, Second partition is empty space for Windows stuff ~31 GB, and the third is where I would like to put Mandrake ~6 GB.

I want to know how to properly partition my system for Mandrake. I really don't understand the Linux file structure. I donít know where to place programs where the actual kernel is placed and so on; so detailed help on this matter will be greatly appreciated. This is the current format I am thinking of going with:
/ = 100 MB
/boot = 100 MB
/var = 100 MB
/tmp = 250 MB
/usr = 3 GB
/home = 2.4 GB

Do I need a swap partition even though I have 512 of RAM? Am I missing any other partitions?

Thank You in advance for helping me out.
 
Old 12-25-2003, 05:44 PM   #2
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
for beginner, don't really need to mess around with partitions that much

2 partition is good enough to get u start, and u can add more as time move on.

/swap and / is all u need for beginner.
those /home, /var ...etc are for more experience user. beside u can add'em as time move on.

so if u have 512mb but 512 for swap (that should be way enough)
then the rest are all goes to /

later on down in the road, if u got more users, u may need mroe partition for /home
if u wanna install more softwares, u may wanna add partition /opt...etc


hope that helps
 
Old 12-26-2003, 01:22 AM   #3
wldkos
Member
 
Registered: Jan 2003
Distribution: Mandrake 9.2 =<3 and Red Hat 8.0 (server)
Posts: 242

Rep: Reputation: 30
Quote:
Originally posted by sirpelidor
for beginner, don't really need to mess around with partitions that much

2 partition is good enough to get u start, and u can add more as time move on.

/swap and / is all u need for beginner.
those /home, /var ...etc are for more experience user. beside u can add'em as time move on.

so if u have 512mb but 512 for swap (that should be way enough)
then the rest are all goes to /

later on down in the road, if u got more users, u may need mroe partition for /home
if u wanna install more softwares, u may wanna add partition /opt...etc


hope that helps
+1, don't get crazy. You really only need those extra partitions if your running a production server ( i have it set that way) or if you have multiple users on the same computer. Anyways, make a swap and "/" partition. Swap is usually double the ram, but since you have 6gb free, I'd say 512 should be fine. Make sure you install grub, your bootloader to the MBR otherwise your machine will not boot. And make a back-up, and read a little before going ahead to be totally sure.
 
Old 12-26-2003, 05:19 AM   #4
johnleemk
Member
 
Registered: Sep 2003
Location: Malaysia
Distribution: Slackware 9.1
Posts: 145

Rep: Reputation: 15
Adding /home and /usr are generally good ideas if you're planning on upgrading in the future, or are thinking of trying out another distro. Even if you don't fall into either category, this is still a very good idea, because if any of your partitions get corrupted, it won't affect the other ones(unless you harddrive goes bonkers). I'm a Linux newbie, and I'm doing very well with a similar structure to the one you originally proposed(although with a /swap partition).
 
Old 12-26-2003, 02:39 PM   #5
wldkos
Member
 
Registered: Jan 2003
Distribution: Mandrake 9.2 =<3 and Red Hat 8.0 (server)
Posts: 242

Rep: Reputation: 30
Quote:
Originally posted by johnleemk
Adding /home and /usr are generally good ideas if you're planning on upgrading in the future, or are thinking of trying out another distro. Even if you don't fall into either category, this is still a very good idea, because if any of your partitions get corrupted, it won't affect the other ones(unless you harddrive goes bonkers). I'm a Linux newbie, and I'm doing very well with a similar structure to the one you originally proposed(although with a /swap partition).
You know, that is a real good Idea. I just noticed that since /home can stay and be mounted under a different distro, right? Why keep the /usr though? If you run a diff distro, won't their be differences?
 
Old 12-26-2003, 08:18 PM   #6
estatik
Member
 
Registered: Oct 2003
Location: CA / NY
Distribution: Mandrake 9.1, 9.2, 10.1, Cooker
Posts: 145

Rep: Reputation: 15
In my experience, (and I do use the same partitioning scheme as bobsmith48 posted) it is better to have a bigger /var than 100MB. When I was installing kde 3.2, I remember that all the packages came up to more than 550MB, and fortunately my /var is 800MB. So if you're going to be installing a lot of packages at one given time, make it bigger!

Just my 2 cents.
 
  


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
Read-only file system error during bootup after installing Mandrake ontop of Suse fuoms Mandriva 1 11-27-2005 06:43 AM
How can i backup whole linux partition and file system ?? my-unix-dream Linux - Newbie 3 04-19-2005 10:11 PM
Proper style for functions exvor Programming 4 02-13-2005 01:07 PM
proper way for windows clients to use linux file server jwstric2 Linux - General 3 05-10-2004 10:44 PM
How do i find the proper linux config file? justinfl General 2 10-09-2003 12:01 AM


All times are GMT -5. The time now is 10:38 AM.

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