Howto modify the disks yourself
If you want to modify the disks you need :
-
A computer with Redhat 5.2 on it
-
Kernel 2.0.36 source tree with the
Compaq smart array patches
-
Minix support in the the RedHat 5.2 kernel
The bootdisk :
This disk contains the kernel and lilo and has a minix file system.
This is my modification method (example for a new kernel) :
-
Mount the floppy : mount /dev/fd0 /mnt/floppy
-
Make a new kernel
-
cd /usr/src/linux ; make mrproper
-
make menuconfig ; here is the
cfg-file
I used for the 0.50 version ; make a kernel without modules
-
make dep ; make clean ; make bzImage
-
cp /usr/src/linux/arch/i386/boot/bzImage /mnt/floppy/vmlinuz-compaq
-
lilo -r /mnt/floppy
-
Umount the floppy: umount /mnt/floppy
The rootdisk :
This disk contains all the stuff that will be loaded in ram. It has
a few commands on it, like mount, fdisk,rpm etc. and the /dev entries.
It has a compressed file system. This is my modification method :
-
gunzip the cpqarray-xx.xx.rootdisk.gz
-
mv cpqarray-xx.xx.rootdisk cpqarray-xx.xx.rootdisk.gz
-
gunzip cpqarray-xx.xx.rootdisk.gz ; this is correct ; first we gunzip the
downloaded disk ; second we gunzip the compressed filesystem
-
mkdir compaq
-
mount cpqarray-xx.xx.rootdisk compaq -o loop ;
mount the disk image on a loopback device
-
cd compaq ; make your modifications now
-
cd .. ; umount compaq
-
gzip the cpqarray-xx.xx.rootdisk
-
mv cpqarray-xx.xx.rootdisk.gz cpqarray-xx.xx.rootdisk
-
And your are ready , you can put the image on a diskette
The installdisk :
This disk contains the install scripts (install.sh and rpminstall.sh)
and a rpm with the modified lilo and a modified 'install' kernel. It has
an ext2 file system. So you can modify it by simply mounting the floppy.
Back to pre installation