Linux - NewbieThis 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.
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.
I've been a Linux user for many years now, but am just starting out into the 'administering' side of things. I am in the process of setting up a brand new machine (no OS currently) and for my application I need to install both Scientific Linux 3.0.9 (a free distribution based off of Enterprise) and a recent RedHat Enterprise kernel. Just in case you're asking yourself why I need both, it has to do with driver needs for pieces of legacy & current laboratory hardware/software. I have a couple of questions going into this process.
1. Are there any suggestions on which OS to install first (or does it not matter since it will be 2 flavors of Linux)?
2. In terms of the actual partions, I would like to have a data directory that is readable between both OSs. Are there any gotcha's I should know about when creating this partition?
3. Lastly, when I'm doing the initial partioning for the first OS install, do I just leave free space for the second OS? What is the best way to approach this?
Any other advice you would have for an admitted newbie would be fantastic!
1. Are there any suggestions on which OS to install first (or does it not matter since it will be 2 flavors of Linux)?
I don't think that it matters.
Quote:
Originally Posted by benderan
2. In terms of the actual partions, I would like to have a data directory that is readable between both OSs. Are there any gotcha's I should know about when creating this partition?
Not when you create the partitions. You can sometimes run into problems with users names and user numbers. For example you might have the data files on the shared files owned by user benderan. You create a user named benderan on both distributions and expect them to be able to share the files. Sometimes distributions assign different user numbers to the same user name. For example Scientific Linux might call benderan user number 501 and Red Hat might call benderan user number 1001. In that case the shared files could be used by user 501 or user 1001 (whichever created them) but not both. If you hit this problem ask about it in a new thread.
Quote:
Originally Posted by benderan
3. Lastly, when I'm doing the initial partioning for the first OS install, do I just leave free space for the second OS? What is the best way to approach this?
It will probably work either way depending on how smart the partitioning part of the installer is. I know that it will work either way in Red Hat. I don't know about Scientific Linux. My personal preference is to lay out all of the partitions myself before installing either distribution.
In addition you should have a plan on how to tell grub about the second distribution. My personal preference is to let the first installation install grub. Then tell the second distribution not to instal any bootloader. Then go into the first distribution's /boot/grub/menu.lst file and add the second distribution to the first distribution's menu.lst.
It will probably work either way depending on how smart the partitioning part of the installer is. I know that it will work either way in Red Hat. I don't know about Scientific Linux.
I also don't know about Scientific Linux. But I struggled with the GUI partitioning in Centos (same as Red Hat) trying to put partitions in an unusual sequence (I had good reasons). It tends to rearrange them before actually creating them.
I don't remember how to use fdisk (which was the suggestion I found online for similar problems with the Centos GUI partitioning). So I booted up my Mepis liveCD, where I know how to make GUI partitioning do what I want.
The Centos installer's GUI partitioning tool is very easy and intuitive when you are telling it how to use partitions that already exist. It is much less intuitive or controllable when you are telling it to create partitions.
Quote:
My personal preference is to lay out all of the partitions myself before installing either distribution.
So I reached that same answer for a different reason.
I'd suggest that you download a live CD like GParted (go to www.distrowatch.com) and use that for the partitioning pre install.
Since both are RH distros, the default file system will utilise LVM (I assume Scientific does anyway), in which case you will need a boot partition on 100M or so formatted as ext3 (or ext2) since grub can't read LVM. Frankly I'd override the default and make the partitions all ext3.
Remember you cab only have 4 primary partitions or 3 primary/1 extended, so bear that in mind when setting everything up.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.