CSCfi / ansible-role-pxe_bootstrap

Ansible role that install and configures TFTP. It also places iPXE/PXE boot conf files
MIT License
24 stars 4 forks source link

PXE boot option to run memtest86+ #11

Open jabl opened 7 years ago

jabl commented 7 years ago

Like https://github.com/CSC-IT-Center-for-Science/ansible-role-pxe_bootstrap/issues/10 , it would be nice to have a way to alternatively PXE boot memtest86+ in order to troubleshoot a node.

martbhell commented 6 years ago

http://forum.ipxe.org/showthread.php?tid=7937 seems to be doable

martbhell commented 6 years ago

In https://github.com/CSCfi/ansible-role-dhcp-kickstart/pull/10 (which has another fork of this boot.py that does not (yet) use the json improvements done in this repo) I have gotten something that works for BIOS boots.

memtest.0 was found here: http://forum.ipxe.org/showthread.php?tid=7937&highlight=memtest

This will probably not work for servers that boot with UEFI though and I don't have such a system to test with.

The resulting iPXE config:

#!ipxe
kernel http://webserver/memtest.0
boot