########################################################################### # Installing Debian on Compaq Proliant ML370 # # Anuradha Weeraman, 23 August 2001 # # $Id: cpqml370.txt,v 1.1 2004/06/02 21:17:53 anuradha Exp $ # ########################################################################### Preamble : We had two servers running redhat 6.2 and we wanted to upgrade to Debian since we had our qualms about installing RedHat 7.0 because of its broken compiler issue. Installing RedHat was pretty simple since the hardware had been tested with RedHat and the default kernel came with the necessary drivers if you were running Compaq SmartArray. It was basically like doing it on another machine. With Debian, the issue was different. We had a feeling that there might be problems with the default kernel not supporting SmartArray and we were right. It just didn't detect our drives. Solution: Boot from the Debian CD. Using another linux machine, make an ext2 floppy with a directory called 'boot' that contains the kernel modules 'cpqarray.o' and if you are using Compaq Proliant ML370, 'eepro100.o' (ethernet card). these kernel modules can be located by : find /lib/modules/`uname -r` -name 'cpqarray.o' find /lib/modules/`uname -r` -name 'eepro100.o' Compile a kernel on another machine with support for Compaq SmartArray built-in. All required modules should be statically compiled. Make a boot disk using this to be used later on, with: dd if=/usr/src/linux/arch/i386/boot/bzImage of=/dev/fd0 if the root partition of the intended server setup is going to be /dev/ida/c0d0p2, assuming that /dev/ida/c0d0p1 is allocated for the /boot partition, you also need to do the following to complete making a boot disk : rdev /dev/fd0 /dev/ida/c0d0p2 At the text mode install, press CTRL-F2, to open up the second virtual terminal and do the following : cd /dev mkdir ida cd ida mknod c0d0 b 72 0 mknod c0d0p1 b 72 1 mknod c0d0p2 b 72 2 mknod c0d0p3 b 72 3 ..... mknod c0d0p15 b 72 15 This will create the necessary device files that Compaq SmartArray will use. You need to create only the device files that will be used, others can be skipped. Return to the Debian Install screen by pressing CTRL-F1 and choose to load essential modules from disk. At the prompt, insert the disk and select the two modules individually. Proceed with the install in the usual way, selecting the appropriate device files created in a previous step to identify different partitions. Reboot once the installation is over with the boot disk created in a previous step in the drive. If all goes well, the kernel will spew out messages and init will start and will then prompt you for some last minute configurations. Now transfer the kernel you made to the new system using another ext2 disk. Put in the /boot partition. Fire up 'vi /etc/lilo.conf' and type the following lilo.conf file assuming that the new kernel is called /boot/vmlinuz lba32 boot=/dev/c0d0 root=/dev/c0d0p2 install=/boot/boot.b map=/boot/map default=linux image=/boot/vmlinuz label=linux read-only RUN '/sbin/lilo'. DON'T FORGET THIS STEP. Take the floppy out of the drive and reboot. Your computer should now start up in Debian. Congratulations, pat yourself on the back.