[SOLVED] PXE booting RHEL6 via Windows SCCM server, kernel problems
Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
PXE booting RHEL6 via Windows SCCM server, kernel problems
I'm currently trying to deploy a cross-platform PXE boot service. By all accounts, the recommended way to do this is using the Windows SCCM server and replacing its PXE subsystem with pxelinux.
I've successfully managed that, we can install Windows and I have a pxelinux menu which allows me to create Linux boot options.
I've added an Ubuntu image to the system and that works perfectly. The problem is that I can't get it to work with RHEL6.
When you pick the RHEL6 boot option, it prints "Loading vmlinuz....." then hangs. As I understand it, this means it's not even successfully decompressing the vmlinuz kernel image. I'm at a loss of what to try next. Obviously, no amount of debug options to the kernel will help, since it's not getting far enough to even boot.
First question, is it possible to decompress it back to a vmlinux image? If so, that might be worth trying. Failing that, does anyone have advice on further debugging steps I could take to see what's going on.
For the record, the exact same vmlinuz image works just fine on our old Linux-based PXE boot service. I've copied the file three or four times from different locations, just to rule out file corruption.
If you have built a kernel (of any description, for X86), I am pretty sure that there will be a an uncompressed version left over in the build tree. You should probably be able to get any uncompressed kernel and try that, even if it isn't compatible with your system or the rest of your OS installation. It is possible to extract the uncompressed kernel from the compressed binary, but it is not as simple as running a decompression tool on it. The binary image is prefixed with the built-in decompressor, and this has to be extracted from the blob, and the remainder can then be decompressed. There is somewhat of a recipe for this procedure at CodeGuru Forums > Visual C++ & C++ Programming > C++ (Non Visual C++ Issues) > convert vmlinuz to vmlinux.
I'm still not sure what went wrong here. As things turned out, RHEL 6.1 came along before I had time to look at this further and it worked without problems. It bugs me a little that I don't understand what went wrong, but at least it works now.