From efbfe01d71bd15e120c04ea25b203972fcf35226 Mon Sep 17 00:00:00 2001 From: Antony Messerli Date: Fri, 27 Nov 2015 16:19:46 -0600 Subject: [PATCH] Adding GParted support --- src/utils.ipxe | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/src/utils.ipxe b/src/utils.ipxe index 5dad207c..c7e6126a 100644 --- a/src/utils.ipxe +++ b/src/utils.ipxe @@ -3,9 +3,10 @@ menu Utilities item --gap Utilities: item clonezilla ${space} Clonezilla +item gparted ${space} GParted item hdt ${space} Hardware Detection Tool item memtest ${space} MemTest86+ -item partition_wizard ${space} Partition Wizard 9.1 +item partition_wizard ${space} Partition Wizard item testpr ${space} Test netboot.xyz branch choose --default ${menu} menu || goto utils_exit echo ${cls} @@ -13,12 +14,6 @@ goto ${menu} || chain ${menu}.ipxe || goto utils_exit goto linux_exit -:hdt -kernel ${memdisk} iso raw -initrd http://www.hdt-project.org/raw-attachment/wiki/hdt-0.5.0/hdt-0.5.2.iso -boot -goto utils_exit - :clonezilla set version 2.4.2-61 iseq ${arch} x86_64 && set cz_arch amd64 || set cz_arch i686-pae @@ -32,6 +27,24 @@ set try ${try}x initrd ${czurl} || goto retry boot || goto utils_exit +:gparted +set version 0.24.0-2 +set project gparted +set iso ${project}-live-stable/${version}/${project}-live-${version}-amd64.iso +set czurl http://sourceforge.net/projects/gparted/files/${iso}/download +kernel ${memdisk} iso raw ${params} +:retry +iseq ${try} xxxxx && exit || +set try ${try}x +initrd ${czurl} || goto retry +boot || goto utils_exit + +:hdt +kernel ${memdisk} iso raw +initrd http://www.hdt-project.org/raw-attachment/wiki/hdt-0.5.0/hdt-0.5.2.iso +boot +goto utils_exit + :memtest chain utils/memtest.bin ${params} && goto main_menu || echo MEMORY ERROR DETECTED! ${errno}