LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 06-16-2011, 06:20 AM   #1
AndyLandy
LQ Newbie
 
Registered: Jun 2011
Location: Southampton, UK
Distribution: RedHat Enterprise
Posts: 8

Rep: Reputation: Disabled
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.

Any advice gratefully received. Thanks!
 
Old 06-17-2011, 10:13 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
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.
 
Old 07-21-2011, 05:13 AM   #3
AndyLandy
LQ Newbie
 
Registered: Jun 2011
Location: Southampton, UK
Distribution: RedHat Enterprise
Posts: 8

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PXE booting using Windows Server 2008 DHCP Server fantasygoat Linux - Networking 7 06-07-2012 06:47 AM
PXE Booting diskless cluster node problems Andy M Linux - Server 1 03-12-2009 04:38 AM
Problems with PXE booting HP blade exceed1 Linux - Server 2 05-29-2008 11:57 AM
booting nodes from server via pxe - help needed sniff Fedora 1 05-30-2007 06:13 AM
Kernel panic while PXE booting RH MarkGaleck Red Hat 0 05-09-2007 03:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration