You need open ISO file Clonozilla. And fix 2 files:
- \syslinux\isolinux.cfg (from to CSM mode bios)
- \boot\grub\grub.cfg (from to UEFI mode bios)
Exemple:
- grub.cfg:
menuentry "Auto Creat Backup HDD&SSD (without checking for errors)" {
search --set -f /live/vmlinuz
$linux_cmd /live/vmlinuz boot=live union=overlay username=user hostname=Comp config quiet components noswap edd=on nomodeset nodmraid noeject locales=ru_RU.UTF-8 keyboard-layouts=NONE ocs_prerun="mount -L Ventoy /mnt" ocs_prerun1="mount --bind /mnt/Clonozilla_Backup /home/partimag" ocs_live_run="/usr/sbin/ocs-sr -q2 -j2 -z1 -i 4000 -sc -rm-win-swap-hib -scpt -sfsck -p poweroff savedisk ask_user sda" ocs_live_batch=no vga=788 ip= splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
$initrd_cmd /live/initrd.img
}
- isolinux.cfg:
label Auto-Clone HDD
MENU DEFAULT
MENU LABEL Auto Creat Backup HDD&SSD (without checking for errors)
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live union=overlay username=user hostname=Comp config quiet components noswap edd=on nomodeset nodmraid noeject locales=ru_RU.UTF-8 keyboard-layouts=NONE ocs_prerun="mount -L Ventoy /mnt" ocs_prerun1="mount --bind /mnt/Clonozilla_Backup /home/partimag" ocs_live_run="/usr/sbin/ocs-sr -q2 -j2 -z1 -i 4000 -sc -rm-win-swap-hib -scpt -sfsck -p poweroff savedisk ask_user sda" ocs_live_batch=no vga=788 ip= splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
ENDTEXT
Done !
Addition:
If you save Clonozilla image hdd to Ventoy usb, you need include this option in file ventoy.json, section "control":
"control":[
{ "VTOY_LINUX_REMOUNT": "1" },
otherwise, Ventoy won't let you write the file.
- \syslinux\isolinux.cfg (from to CSM mode bios)
- \boot\grub\grub.cfg (from to UEFI mode bios)
Exemple:
- grub.cfg:
menuentry "Auto Creat Backup HDD&SSD (without checking for errors)" {
search --set -f /live/vmlinuz
$linux_cmd /live/vmlinuz boot=live union=overlay username=user hostname=Comp config quiet components noswap edd=on nomodeset nodmraid noeject locales=ru_RU.UTF-8 keyboard-layouts=NONE ocs_prerun="mount -L Ventoy /mnt" ocs_prerun1="mount --bind /mnt/Clonozilla_Backup /home/partimag" ocs_live_run="/usr/sbin/ocs-sr -q2 -j2 -z1 -i 4000 -sc -rm-win-swap-hib -scpt -sfsck -p poweroff savedisk ask_user sda" ocs_live_batch=no vga=788 ip= splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
$initrd_cmd /live/initrd.img
}
- isolinux.cfg:
label Auto-Clone HDD
MENU DEFAULT
MENU LABEL Auto Creat Backup HDD&SSD (without checking for errors)
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live union=overlay username=user hostname=Comp config quiet components noswap edd=on nomodeset nodmraid noeject locales=ru_RU.UTF-8 keyboard-layouts=NONE ocs_prerun="mount -L Ventoy /mnt" ocs_prerun1="mount --bind /mnt/Clonozilla_Backup /home/partimag" ocs_live_run="/usr/sbin/ocs-sr -q2 -j2 -z1 -i 4000 -sc -rm-win-swap-hib -scpt -sfsck -p poweroff savedisk ask_user sda" ocs_live_batch=no vga=788 ip= splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
ENDTEXT
Done !
Addition:
If you save Clonozilla image hdd to Ventoy usb, you need include this option in file ventoy.json, section "control":
"control":[
{ "VTOY_LINUX_REMOUNT": "1" },
otherwise, Ventoy won't let you write the file.