Rusty,
You pretty much figured it out, it seems. Basically what you have is
your external scsi bus is inserting its self first in the driver load
order before the internal raid controller, so it becomes hda to your
kernel. I'm not sure if the system bios is also changing the order.
That depends upon if you changed the boot order in your bios config or
not. If you didn't have to, then the bios is getting things right, but
the kernel isn't.
No matter. Since you get the initial initrd load ok, all you need to do
is change the root spec in grub so the kernel will find things where it
should. I would try to change the root= spec to be root=/dev/sdb3. And
of course, as you guess, change the drive letters in your /etc/fstab as
well, up by one. That should do it. If you hose your self, so you
can't boot with the external drive on or off, you may need to boot from
a floppy, or cd, and manually mount your /boot and / partition to
re-edit as necessary.
Good luck,
J
Rusty Wright wrote:
>I've just installed Linux on a Dell server, on the internal disks set
>up as one logical volume with raid 5 (on the Perc/Megaraid
>controller).
>
>The Dell has an external SCSI connector. After I finished the
>installation I attached a SCSI raid array to the external SCSI
>connector. Now when I boot it goes through the intial booting
>sequence, which I'm guessing it's getting from the /boot filesystem on
>the internal disk, but then it gets a panic and says it can't find
>init. If I turn off the external SCSI raid array it boots ok.
>
>I'm guessing that the boot loader is renumbering the disks and
>treating the external drive as the "first" drive.
>
>Looking at /boot/grub/grub.conf I see the lines
>
> root (hd0,0)
> kernel /vmlinuz-2.4.9-e.34enterprise ro root=/dev/sda3
>
>I'm guessing I could add an entry with a different root line but I'm
>not sure what to use; (hd1,0)? What about the /dev/sda3 part; will
>that need to be changed in the new entry? And what about /etc/fstab;
>there's a line for my swap that says /dev/sda2.
>
>Lost in linux land and looking for enlightenment.
>
>------------------------------------------------------------------------
>The following was automatically added to this message by the list server:
>
>For information about Micronet, including subscribing to
>or unsubscribing from its mailing list and finding out
>about upcoming meetings, please visit the Micronet Web site:
><http://micronet.berkeley.edu/>.
>
>
-- - _____/ _____/ / - Jonathan Loran - - - / / / IT Manager - - _____ / _____ / / Space Physics Research Group - - / / / Space Sciences Laboratory, UC Berkeley - ______/ ______/ ______/ (510) 643-5146 jloran@ssl.berkeley.edu ------------------------------------------------------------------------ The following was automatically added to this message by the list server: For information about Micronet, including subscribing to or unsubscribing from its mailing list and finding out about upcoming meetings, please visit the Micronet Web site: <http://micronet.berkeley.edu/>.Received on Thu Feb 12 21:07:34 2004
This archive was generated by hypermail 2.1.8 : Thu Feb 12 2004 - 21:07:34 PST