[SOLVED] PXE booting RHEL6 via Windows SCCM server, kernel problems
Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
PXE booting RHEL6 via Windows SCCM server, kernel problems
Hello,
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.
--- rod.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.