My bad - I rechecked and it is the correct source. AND I found that the make install (with make modules_install first) takes care of GRUB for me.
BUT:
Now I can't boot because the installed Centos 4.4 was from the distribution DVD, and it depends on the lvm to load. My build doesn't know about the lvm and it refuses to boot - it dies coming up with an error from lvm, followed by two more where it can't find a file system, then the kernel panics (and hangs the machine).
How do I get around lvm?
Thanks (again).
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Will McDonald Sent: Thursday, January 25, 2007 4:21 PM To: CentOS mailing list Subject: Re: [CentOS] Problems with building a complete kernel
On 26/01/07, Mark Hull-Richter mhull-richter@datallegro.com wrote:
Thanks - I'm still working on it.
Does anyone know where there is a clean, working source for Centos 2.6.9-42.0.3 (supposedly the 4.4 final)? I'm pretty sure the one I
have
is NOT the right one....
The source tarball should be included in the SRPM for your kernel, I'd imagine.
http://mirror.centos.org/centos-4/4.4/updates/SRPMS/kernel-2.6.9-42.0.3. EL.src.rpm
Once installed (if installed as root) it'll be in /usr/src/redhat/SOURCES, otherwise it'll be in wherever your .rpmmacros file points.
Will. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 1/26/07, Mark Hull-Richter mhull-richter@datallegro.com wrote:
My bad - I rechecked and it is the correct source. AND I found that the make install (with make modules_install first) takes care of GRUB for me.
BUT:
Now I can't boot because the installed Centos 4.4 was from the distribution DVD, and it depends on the lvm to load. My build doesn't know about the lvm and it refuses to boot - it dies coming up with an error from lvm, followed by two more where it can't find a file system, then the kernel panics (and hangs the machine).
How do I get around lvm?
Build your kernel with lvm support. It sounds like you're changing far more than you need to in the config. If you follow the how-to on the centos wiki, you'd only be changing the things you need to, and all else will stay the same. This keeps you from running into things like you're experiencing.
Again, are you certain you need to rebuild? What feature is it that you need?