Jerry Geis
2005-Jun-14 18:33 UTC
SUCCESS! [CentOS] Help rebuilding kernel get mount error on reboot
John,
Was there a reason for the (2) make oldconfigs? just curious
This all worked
rpm -i kernel.XXX.src.rpm
cd /usr/src/redhat/SPECS
rpmbuild -bp --target i686 kernel.XXX.spec
cd /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9
make mrproper
cp /boot/config-2.6.9-11.EL .config
make oldconfig
make oldconfig
make menuconfig
Device Drivers -> Character Devices -> Serial
Drivers
change Max number of non legacy 8250_NR_UARTS to 36
make bzImage
make modules
make modules_install
make install
On Tue, 2005-06-14 at 12:23 -0500, Jerry Geis wrote:>/ Still no go....
/>/
/>/ I have downloaded the SRC rpm for kernel-2.6.9-11.EL.src.rpm
/>/
<http://mirror.centos.org/centos/4.1/os/SRPMS/kernel-2.6.9-11.EL.src.rpm>
/>/ I did rpm -i kernel....src.rpm
/>/ cd /usr/src/redhat/SPECS
/>/ rpmbuild -bp --target i686 kernel.xxx.src.rpm
/>/ cd /usr/src/redhat/BUILD/kernel.XXX/linux.XXX
/>/ make bzImage
/>/ make modules_install
/>/ make install
/>/
/>/ When I reboot I get the same error about
/>/
/>/ "mount: error 19 mounting ext3"
/>/
/>/ Where should I go from here?
/
Go into the directory ... do:
make mrproper
cp /boot/config-xxxx .
make oldconfig
make oldconfig
make menuconfig
(adjust what you want)
make bzImage
make modules
make modules_install
make install
Johnny Hughes
2005-Jun-14 19:05 UTC
SUCCESS! [CentOS] Help rebuilding kernel get mount error on reboot
On Tue, 2005-06-14 at 13:33 -0500, Jerry Geis wrote:> John, > > Was there a reason for the (2) make oldconfigs? just curiousYes ... sometimes doing it just once doesn't always work. Especially if there are new features added and the config file is from an older kernel.> > This all worked > > rpm -i kernel.XXX.src.rpm > cd /usr/src/redhat/SPECS > rpmbuild -bp --target i686 kernel.XXX.spec > cd /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9 > make mrproper > cp /boot/config-2.6.9-11.EL .config > make oldconfig > make oldconfig > make menuconfig > Device Drivers -> Character Devices -> Serial Drivers > change Max number of non legacy 8250_NR_UARTS to 36 > make bzImage > make modules > make modules_install > make install > >Glad it worked. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20050614/f42e785f/attachment-0003.sig>