Adding GParted support

This commit is contained in:
Antony Messerli 2015-11-27 16:19:46 -06:00
parent 9b7cda418a
commit efbfe01d71

View file

@ -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}