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 25, 2005, at 9:07 PM, Samuel Clements wrote:
>> Thanks for your report, Sam.
>> Can you give a little more detail on how you are trying to load
>> memtest86+?
> Sure thing! I've downloaded and uncompressed the etherboot 5.4.0 src
> and done:
>
> cd etherboot-5.4.0
> cd src
> gmake bin/eepro100.zpxe
> mv bin/eepro100.zpxe /tftpboot
>
> I then have an entry in dhcpd.conf:
>
> class "machinesIcareabout"{
> match substring ( hardware, 1,3);
> if substring (option vendor-class-identifier, 0,9) =
> "Etherboot" {
> filename "menu.nfl";
> } else if substring (option vendor-class-identifier, 0,9) =
> "PXEClient" {
> filename "eepro100.zpxe";
> }
> }
>
> subclass "machinesIcareabout" 00:13:20;
Sam,
Could you try changing your dhpcd.conf entry to look like:
class "machinesIcareabout"{
match substring ( hardware, 1,3);
if substring (option vendor-class-identifier, 0,9) =
"Etherboot" {
filename "pxelinux.0";
} else if substring (option vendor-class-identifier, 0,9) =
"PXEClient" {
filename "eepro100.zpxe";
}
}
subclass "machinesIcareabout" 00:13:20;
--
Then create the directory /tftpboot/pxelinux.cfg
and place the following lines in a file called
/tftpboot/pxelinux.cfg/default:
prompt 0
default 0
label 0
kernel memtest
You will also need to get a recent copy of pxelinux.0 to put in
/tftpboot
You should be able to get one here:
http://www.kernel.org/pub/linux/utils/boot/syslinux/
The latest one right now is:
http://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux
-3.07.tar.gz
You can extract pxelinux.0 from the tar file by unpacking it with:
tar -zxf syslinux-3.07.tar.gz
Then just copy the file to /tftpboot with something like:
cp syslinux-3.07/pxelinux.0 /tftpboot
What I'm trying to do here is to determine if there is a problem with
mknbi and if pxelinux will load memtest in this scenario.
Since pxelinux does menus, you may be able to entries in the
/tftpboot/pxelinux.cfg/default file to get the functionality you need.
Thanks for doing this testing. I look forward to hearing what happens.
Marty
> I then downloaded mknbi-1.4.4 and did:
> cd mknbi-1.4.4
> echo memtest> menu.txt
> mkelf-nfl menu.txt > /tftpboot/menu.nfl
>
> then I boot my client machine that has a MAC address that starts with
> 00:13:20 and set its primary boot device to PXE. The machine boots,
> finds the dhcp server, downloads the .zpxe file, goes looking for the
> menu.nfl file, finds it and downloads it which presents me with a menu
> for loading memtest (lots of extra menu items omitted for ease of
> description). I select memtest by pressing 'Enter' and I get:
>
> <snip>.....
> Image checksum: 9f74 != computed checksum: 1ec9
> <abort>
>
> When I use mknbi-nfl instead of mkelf-nbi in the above recipe, I get:
>
> Unexpected Interrupt - Halting
>
> with what appears to be a dump of sorts below that. I'll gladly
> transcribe it by hand if you feel it will be useful.
>
> When I put my etherboot 5.2.6 .zpxe files back into place, memtest
> loads fine so I'm fairly certain the files on the tftp server are not
> corrupt as the first error implies. Please let me know if you need any
> additional information or if I'm doing something terribly obviously
> wrong!
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click