-----Original Message-----
From: kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies-bounce@xxxxxxxxxxxx]On Behalf Of kiran kumar
Sent: Friday, March 31, 2006 12:48 PM
To: kernelnewbies@xxxxxxxxxxxx
Subject: kernel recompile problemwarm regards,
hi all,
i am installing kernel 2.6.15.5. i have 2.4.20-8 as the original kernel. the steps i followed for compiling the kernel is :
1. downloaded the required packages module-init-tools-3.2 & modutils-2.4.27-1.src.rpm
2. Install module-init-tools.
cd module-init-tools-3.2
./configure --prefix=/
make
make install
./generate-modprobe.conf /etc/modprobe.conf
### this packages i have installed in /home/src directory.
3. Install modutils-2.4.21-23.src.rpm.
rpm -i modutils-2.4.21-23.src.rpm
rpmbuild -bb /usr/src/redhat/SPECS/modutils.spec
rpm -Fi /usr/src/redhat/RPMS/i386/modutils-2.4.21-23.i386.rpm
4. Install and configure the kernel.
i have installed in /home/src directory.;
copied the existing config file of 2.4 kernel i.e kernel-2.4.20-8-i386.config into /home/src/linux-2.6.15.5;
then i did make oldconfig;
#### i ensured loop back device support set as module & ram disk support as built-in.
then, make bzImage;
make modules;
make modules_install;
make install;
then i rebooted successfully 2.6 kernel for the first time.
for successive recompilations of 2.6 there is error at the last stage i.e after make install
all of your loop back devices are in use;
mkinitrd failed
what might be the problem? i have set #### loop back device support set as module & ram disk support as built-in.
pls help me in this regard?
kiran kumar s.k
N.I.T.K,surathkal
Hi,
Pls
try make distclean, make dep, make zImage..
Hope
this works,
~Abu.