Skip to content

Commit

Permalink
Support for Memtest86 Free for UEFI
Browse files Browse the repository at this point in the history
  • Loading branch information
antonym committed Sep 3, 2021
1 parent e3e50eb commit 0294b84
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.
## [2.0.48]
#### Added
- Support for Harvester
- Support for MemTest86 Free

## [2.0.47] - 2021-08-30
#### Fixes
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ In addition to being able to host netboot.xyz locally, you can also create your
| Grml | http://grml.org | LiveCD |
| Kaspersky Rescue Disk | https://support.kaspersky.com/viruses/krd18 | LiveCD |
| Memtest | http://www.memtest.org/ | Kernel |
| MemTest86 Free | https://www.memtest86.com | USB Img |
| Redo Rescue | http://redorescue.com/ | LiveCD |
| Rescatux | https://www.supergrubdisk.org/rescatux/ | LiveCD |
| Rescuezilla | https://rescuezilla.com/ | LiveCD |
Expand Down
14 changes: 10 additions & 4 deletions roles/netbootxyz/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -619,10 +619,11 @@ sigs_menu: false
site_name: netboot.xyz
time_server: 0.pool.ntp.org
utilitiesarm:
placeholder:
enabled: false
name: placeholder
type: direct
memtest86-free:
enabled: true
kernel: ${live_endpoint}{{ endpoints.memtest86-free.path }}memtest86-usb.img
name: Memtest86 Free
type: sanboot
utilitiesefi:
4mlinux:
enabled: true
Expand Down Expand Up @@ -660,6 +661,11 @@ utilitiesefi:
enabled: true
name: Kaspersky Rescue Disk
type: ipxemenu
memtest86-free:
enabled: true
kernel: ${live_endpoint}{{ endpoints.memtest86-free.path }}memtest86-usb.img
name: Memtest86 Free - {{ endpoints.memtest86-free.version }}
type: sanboot
redorescue:
enabled: true
initrd: ${live_endpoint}{{ endpoints.redorescue.path }}initrd
Expand Down
9 changes: 9 additions & 0 deletions roles/netbootxyz/templates/menu/utils-arm.ipxe.j2
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ goto utils_exit
{% endif %}
{% endfor %}

{% for key, value in utilitiesefi.items() | sort %}
{% if value.enabled | bool and value.type == "sanboot" %}
:{{ key }}
imgfree
sanboot {{ value.img_url }}
goto utils_exit
{% endif %}
{% endfor %}

:utils_exit
clear menu
exit 0
9 changes: 9 additions & 0 deletions roles/netbootxyz/templates/menu/utils-efi.ipxe.j2
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ goto utils_exit
{% endif %}
{% endfor %}

{% for key, value in utilitiesefi.items() | sort %}
{% if value.enabled | bool and value.type == "sanboot" %}
:{{ key }}
imgfree
sanboot {{ value.img_url }}
goto utils_exit
{% endif %}
{% endfor %}

:cmdline
echo If you want to change the default kernel command line parameters
echo you can override the defaults here.
Expand Down

0 comments on commit 0294b84

Please sign in to comment.