Browse Source

Adds an option in Utils to Test ISOs with memdisk

Antony Messerli 9 years ago
parent
commit
cb649e1d98
1 changed files with 8 additions and 0 deletions
  1. 8 0
      src/utils.ipxe

+ 8 - 0
src/utils.ipxe

@@ -13,6 +13,7 @@ item partition_wizard ${space} Partition Wizard
 item pogostick ${space} Pogostick - Offline Windows Password and Registry Editor
 item supergrub ${space} Super Grub2 Disk
 item --gap netboot.xyz tools:
+item testdistro ${space} Test Distribution ISO
 item testpr ${space} Test netboot.xyz branch
 choose --default ${menu} menu || goto utils_exit
 echo ${cls}
@@ -93,6 +94,13 @@ initrd https://forja.cenatic.es/frs/download.php/file/1844/super_grub2_disk_hybr
 boot
 goto utils_exit
 
+:testdistro
+echo This option will allow you to test booting an ISO using memdisk.
+echo -n Specify ISO you want to test: ${} && read distro_iso
+kernel ${memdisk} iso raw
+initrd ${distro_iso}
+boot
+
 :testpr
 clear github_user
 clear github_hash