[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: switching from single IDE drive to Promise IDE RAID
From: |
Amith Varghese |
Subject: |
Re: switching from single IDE drive to Promise IDE RAID |
Date: |
25 Jul 2002 17:38:08 -0400 |
I figured it out... pretty stupid. Remember to compile RAM disk support
into the kernel as opposed to compiling it as a module. When its a
module you don't get the initrd support. Grub was working fine, just my
kernel wasn't :)
Amith
On Wed, 2002-07-24 at 22:37, Amith Varghese wrote:
> I have installed redhat 7.3 on a small IDE drive and now I am trying to
> switch over to an IDE RAID array that I have constructed using the
> Promise SX6000. I want to be able to boot off of the RAID and remove
> the small IDE drive.
>
> However I am having problems getting the kernel on the RAID to boot
> because for some reason it is unable to mount the root file system.
>
> Originally I had all my data on /dev/hda1 (the IDE drive connected to
> the onboard controller). I then created 6 partitions on /dev/sda
>
> /dev/sda1 - is /
> /dev/sda2 - is /usr
> /dev/sda3 - is /home
> /dev/sda5 - swap
> /dev/sda6 - swap
>
> I used cp -ax to copy the files from /dev/hda1 to the appropriate
> partitions on /dev/sda. I then did the following:
>
> 1) Copied the pti_st.o promise driver into
>
> /lib/modules/2.4.18/kernel/drivers/scsi/
>
> 2) I then added "alias scsi_hostadapter pti_st" to /etc/modules.conf
> 3) Ran "/sbin/mkinitrd /boot/initrd-2.4.18 2.4.18"
> 4) I gunziped the initrd-2.4.18 file and mounted it. Inside contains
> /lib/pti_st.o and a linuxrc script and some other stuff. The linuxrc
> script runs the command "insmod /lib/pti_st.o"
> 5) Shut down the machine and Unplugged the IDE HD.
> 6) Boot off of a grub floppy that I made by running cat stage1 stage2 >
> /dev/fd0
> 7) Ran the following commands from grub
>
> root (hd0,0)
> kernel /boot/vmlinuz-2.4.18 ro root=/dev/sda1
> initrd /boot/initrd-2.4.18
> boot
>
> I get the following error
>
> SCSI subsystem driver Revision: 1.00
> request_module[scsi_hostadapter]: Root fs not mounted
>
> [snip...]
>
> VFS: Cannot open root device "sda1" or 08:01
> Please append a correct "root=" boot option
> kernel panic: VFS: Unable to mount root fs on 08:01
>
> Does anyone know why I am getting this error? What should my "root="
> boot option be?
>
> Any help is appreciated.
>
> Thanks
> Amith
>
>
>
>
> _______________________________________________
> Bug-grub mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-grub
>