Bladeren bron

Adding GParted support

Antony Messerli 9 jaren geleden
bovenliggende
commit
efbfe01d71
1 gewijzigde bestanden met toevoegingen van 20 en 7 verwijderingen
  1. 20 7
      src/utils.ipxe

+ 20 - 7
src/utils.ipxe

@@ -3,9 +3,10 @@
 menu Utilities
 menu Utilities
 item --gap Utilities:
 item --gap Utilities:
 item clonezilla ${space} Clonezilla
 item clonezilla ${space} Clonezilla
+item gparted ${space} GParted
 item hdt ${space} Hardware Detection Tool
 item hdt ${space} Hardware Detection Tool
 item memtest ${space} MemTest86+
 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
 item testpr ${space} Test netboot.xyz branch
 choose --default ${menu} menu || goto utils_exit
 choose --default ${menu} menu || goto utils_exit
 echo ${cls}
 echo ${cls}
@@ -13,12 +14,6 @@ goto ${menu} ||
 chain ${menu}.ipxe || goto utils_exit
 chain ${menu}.ipxe || goto utils_exit
 goto linux_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
 :clonezilla
 set version 2.4.2-61
 set version 2.4.2-61
 iseq ${arch} x86_64 && set cz_arch amd64 || set cz_arch i686-pae
 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
 initrd ${czurl} || goto retry
 boot || goto utils_exit
 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
 :memtest
 chain utils/memtest.bin ${params} && goto main_menu ||
 chain utils/memtest.bin ${params} && goto main_menu ||
 echo MEMORY ERROR DETECTED! ${errno}
 echo MEMORY ERROR DETECTED! ${errno}