Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Automatic clonezilla recovery
#2
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.
Reply


Messages In This Thread
Automatic clonezilla recovery - by SnowSimba - 05-12-2024, 05:33 AM
RE: Automatic clonezilla recovery - by jmax - 05-13-2024, 03:15 PM
RE: Automatic clonezilla recovery - by SnowSimba - 05-14-2024, 05:24 AM
RE: Automatic clonezilla recovery - by SnowSimba - 05-15-2024, 07:20 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)