skianet
31-08-2002, 17:51
Ciao a tutti, ho un problema con l'installazione della versione 7.3 di Red Hat con la scheda
madre Epox 8k3a+, questa e' la mia configurazione:
EPOX 8K3A+ KT333 SOCKET A DDR333 AGP4x ATA133 CONTROLLER RAID hpt372
amd xp 2000+
512 Mb Ram ddr
Matrox G400 32 MB Dual Head
4 dischi MAXTOR EIDE 60 GB ATA133 in Raid 0+1
Sound Blaster compatibile AC97 on board
CD-Rom LG 52X
I driver x il controller raid li ho scaricati da:
http://www.epox.nl/english/support/drivers/raid.htm (RedHat_v13_370_372.zip)
ed anche dal sito del produttore del controller:
http://www.highpoint-tech.com/372drivers_down.htm (RedHat_v13_370_372.zip -
RedHat_v73_370_372.zip - RedHat_v72_370_372.zip - RedHat_v71_370_372.zip)
Dal pdf allegato mi si dice di creare un disco di boot, uno con l'immagine del kernel, un
altro con i driver del controller. Si procede facendo il boot dal dischetto, si inseriscono
i driver del controller, si continua con la normale installazione del s/o che vede
perfettamente il raid creato. Il problema arriva alla fine quando c'e' avviso dell'avvenuta
installazione. Il pdf allegato ai driver fa fare una procedura:
Press Alt-F2 to activate the command shell and type in the following commands:
# chroot /mnt/sysimage
# mkdir /mnt/floppy
insert UP kernel diskette
# mount /dev/fd0 /mnt/floppy
# cp /mnt/floppy/vmlinuz.hpt37x2 /boot
# umount /mnt/floppy
insert driver diskette
# mount /dev/fd0 /mnt/floppy
# sh /mnt/floppy/postinstall
# umount /mnt/floppy
i problemi iniziano con sh /mnt/floppy/postinstall, nel senso che segnala un unary operator
e al riavvio dopo il lilo o grub il sistema non trova il vmlinuz -2.4.18-3 in sda2. Tutto
questo utilizzando la versione dei driver RedHat_v73_370_372.zip.
Usando i driver RedHat_v13_370_372.zip il postinstall non da errori ma dopo il boot loader
il sistema non trova initrd.img
Potete aiutarmi a risolvere questo problema? Vi ringrazio in anticipo.
Ciao
----------------------------
contenuto del postinstall
----------------------------
#!/bin/sh
DRIVER=hpt37x2
INSTALL_GRUB=false
INSTALL_LILO=false
LILOCONF=false
OSRELEASE=7.3
KERNELVER=2.4.18-3
ls -l /boot/*smp 1>/dev/null 2>/dev/null
if [ $? = '0' ];then
SMP=smp
else
SMP=
fi
echo "Post Install for ${DRIVER} on RedHat Linux ${OSRELEASE}"
UNAME=`uname -r`
if [ ${UNAME} != '2.4.18-3BOOT' ];then
echo
echo "Error: not RedHat 7.3 installation environment"
exit 1
fi
if [ -f /etc/lilo.conf ]; then
INSTALL_LILO=true
LILOCONF=lilo.conf
else
INSTALL_GRUB=true
if [ -f /etc/lilo.conf.anaconda ];then
LILOCONF=lilo.conf.anaconda
else
LILOCONF=lilo.conf
fi
fi
if [ $INSTALL_GRUB = 'true' ];then
grep -q ${DRIVER} /boot/grub/menu.lst
if [ $? = '0' ]; then
echo
echo "Error: ${DRIVER} has been found in /boot/grub/menu.lst."
echo "Nothing changed."
exit 1
fi
fi
if [ -f /etc/${LILOCONF} ];then
grep -q ${DRIVER} /etc/${LILOCONF}
if [ $? = '0' ]; then
echo
echo "Error: ${DRIVER} has been found in /etc/${LILOCONF}."
echo "Nothing changed."
exit 1
fi
fi
echo "Configuring system "
if [ ! -f /boot/vmlinuz-${KERNELVER} ]; then
echo "/boot/vmlinuz-${KERNELVER} not found."
echo "default kernel not found, postinstall aborted."
exit 1
fi
if [ ! -f /boot/vmlinuz.${DRIVER} ]; then
echo "/boot/vmlinuz.${DRIVER} not found."
echo "copy kernel first, then rerun postinstall."
exit 1
fi
mv /boot/vmlinuz-${KERNELVER} /boot/vmlinuz-${KERNELVER}.old
ln -s /boot/vmlinuz.${DRIVER} /boot/vmlinuz-${KERNELVER}
if [ ${SMP} = 'smp' ];then
if [ ! -f /boot/vmlinuz-${KERNELVER}smp ]; then
echo "/boot/vmlinuz-${KERNELVER}smp not found."
echo "default kernel not found, postinstall aborted."
exit 1
fi
if [ ! -f /boot/vmlinuz.${DRIVER}smp ]; then
echo "/boot/vmlinuz.${DRIVER}smp not found."
echo "copy kernel first, then rerun postinstall."
exit 1
fi
mv /boot/vmlinuz-${KERNELVER}smp /boot/vmlinuz-${KERNELVER}smp.old
ln -s /boot/vmlinuz.${DRIVER}smp /boot/vmlinuz-${KERNELVER}smp
fi
if [ $INSTALL_LILO = 'true' ];then
/sbin/lilo
fi
echo "End of ${DRIVER} Post Install"
echo "type \"umount /mnt/floppy\" then remove the driver disc from floppy"
------------------------------------------------------------------------------
madre Epox 8k3a+, questa e' la mia configurazione:
EPOX 8K3A+ KT333 SOCKET A DDR333 AGP4x ATA133 CONTROLLER RAID hpt372
amd xp 2000+
512 Mb Ram ddr
Matrox G400 32 MB Dual Head
4 dischi MAXTOR EIDE 60 GB ATA133 in Raid 0+1
Sound Blaster compatibile AC97 on board
CD-Rom LG 52X
I driver x il controller raid li ho scaricati da:
http://www.epox.nl/english/support/drivers/raid.htm (RedHat_v13_370_372.zip)
ed anche dal sito del produttore del controller:
http://www.highpoint-tech.com/372drivers_down.htm (RedHat_v13_370_372.zip -
RedHat_v73_370_372.zip - RedHat_v72_370_372.zip - RedHat_v71_370_372.zip)
Dal pdf allegato mi si dice di creare un disco di boot, uno con l'immagine del kernel, un
altro con i driver del controller. Si procede facendo il boot dal dischetto, si inseriscono
i driver del controller, si continua con la normale installazione del s/o che vede
perfettamente il raid creato. Il problema arriva alla fine quando c'e' avviso dell'avvenuta
installazione. Il pdf allegato ai driver fa fare una procedura:
Press Alt-F2 to activate the command shell and type in the following commands:
# chroot /mnt/sysimage
# mkdir /mnt/floppy
insert UP kernel diskette
# mount /dev/fd0 /mnt/floppy
# cp /mnt/floppy/vmlinuz.hpt37x2 /boot
# umount /mnt/floppy
insert driver diskette
# mount /dev/fd0 /mnt/floppy
# sh /mnt/floppy/postinstall
# umount /mnt/floppy
i problemi iniziano con sh /mnt/floppy/postinstall, nel senso che segnala un unary operator
e al riavvio dopo il lilo o grub il sistema non trova il vmlinuz -2.4.18-3 in sda2. Tutto
questo utilizzando la versione dei driver RedHat_v73_370_372.zip.
Usando i driver RedHat_v13_370_372.zip il postinstall non da errori ma dopo il boot loader
il sistema non trova initrd.img
Potete aiutarmi a risolvere questo problema? Vi ringrazio in anticipo.
Ciao
----------------------------
contenuto del postinstall
----------------------------
#!/bin/sh
DRIVER=hpt37x2
INSTALL_GRUB=false
INSTALL_LILO=false
LILOCONF=false
OSRELEASE=7.3
KERNELVER=2.4.18-3
ls -l /boot/*smp 1>/dev/null 2>/dev/null
if [ $? = '0' ];then
SMP=smp
else
SMP=
fi
echo "Post Install for ${DRIVER} on RedHat Linux ${OSRELEASE}"
UNAME=`uname -r`
if [ ${UNAME} != '2.4.18-3BOOT' ];then
echo
echo "Error: not RedHat 7.3 installation environment"
exit 1
fi
if [ -f /etc/lilo.conf ]; then
INSTALL_LILO=true
LILOCONF=lilo.conf
else
INSTALL_GRUB=true
if [ -f /etc/lilo.conf.anaconda ];then
LILOCONF=lilo.conf.anaconda
else
LILOCONF=lilo.conf
fi
fi
if [ $INSTALL_GRUB = 'true' ];then
grep -q ${DRIVER} /boot/grub/menu.lst
if [ $? = '0' ]; then
echo
echo "Error: ${DRIVER} has been found in /boot/grub/menu.lst."
echo "Nothing changed."
exit 1
fi
fi
if [ -f /etc/${LILOCONF} ];then
grep -q ${DRIVER} /etc/${LILOCONF}
if [ $? = '0' ]; then
echo
echo "Error: ${DRIVER} has been found in /etc/${LILOCONF}."
echo "Nothing changed."
exit 1
fi
fi
echo "Configuring system "
if [ ! -f /boot/vmlinuz-${KERNELVER} ]; then
echo "/boot/vmlinuz-${KERNELVER} not found."
echo "default kernel not found, postinstall aborted."
exit 1
fi
if [ ! -f /boot/vmlinuz.${DRIVER} ]; then
echo "/boot/vmlinuz.${DRIVER} not found."
echo "copy kernel first, then rerun postinstall."
exit 1
fi
mv /boot/vmlinuz-${KERNELVER} /boot/vmlinuz-${KERNELVER}.old
ln -s /boot/vmlinuz.${DRIVER} /boot/vmlinuz-${KERNELVER}
if [ ${SMP} = 'smp' ];then
if [ ! -f /boot/vmlinuz-${KERNELVER}smp ]; then
echo "/boot/vmlinuz-${KERNELVER}smp not found."
echo "default kernel not found, postinstall aborted."
exit 1
fi
if [ ! -f /boot/vmlinuz.${DRIVER}smp ]; then
echo "/boot/vmlinuz.${DRIVER}smp not found."
echo "copy kernel first, then rerun postinstall."
exit 1
fi
mv /boot/vmlinuz-${KERNELVER}smp /boot/vmlinuz-${KERNELVER}smp.old
ln -s /boot/vmlinuz.${DRIVER}smp /boot/vmlinuz-${KERNELVER}smp
fi
if [ $INSTALL_LILO = 'true' ];then
/sbin/lilo
fi
echo "End of ${DRIVER} Post Install"
echo "type \"umount /mnt/floppy\" then remove the driver disc from floppy"
------------------------------------------------------------------------------