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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-04-2005, 10:43 PM
|
#1
|
|
Member
Registered: Oct 2004
Distribution: Fedora Core 4
Posts: 91
Rep:
|
Linux on Multiple Hard Drives
So I just bummed an old comp from a friend of mine, and I'm gonna install Ubuntu on it. I also have an 6.5 GB HD that I already installed in it. So now the machine has 6.5 GB and a 30GB HDs in it.
What is the best way to disribute my linux installion on the system? I'm guessing it would be better to put the main sys files on the smaller one and store my data (music, docs etc) on the large one. What mount points(/home, /usr, /) do i put on either drive ?
|
|
|
|
08-04-2005, 11:25 PM
|
#2
|
|
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100
Rep:
|
I would make the smaller drive the master, and the bigger the slave. I would make 4 partitions, boot, / , swap, and /home. I have read that with multiple drives, it makes the most sense to have swap and / on oposite drives, that way it can simultaneously write to the main drive and the swap, which can't happen if they are on the same drive. You're talking milliseconds of difference, but I tend to think every little bit counts. I would set things up like this:
Code:
Small Drive:
100 MB /boot
6.4 GB /
Big Drive:
500 MB swap
29.5 GB /home
I would put the small drive first in the boot order, as that is what the system will boot from.
Peace,
JimBass
|
|
|
|
08-04-2005, 11:35 PM
|
#3
|
|
Member
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137
Rep:
|
Sounds like you got the right idea. It depends on how many partitions and mount points you want, how much space Ubuntu will take, and how much space you want to save for programs that will be installed alongside the system and not in /home (although I don't think this could be much).
Many people like to have 3 or 4 partitions, / , /boot , /home , and swap. I read somewhere once that performance is supposed to be better if the swap partition is on a separate hard disk than the main operating system files. I never really seen any numbers on this though. Probably doesn't make that much of a difference, but its something you may want to think about.
I think a lot of its preference. Like you said, I would put /home on the 30Gig.
*EDIT*
Ha! JimBass beat me to it!
Feeling dumb now.
Thats what I get for turning to the TV for 10 minutes  .
Last edited by volvogga; 08-04-2005 at 11:39 PM.
|
|
|
|
08-05-2005, 12:39 AM
|
#4
|
|
Member
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 706
Rep:
|
Swap partition
One important point. The swap drive must be on the other IDE channel. There is a hardware limitation here. You can read from one channel while writing to the other but you cannot do a simultaenous read and write on the same channel.
Does it make a difference? I believe so. At work, I used to recover HDDs from windows machines being scrapped and install them in elderly machines still in use. In each case the users reported a performance improvement *UNDER LOAD*. ie, when swapping kicked in, things went faster.
I assume that the same will hold true for Linux BUT remember that a HDD on the same channel as a CDROM may have its performance degraded. Depends on how modern the kit is.
|
|
|
|
08-06-2005, 04:25 PM
|
#5
|
|
Member
Registered: Oct 2004
Distribution: Fedora Core 4
Posts: 91
Original Poster
Rep:
|
Thanks alot for the insight guys ? How much space would you recommend for the / and /boot partitions ?
|
|
|
|
08-06-2005, 06:17 PM
|
#6
|
|
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100
Rep:
|
Reread my post above.
/boot doesn't neet more than 100 MB, and you may as well let / fill the rest of the small drive.
Peace,
JimBass
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:41 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|