iPXE discussion forum
iPXE with memtest - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: iPXE with memtest (/showthread.php?tid=7937)



iPXE with memtest - andyvr4 - 2016-02-01 05:17

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


RE: iPXE with memtest - mcb30 - 2016-02-03 20:37

(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


RE: iPXE with memtest - andyvr4 - 2016-02-03 21:32

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!


RE: iPXE with memtest - lightvik - 2016-02-04 17:37

(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


RE: iPXE with memtest - andyvr4 - 2016-02-05 02:15

Awesome! Thanks! The memtest.efi passmark version works perfectly with my UEFI systems!


RE: iPXE with memtest - ndog - 2017-07-07 00:07

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


RE: iPXE with memtest - rexqian - 2018-04-27 07:13

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.


RE: iPXE with memtest - NiKiZe - 2018-04-27 19:51

(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/memtest.git/commitdiff/fac651cb5f52f4dc2435c5c11ada06215a5b9ec9 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=8185&pid=20372#pid20372


RE: iPXE with memtest - rexqian - 2018-05-02 09:30

thank you nikze, i get what i need by following your suggestion.