Mandrake 9 @ hpt372 install how to
__________________________________


1) Prepare your media:

1.1) You will need a floopy with an special kernel / modules:

you can use rawrite from DOS/Windows or dd from GNU/Linux with the image in the "fd" directory: hpt372_install_floppy.raw

1.2) Prepare a 2nd disk in msdos or ext2 format with the files of the directory: "installed_kernel"

2) Installing

2.1) Boot using the 1st floppy (press enter in the menu)

2.2) When mandrake displays the mandrake license (and the keyboard is in your language ( :P ) ) press "alt + f2" to change to text mode and write:

cd /modules
modprobe sd_mod
insmod_ hpt37x2.o

then return to the graphic mode with "alt + f7"

2.3 At the partitioning you will see your raid as /dev/sda (normaly)

3) Updating the kernel at the end of te installation: (When the program asks you to reboot the machine)

3.1) The probided kernel probably will hang up as the installation kernel. in the 2nd disk you have 2 files than you must to copy to your new /boot directory. Press "alt + f2" to change to the console and write:


mkdir fdtemp
mount /dev/fd0 fdtemp
cp fdtemp/* /mnt/boot

#(overwrite the 2 files)

cd /mnt/usr/bin
./chroot /mnt

lilo

3.2) Press "alt + f7" to return the graphical mode and click ok to reboot in your new mandrake 9


Thats all

Whats in these package?

installed_kernel/initrd-2.4.19-16mdk.img # that is the normal initrd  plus the scsi_mod.o sd_mod.o and hpt37x2.o modules

installed_kernel/vmlinuz-2.4.19-16mdk # that is the normal kernel without the old hpt366 and the hpt374 support

mandrake_archiver/mar # The mandrake archiver binary (compiled with the mandrake cvs cvs.mandrakesoft.com) these is used to edit the modules.mar


kernelchanges/ide-pci.c # The ide-pci.c file from the kernel without the hpt366 and hpt374

kernelchanges/BOOT/config # the .config file from the BOOT kernel

kernelchanges/BOOT/Makefile # the Makefile from the BOOT kernel


kernelchanges/kernel/Makefile # the Makefile from the kernel

kernelchanges/kernel/config # the .config file from the kernel


readme.txt # these file

fd/hpt372_install_floppy.raw # the raw image of the mandrake 9 installation with the highpoint driver integrated.




TODO

- investigate how to include the highpoint driver in the scsi menu
- load the hpt37x2.o automatically
- create a postinstall script to change the kernel and the kernel-initrd.
- rewrite these document in spanish :)
