Linux - SoftwareThis 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
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.
Hi!
I am new to this forum but have been working with Linux (RHEL) at my job for a few months now and have played around with it some at home before that.
I am currently working on a triple boot machine that has 3 hard drives (one OS per HDD) and am trying to use our current kickstart images at load the first 2 HDDs (RHEL3 & 4).
So here is what I am running into so far:
I kickstart the 2nd HDD (RHEL4), login and everything works great :-)
I kickstart the 1st HDD (RHEL3), login and everything works great :-)
I edit the grub.conf file to boot to the 2nd HDD, restart and log back into RHEL3 - still works fine
Heres where it gets funky: I restart - grub into RHEL4 login works fine
Restart and grub into RHEL3 - eth0 fails to initiate and can't login.
I can restart - grub into RHEL4 - still works perfectly fine.
We use an LDAP Server for logins (no eth0 = no login)
So my question is: What does loading RHEL4 change in RHEL3 that it can't initiate eth0?
We have tried to initiate eth0 manually - have not gotten good results - it times out eventually.
What I'm wondering is if maybe it got a different driver after loading RHEL4 and then doesn't work for RHEL3? Is there some way that I can make RHEL3 point to a certain driver?
Since you're using RHEL, aren't you paying RH for support?
Check the /etc/fstab entries on both systems: It's possible (but not likely) that you're mixing file systems so, for example, the DNS cache is inadvertently being shared. See if you can use the UUID= device specification format in the fstab or set up the udev rules so you get a consistent device naming convention. (The point here is that each OS, when booted, may assign different physical drives the same device identifier, so, for example, /dev/hda in one fstab does not point to the same drive as hda references in the other fstab.)
Unless you tell the OS not to do so, it will use all swap partitions it can "see" as it's swap pool. Is it possible that information is being conveyed in the swap space? (That should not happen, but, for example, the swap space is used to hold "suspend" images so this might be a remote possibility.)
From the above, you can see I'm really at a loss.
<edit>
You might want to look at the map directive in GRUB for changing physical and logical drives, but (I think) the OS may not pay too much attention to GRUB's drive assignments.
</edit>
Last edited by PTrenholme; 07-28-2008 at 08:33 AM.
Reason: Additional thought
Since you're using RHEL, aren't you paying RH for support?
no RH support :-( not my choice to do this...
Quote:
Originally Posted by PTrenholme
Check the /etc/fstab entries on both systems: It's possible (but not likely) that you're mixing file systems so, for example, the DNS cache is inadvertently being shared. See if you can use the UUID= device specification format in the fstab or set up the udev rules so you get a consistent device naming convention. (The point here is that each OS, when booted, may assign different physical drives the same device identifier, so, for example, /dev/hda in one fstab does not point to the same drive as hda references in the other fstab.)
Unless you tell the OS not to do so, it will use all swap partitions it can "see" as it's swap pool. Is it possible that information is being conveyed in the swap space? (That should not happen, but, for example, the swap space is used to hold "suspend" images so this might be a remote possibility.)
From the above, you can see I'm really at a loss.
[edit]
You might want to look at the map directive in GRUB for changing physical and logical drives, but (I think) the OS may not pay too much attention to GRUB's drive assignments.
[/edit]
I would love to change some of the udev rules but I don't have udev. udev is only for 2.6.15 kernel and rhel4 runs 2.6.9 - rhel3 runs 2.4.21.
I'm not quite sure how to use the UUID= or how to look at the map directive. Could you give me some more detail on how to do both of these.
Hum. First, do you a /dev/disk directory? I don't recall when that support was added to Linux, but it may depend on a more recent kernel then you're running on either of your systems. If you don't have that directory, the UUID= trick is not likely to work.
For your edification, here's Kubuntu fstab to show you how it's done:
(I'd show you my Fedora fstab, but my laptop Fedora is on a USB drive not currently plugged in. But it is quite similar.)
As to the map directive, it is used by GRUB to swap drives before booting, so the physical drive order seen by the OS is in a specific order. It is most often need when, for example, you want to boot a Windows OS that requires your boot device to be what those OSs call the "C:" drive. The syntax is map (hd1) (hd0) to replace HD0 with HD1. These directives meed to be "paired," since the single one I typed in the last sentence would leave GRUB with two HD0s and no HD1. Here's an example where three drives are "rotated."
If you put GRUB into "edit" mode, then you can use the "tab completion" feature to see what, exactly, GRUB has found on each boot drive, and experiment with different booting schemes to see if you get any difference. The GRUB documentation should be available on-line if you can't find it on your local system.
Quick question - does a cold reboot fix it (it powering off and turning on rather than a warm restart). Used to fix all sorts of problems, but don't know if it still makes much difference with modern mobos
Quick question - does a cold reboot fix it (it powering off and turning on rather than a warm restart). Used to fix all sorts of problems, but don't know if it still makes much difference with modern mobos
So here's my latest update: I tried this once and it didn't work. Then I tried with unplugging the power cord (and waiting for the little click sound (about 5-10 secs.)) and RHEL3 initialized eth0. :-D
I could then login fine. I booted up RHEL4, it worked fine, as expected. Then loaded RHEL3 again. IT DIDN"T WORK!!! >-| It failed to initialize eth0. But if I unplug and wait for the click sound then restart it works again.
I'm hoping that this will help someone think of what might be truely wrong.
So here's my latest update: I tried this once and it didn't work. Then I tried with unplugging the power cord (and waiting for the little click sound (about 5-10 secs.)) and RHEL3 initialized eth0. :-D
I could then login fine. I booted up RHEL4, it worked fine, as expected. Then loaded RHEL3 again. IT DIDN"T WORK!!! >-| It failed to initialize eth0. But if I unplug and wait for the click sound then restart it works again.
I'm hoping that this will help someone think of what might be truely wrong.
I take it that you've tried to manually take the device down and up again in RHEL3. Have you compared the config files under both distros (probably /etc/sysconfig/network/devices/ifcfg-eth0)?
Do you know what drivers are being installed under each?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.