Re: Re: [Etherboot-developers] http://rom-o-matic.net updated with Etherboot-5.4.0

Marty Connor <[email protected]>
Newsgroups gmane.network.etherboot.user,gmane.network.etherboot.devel
Message-ID <[email protected]>
On Apr 26, 2005, at 6:31 PM, Samuel Clements wrote:
> When I boot the machine, the last few lines are:
>
> Trying to load: pxelinux.cfg/C
> Trying to load: pxelinux.cfg/default
> Loading
> Invalid or corrupt kernel image.
> Boot:

OK, I was able to reproduce this.  I think you might need a newer 
version of memtest, and/or you  might need to change a filename to make 
it work.

I got mine at:

     http://www.memtest86.com/memtest86-3.2.tar.gz

I then did the usual:

     tar -zxf memtest86-3.2.tar.gz
     cd memtest86-3.2
     make

This gave me (among others) the files:

     -rwxrwxr-x    1 mdc      mdc         96992 Apr 27 07:03 memtest
     -rwxrwxr-x    1 mdc      mdc         95316 Apr 27 07:03 memtest.bin

So, of course I (naively) thought memtest was my kernel image.

I then tried booting, and got the error you did  (corrupt kernel).

Then I read the file 'README.build-process' file from memdisk86 where 
it explained that:

     memtest.bin is the floppy/lilo bootable target.

     memtest is the ELF bootable target.

Alright, so I put memtest.bin in /tftpboot and tried letting PXELINUX 
boot that.

That also failed, but for another reason.

It turns out that PXELINUX treats files ending in .bin specially, so 
you have to actually rename the file:

     mv /tftpboot/memtest.bin to /tftpboot/memtestbin

Then, if you can change your /tftpboot/pxelinux.cfg/default file to 
look like:

     default memtest
     prompt 0

     label memtest
       kernel memtestbin

Then it works.

Now, it turns out that you could just load PXELINUX from your Intel 
EEPRO100 card's PXE, and it would likely work fine, but you do get 
extra style points (and mad respect :) for doing the:

     PXE -> Etherboot -> PXELINUX -> memtestbin

route rather than just

     PXE -> PXELINUX -> memtestbin

I should make mention that:

     PXE -> zpxe.undi -> PXELINUX -> memtestbin

did not work for me.  Perhaps another intrepid soul will share the joy 
of debugging this :)

> Sorry for spelling it all out, but I figure too much info is easy to 
> scroll past, right? ;)
> I've never used pxelinux before (or tried to load it for that matter!) 
> so I'm not sure if this is indicative of the problem I'm having or if 
> its me hosing up the pxelinux config. Let me know if I can try 
> anything else for you!
>   Thanks  -Sam

Thanks for your report.  It was interesting to debug.

Please let us know if this solution works for you.

Thanks,

Marty

-- 
     Try: http://rom-o-matic.net/ to make Etherboot images instantly.

    Name: Marty Connor
US Mail: Entity Cyber, Inc.; P.O. Box 391827;
          Cambridge, MA 02139; USA
   Voice: (617) 491-6935; Fax: (617) 491-7046
   Email: [email protected]
     Web: http://www.etherboot.org/



-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.