iPXE discussion forum

Full Version: iPXE with memtest
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I'm attempting to migrate from syslinux 6.03 to iPXE primarily for both http downloads of the kernel and initrd files as well as UEFI wimboot support (which I have working and is working great).

So far I've managed to get a boot script setup with menus that's working great to boot ubuntu, sysrescuecd, and several flavors of winpe.

I'm running into problems getting memtest to work properly and was wondering if somebody could help me with my boot script.

Under Syslinux I used an entry like below to load the memtest (mt86plus) that's included with the ubuntu live cd.

LABEL memtest
menu label Memory test
kernel mt86plus

I've tried using several combinations in my iPXE script to load the same mt86plus binary, however I keep getting the following error after iPXE successfully pulls down the mt86plus file from the pxe server.

http://192.168.0.10/ubuntu1510/install/mt86plus... ok
Could not boot: Invalid argument (http://ipxe.org/1c838002)
Could not boot image: Invalid argument (http://ipxe.org/1c838002)
No more network devices

FATAL: INT18: BOOT FAILURE


I've tried both of the variations below in getting it to boot and both result in the error above.

chain http://192.168.0.10/ubuntu1510/install/mt86plus
boot

and

kernel http://192.168.0.10/ubuntu1510/install/mt86plus
boot


I've also tried to use the memtest iso image from their website with memdisk and I can get memtest to load properly on bios systems, however as one would expect it will not work under UEFI systems since memdisk is not supported on UEFI systems!

I'd really appreciate any insight that you guys can give me!
Andy
(2016-02-01 05:17)andyvr4 Wrote: [ -> ]I've tried using several combinations in my iPXE script to load the same mt86plus binary, however I keep getting the following error after iPXE successfully pulls down the mt86plus file from the pxe server.

As answered in IRC: try using the memtest.0 binary instead. This is memtest in the form of a PXE NBP: it has the advantage that you can return to iPXE afterwards (and report the test result, and potentially capture a screenshot of the memtest output and send it to a reporting server via HTTP POST).

Michael
Awesome, thanks mcb30, the memtest.0 is working great on my bios booted systems, I'd still really like to be able to run it on my UEFI system, but I understand that's not possible at the current time!

lightvik

(2016-02-03 21:32)andyvr4 Wrote: [ -> ]Awesome, thanks mcb30, the memtest.0 is working great on my bios booted systems, I'd still really like to be able to run it on my UEFI system, but I understand that's not possible at the current time!

my efi config:
kernel http://192.168.0.2/pxe/memtest.efi
boot

my bios config:
initrd http://192.168.0.2/pxe/memtest.iso
chain http://192.168.0.2/pxe/memdisk iso raw

link to my binaries:
http://rghost.ru/6yBbY5Kjg
Awesome! Thanks! The memtest.efi passmark version works perfectly with my UEFI systems!
Hi lightvik

Do you have an updated memtest.efi I could ipxe uefi boot with?
The one you have supplied boot, however I simply get a black screen with an exit button (HP Elitebook 840G1)

To get around I am going back to legacy boot, but EFI support would be nice
Hi everyone,

Is there any instruction about how to build "memtest.0"?
I want to build a customed memtest, which can handle " 4 pass" but not "onepass"

any suggestion is appreciated,
thanks.
(2018-04-27 07:13)rexqian Wrote: [ -> ]Is there any instruction about how to build "memtest.0"?

The instructions are the same as with the official build, standard "make" in the source directory

Initial support for building memtest.0 for the 501 version was added in https://git.ipxe.org/people/mcb30/memtes...215a5b9ec9 so you need to check out the pxe501 branch of the above repo.

(2018-04-27 07:13)rexqian Wrote: [ -> ]I want to build a customed memtest, which can handle " 4 pass" but not "onepass"

This was answered at http://forum.ipxe.org/showthread.php?tid...2#pid20372
thank you nikze, i get what i need by following your suggestion.
Reference URL's