01-24-04 12:11 AM
Dear,
I'm having some trouble installing a Promise SATA150 TX2 Plus card
unattended on RedHat 8.0.
I'd want to perform an unattended harddrive installation from a DOS
partition that contains the RedHat rpm's and my extra software.
I downloaded the drivers (pdc-ultra.o) and added them in the initrd.img that
I use during installation.
I have have made the following script to load the driver after installation:
#!/bin/bash
INSTALL=/mnt/dos/install
HDCTRL=SATA150
cp $INSTALL/drivers/promise/pdc-ultra.o
/lib/modules/2.4.18-14/kernel/drivers/scsi >/dev/null 2>&1
cp -f /etc/rc.d/rc.sysinit /etc/rc.d/rc.sysinit.orig
sed -e '/depmod -A/s/depmod -A/depmod -Aq/' /etc/rc.d/rc.sysinitquote:
>/tmp/.rc.sysinit.tmp
mv -f /tmp/.rc.sysinit.tmp /etc/rc.d/rc.sysinit
chmod 755 /etc/rc.d/rc.sysinit
echo "insmod scsi_mod
insmod sd_mod
insmod pdc-ultra" >>/etc/rc.modules
case $HDCTRL in
SATA150)
cp /etc/lilo.conf /tmp/lilo.orig
cp -f $INSTALL/drivers/promise/lilo.conf /etc/
chmod 600 /etc/lilo.conf
/sbin/lilo;;
*)
echo "Error during controller detection";;
esac
After installation (and before I reboot) the /etc/lilo.conf looks like this.
default=linux
boot/dev/sda
map=/boot/map
install=/boot/boot.b
restricted
message=/boot/message
lba32
image=/boot/vmlinuz-2.4.18-14
label=linux
root=/dev/sda2
initrd=/boot/initrd-2.4.18-14.img
read-only
other=/dev/sda1
optional
label=DOS
Installation runs perfect now but the driver is not loaded when I reboot
after installation.
I get an error message stating:
VFS: Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 00:00
Can someone please help me out here ?
Thnx in advance,
Dennis
[ Post a follow-up to this message ]
|