Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iPXE with memtest
2016-02-01, 05:17
Post: #1
iPXE with memtest
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
Find all posts by this user
Quote this message in a reply
2016-02-03, 20:37
Post: #2
RE: iPXE with memtest
(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
Visit this user's website Find all posts by this user
Quote this message in a reply
2016-02-03, 21:32
Post: #3
RE: iPXE with memtest
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!
Find all posts by this user
Quote this message in a reply
2016-02-04, 17:37
Post: #4
RE: iPXE with memtest
(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
Quote this message in a reply
2016-02-05, 02:15
Post: #5
RE: iPXE with memtest
Awesome! Thanks! The memtest.efi passmark version works perfectly with my UEFI systems!
Find all posts by this user
Quote this message in a reply
2017-07-07, 00:07
Post: #6
RE: iPXE with memtest
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
Find all posts by this user
Quote this message in a reply
2018-04-27, 07:13
Post: #7
RE: iPXE with memtest
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.
Find all posts by this user
Quote this message in a reply
2018-04-27, 19:51 (This post was last modified: 2018-04-28 06:30 by NiKiZe.)
Post: #8
RE: iPXE with memtest
(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

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
2018-05-02, 09:30
Post: #9
RE: iPXE with memtest
thank you nikze, i get what i need by following your suggestion.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 3 Guest(s)