Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Migrating from IDE HD to LSI Logic SCSI RAID -- how? 1

Status
Not open for further replies.

dalchri

Programmer
Apr 19, 2002
608
US
I am upgrading RedHat 9 from an IDE HD to a LSI Logic MegaRAID SCSI 320-1 controller.

I have done the following:

1) Copied my two partitions using bootit-ng:
hda1 ext3
hda2 swap

to:
sda1 ext3
sda2 swap

2) Changed my fstab so that the swap partition is correctly /dev/sda2 instead of /dev/hda2

3) Run linux rescue in order to run grub-install to place grub on /dev/sda MBR during which I have to install the driver for the LSI controller.

This is where I am:

The grub menu comes up ok and I begin booting. However, right after the IDE channels are scanned, I get:

VFS: Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" option
kernel panic: VFS: Unable to mount root fs on 00:00

I do not believe that the drivers have been loaded into the linux installation for one. I also understand that I need to rebuild my initrd?

Anyone know what the next step is?
 
I would suggest that you boot from your IDE HDD and build a new kernel with the LSI drivers buit into the kernel and not as a module. After building the kernel, try booting into it and do a "fdisk -l" to see if you can find your raid volume.


--== Anything can go wrong. It's just a matter of how far wrong it will go till people think its right. ==--
 
Alternatively, it's just a matter of getting the lsi driver modules into the ramdisk. If you read the manpage for mkinitrd is says that it will include any module listed in you /etc/modules.conf. If it's already there, then you can probably simply run mkinitrd. Look for the module loading message while you'd booting.

If the module is loading, then it may be as simple as you haven't labeled your new root partition correctly, try passing root=/dev/sda1 to your kernel on boot.
 
You were right ericbrunson, I just had to:

1) Install the driver to /lib/modules/version/kernel/drivers/scsi
2) Add the alias line to modules.conf
3) Run mkinitrd to replace the initrd in my /boot

Thanks for the info
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top