Menu

/efi/boot/bootx64.efi was not found in template clonezilla live over PXE

2019-02-04
2020-02-23
  • Daniel Hinz

    Daniel Hinz - 2019-02-04

    Hello Clonezilla Team,

    I want automatically creating an ISO file over our company PXE. I use the latest version of clonezilla live and older version is not possible, because we needs the latest version for supporting NVMe M.2.

    The Issue is, that the bootx64.efi doesn't found in tamplate clonzilla live (see picture on attachment)
    The EFI folder is to find under tftproot.

    Here is also the configuration of our pxeconfig file.

    LABEL ISO
    MENU LABEL ^3. ISO
    KERNEL images/clonezilla_20190108/live/vmlinuz
    APPEND initrd=images/clonezilla_20190108/live/initrd.img boot=live union=aufs config nolocales edd=on nomodeset components
    noswap noprompt keyboard-layouts=de locales=de_DE.UTF-8 ocs_prerun="mount -t cifs -o user=image-admin,password=pte //xxx.xxx.xx.xx/image/Linux/SP-550/HDD/POSReady7/32bit
    /home/partimag" ocs_prerun1="sleep 3" ocs_live_run="sudo ocs-iso -g en_US.UTF-8 -s -t -k NONE -e "-g auto -e1 auto -e2 -c -r -j2 -p choose restoredisk en_SP-550_POSReady7_x86_SP1_320GB_HDD sda"
    en_SP-550_POSReady7_x86_SP1_320GB_HDD" vga=788 fetch=tftp://192.168.10.2/images/clonezilla_20190108/live/filesystem.squashfs nfsroot=xxx.xxx.xx.x/nfsroot/clonezilla_20190108

    I think, the configuration is correct, but I'm not sure.

    Any assistance would be greatly appreciated!

     
  • Steven Shiau

    Steven Shiau - 2019-02-06

    IIRC, the issue has bee fixied in Clonezilla live 2.6.0-37 or 20190108-cosmic:
    https://clonezilla.org/downloads.php
    Have you tried it?

    Steven

     
  • Daniel Hinz

    Daniel Hinz - 2019-02-06

    Hello,

    we use the 20190108-cosmic version Ubuntu based. The 2.6.0-37 Debian based have we doesn't tested yet. I'll try the 2.6.0-37 now and gave feedback, if it resolve the issue or not.

    Thanks!

     
  • Daniel Hinz

    Daniel Hinz - 2019-02-06

    It's the same issue with the Debian based version? Have you any ideas what it is wrong?

     
  • Steven Shiau

    Steven Shiau - 2019-02-08

    For Clonezilla live 2.6.0-37, you can find in the syslinux/isolinux.cfg, the "To RAM" option uses "toram=live,syslinux,EFI". Maybe you do the same thing in your boot parameters?

    Steven

     
  • Daniel Hinz

    Daniel Hinz - 2019-02-11

    Thanks for the solution approach. But, if I entered this("toram=live,syslinux,EFI") in the boot parameters, the loading of clonezilla stops with "end trace".

    I've study the script of clonezilla and I'm not sure, what is $DEBIAN_ISO_TMP.
    I guess, it is a variable for the root directory and he EFI folder is available in root.

    Is it correct what I thinking?

    Check if EFI boot could be supported.

    We only check bootx64.efi or bootaa64.efi since bootx86.efi is optional.

    if [ -e "$DEBIAN_ISO_TMP/EFI/boot/bootx64.efi" ]; then
    cpu_arch_type="x86"
    elif [ -e "$DEBIAN_ISO_TMP/EFI/boot/bootaa64.efi" ]; then
    cpu_arch_type="arm64"
    else
    [ "$BOOTUP" = "color" ] && $SETCOLOR_FAILURE
    echo "/EFI/boot/bootx64.efi or /EFI/boot/bootaa64.efi was not found in template Clonezilla live!"
    [ "$BOOTUP" = "color" ] && $SETCOLOR_NORMAL
    echo "$msg_program_stop"
    exit 1
    fi

    Over an USB Stick with Clonezilla is it possible to create an ISO file and will found the bootx64.efi as well.

    For further ideas would be greatly appreciated.

    Best Regards

    Daniel

     
  • Steven Shiau

    Steven Shiau - 2019-03-03

    It's weird that adding "toram=live,syslinux,EFI" causes kernel panic. Have you tried newer Clonezilla live? Like 2.6.1-15 or 20190224-disco:
    https://clonezilla.org/downloads.php
    ?

    Steven

     
  • Mohd Syah

    Mohd Syah - 2020-01-30

    Hi Steven,

    I have had my own problems on this recently.

    Same error shown as per Daniel initial problem description "boot.efi not found in template.

    But my clonezilla mode is "toram" on thumbdrive for local convert from normal image to ISO.

    It seems that the program looks for all system files that comes preloaded in clonezilla thumbdrive.

    So my solution is adding this to the boot parameter "toram=live,syslinux,EFI,boot,.disk,utils".

    It is important to note that .disk is a hidden file. I failed many times bcos i left out this folder.

    My clonezilla version is: (stable) 2.6.4-10-amd64

     
  • Steven Shiau

    Steven Shiau - 2020-02-23

    Thanks. Actually in the Clonezilla live 2.6.4-10-amd64, if you check the boot parameters file, e.g., syslinux/syslinux.cfg, and boot/grub/grub.cfg, you should be able to find for toram, we have make it like:
    toram=live,syslinux,EFI,boot,.disk,utils
    So definitely it's the same as yours.

    Steven

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.