Tips taken from here http://www.vmwareinfo.com/2009/09/red-screen-of-death-hp-dl360-g6s.html and here http://bizsupport1.austin.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c02695572&lang=en&cc=us&taskId=101&prodSeriesId=4091408&prodTypeId=15351&printver=true
I recently installed RHEL 5 on a HP DL306 server from a bootable USB drive since there was no CD/DVD on the server.
After a complete installation of the OS and a reboot I kept getting a Red Screen of death with an “Illegal OpCode” error.
From the above HP link, looks like grub.conf kept looking at hd1,0 as the boot device so as long as the USB drive was plugged in all went fine but when I took it out -> Red Screen!
So I edited /boot/grub/grub.conf and changed the hd1,0 to hd0,0 save the file, reboot and viola!
#1. Boot from bootable USB
#2. Install RHEL5 Advanced boot options and select /dev/cciss/cp1 (boot partition)
#2a. If on reboot the system comes up, then as root run the grub commands below.
#3. Boot to bootable USB, linux rescue and boot the drive to /mnt/sysimage
#4. Chroot /mnt/sysimage
#5. # grub
grub> find /boot/grub/stage1
grub> root (hd0,0) (If this command says FAT filesystem run it on hd1,0 and make sure you run setup on an ext2/3 filesystem.)
grub> setup (hd0)
If you are going to remove the USB drive you need to edit the bootable