I download the source for the 2.6.3 kernel and compiled a kernel using
these instructions, which basically involves the following commands:
make mrproper
make config
make bzImage
make modules
make modules_install
According to the instructions:
Quote:
n initrd image is needed for loading your SCSI module at boot time. If you do not need an initrd image, do not make one and do not edit lilo.conf to include this image.
The shell script /sbin/mkinitrd can build a proper initrd image for your machine if the following conditions are met:
The loopback block device is available.
The /etc/conf.modules file has a line for your SCSI adapter; for example:
alias scsi_hostadapter BusLogic
To build the new initrd image, run /sbin/mkinitrd with parameters such as this:
/sbin/mkinitrd /boot/newinitrd-image 2.2.15-2.5.0sjs
|
I had no /etc/conf.modules file, but when I installed RH9 there was an initrd file. And when I installed an RPM for 2.4.20-30.9 kernel, an initrd file was present too.
So first I tried commenting out the initrd line for the new kernel, and in paniced on boot. something about ROOT=
so I built an initrd file using the following command:
/sbin/mkinitrd /boot/newinitrd-image 2.6.3
Then renamed the file to initrd-2.6.3 and edited my grub.conf
And it paniced on boot.
NOTE: the initrd file I built was significantly smaller than the two initrd files associated with the two previous kernels. So what am I doing wrong in building this initrd?
Do I need /etc/conf.modules file with this line:
alias scsi_hostadapter BusLogic
Do I need
that exact line? Or what else should I put for "BusLogic"? Where do I find out?
Thanks