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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-04-2005, 11: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-05-2005, 12:25 AM
|
#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-05-2005, 12:35 AM
|
#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-05-2005 at 12:39 AM.
|
|
|
08-05-2005, 01:39 AM
|
#4
|
Member
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 863
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, 05: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, 07: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
|
|
|
All times are GMT -5. The time now is 04:21 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
|
|