LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-05-2004, 03:26 PM   #1
lbtheone
LQ Newbie
 
Registered: Apr 2004
Posts: 23

Rep: Reputation: 15
what to do first


alright im about to put a new system together and setup a raid 1 system. I have two 160 gb hd for raid 1. I want to do a dual boot with xp pro and some linux distro, not sure which one yet though. Anywayz i need to install xp pro on the first half of the hard drive and the other half linux. My question is can I partition the linux os in the windows setup or should i put xp pro on the wholesystem as one partition and then install linux and split the windows partition and make the other half into the linux os? Any suggestions?
 
Old 10-05-2004, 04:37 PM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
You would be better off leaving a part of the disk for linux. Select say, 70% for XP and leave the balance 30% unformatted for linux to install.
 
Old 10-06-2004, 02:13 PM   #3
lbtheone
LQ Newbie
 
Registered: Apr 2004
Posts: 23

Original Poster
Rep: Reputation: 15
Ok. Well I decided to go without the raid1 setup and have decided to use my two 160 gb hd's for xp and either knoppix or slackware10. I am going to do a install for knoppix and not run it from cd. I am going to be using the linux os for many things. Database server, web server, video and music d/l, secuirty tools "small projects", and the possibilty of adding more servers in the future.

This is what I want my setup to be:

HD1 160 gb -> XP PRO
HD2 160 gb -> LINUX OS
3.06 ht processor
2 gb memory

How should I setup my partitions in linux to support what I will be using the system for. ie. servers, files, etc. as far as /, /boot, /var, /usr, /swap, and /home go?

Any help would be appreciated.
 
Old 10-06-2004, 03:04 PM   #4
pfunk
Member
 
Registered: Jun 2002
Distribution: Suse, Redhat, Knoppix
Posts: 104

Rep: Reputation: 15
the sizes of those partitions in linux depends on all sorts of things like amount of traffic, number of users, etc...

if there are not going to be a load of users then /home doesn't need it's own partition and /usr probably doesn't either (the only reason to give /usr it's own partition is to make it read only i guess?).

/var can have it's own partition so the servers have space to write their logs and mail can be spooled, etc.. that's very important in a production setting.

the swap partition should be big because your main memory is big - some people would say 4GB swap space for 2gb of memory. linux 2.2 kernels and later support up to 4 gb of swap.

if your'e unsure how big to make the partitions and this isn't some production server for a company or something like that then it's better to have fewer partitions because that gives you more flexibility but with a 160 gb drive you probably have a lot of room to overestimate each partition size and be ok.
 
Old 10-06-2004, 03:25 PM   #5
lbtheone
LQ Newbie
 
Registered: Apr 2004
Posts: 23

Original Poster
Rep: Reputation: 15
I am going to be the only user on the system, so I really dont need to have a /home directory. As far as /var is concerned is about 20 gb enough for storage?

When I set up the system during setup what order should the dir be in. ie / ,/boot, /var, etc

Can you recommend a size for /, /boot, /usr, and /var?

Thank You
 
Old 10-06-2004, 05:02 PM   #6
pfunk
Member
 
Registered: Jun 2002
Distribution: Suse, Redhat, Knoppix
Posts: 104

Rep: Reputation: 15
Well, you should have a /home directory even if you're the only user. you shouldn't be logging on as root for security reasons so at least one user's directory in /home is good practice.

/boot doesn't need to be big at all - on my system it's just over 5 MB so make it larger than that in case your distro is slightly different or in case you need a initrd image because you're using a SCSI drive etc.. i can't imagine it would ever be bigger than 25 MB and probably 10 MB is fine.

I would make 4 GB of swap space - since you have 160GB disk and 2GB of RAM i don't see that as overkill

/var is up to you - I have no idea what kind of traffic you'll have and thus i don't know how big the logs you'll be generating will be.

the rest can just go in / - there's no need to separate out /usr

good luck
 
  


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



LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:19 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
Open Source Consulting | Domain Registration