[LEFT] Hi,
We have been using BIOS PXEBoot for awhile now to backup and restore disk images with Clonezilla.
New machines require efi/ufi and though I can get it to boot I can’t figure out the Cloezilla commmand line.
I am trying to boot from an ISO. When I choose this menu item:
menuentry “Clonezilla Live 64” {
set gfxpayload=text
set ISO=’/images/clonezilla/clonezilla-live-2.7.0-10-amd64.iso’
set DEV="${devroot}${ISO}"
export ISO
loopback loop “(${root})${ISO}”
linux ‘(loop)/live/vmlinuz’ boot=‘live’ union=‘overlay’ username=‘user’ config components noswap edd=‘on’ nomodeset nodmraid noeject locales=’’ keyboard-layouts=’’ ocs_live_run=‘ocs-live-general’ ocs_live_extra_param=’’ ocs_live_batch=‘no’ ip=’’ acpi='off’irqpoll noapic noapm nodma nomce nolapic nosmp nomodeset nosplash findiso="${ISO}"
initrd ‘(loop)/live/initrd.img’
loopback --delete loop
}
I get:
can’t find command ‘loopback’
disk ‘loop’ not found
you need to load the kernel first.
can’t find command ‘loopback’
Most grub commands are implemented as loadable modules which are loaded from $prefix location. So you either need to include necessary modules into binary loaded by PXE or make sure they are present on boot server. Actually grub2-mknetdir should prepare directory.
If secure boot is active loading of external modules is disabled and you need to include everything in main binary.
error: …/…/grub-core/net/tftp.c:254:File not found.
error: …/…/grub-core/net/net.c:1475:disk ‘loop’ not found.
error: …/…/grub-core/loader/i386/efi/linux.c:207:You need to load the kernel first.