On Fri, 2003-02-21 at 14:57, Kenneth Benson wrote: > I can install any version of Redhat and have it work correctly, however > whenever I update the kernel using rpm's or rhn, it will fail to start the > kernel. How can I find out the configuration of the install kernel so that I > can re-compile the updated kernel sources to work on my pc? >
to see version release and arch of installed kernel packages [EMAIL PROTECTED] tmp]$ rpm -q kernel --qf "%{NAME} -%{VERSION}-%{RELEASE} compiled for %{ARCH}\n" kernel -2.4.18-17.7.x compiled for athlon kernel -2.4.18-19.7.x compiled for athlon to see which one is running: [EMAIL PROTECTED] tmp]$ uname -a Linux bretsony 2.4.18-19.7.xcustomW4L #1 Tue Jan 14 20:36:08 CST 2003 i686 unknown btw, rpm --querytags will give you a list of all the fields that can be used in --queryformat (--qf) statements the configs for each arch are in the kernel source at /usr/src/linux-2.4/configs. Copy the one you want to .config in the root of the source tree and you are jammin. Bret -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list