I have an "golden image" captured with clonezilla that works 100% when going through the steps manaully to restore the image from USB (bootable) to our new computers
but when I try to restore image to a computer I get error "The directory /home/partimage/Win10_21H2 for the inputed name does NOT exist! (image attached)
however on the USB in partition 2 (sda2 when viewed with fdisk) does have folder structure "home/partimag/Win10_21H2" so I am very confused?
Also, when looking at the drives through fdisk I seen the hard drive was listed as "nvme0n1" is there no way to simply say take "home/partimage/Win10_21H2" and just restore to first actual harddrive in the system??
I have an "golden image" captured with clonezilla that works 100% when going through the steps manaully to restore the image from USB (bootable) to our new computers
I want to make this process a 1 click process..
I have edited the grub.cfg with the following...
menuentry "Clonezilla live (TESTING)"{
search --set -f /live/vmlinuz
linux /live/vmlinuz boot=live union=overlay username=user config components quiet noswap edd=on nomodeset noeject locales="en_US.UTF-8" keyboard-layouts="NONE" ocs_prerun="mount /dev/sda2 /home/partimag" ocs_live_run="ocs-sr -g auto -e1 auto -e2 -c -r -j2 -k1 -p true restoredisk Win10_21H2 nvme0n1" ocs_live_extra_param="" ocs_live_batch="no" vga=788 toram=live,syslinux,EFI,boot,.disk,utils ip= net.ifnames=0 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
initrd /live/initrd.img
}
but when I try to restore image to a computer I get error "The directory /home/partimage/Win10_21H2 for the inputed name does NOT exist! (image attached)
however on the USB in partition 2 (sda2 when viewed with fdisk) does have folder structure "home/partimag/Win10_21H2" so I am very confused?
Also, when looking at the drives through fdisk I seen the hard drive was listed as "nvme0n1" is there no way to simply say take "home/partimage/Win10_21H2" and just restore to first actual harddrive in the system??
Seems alot of hoops to just automate this :(
Any suggestions or help would be MUCH appreciated
thanks
Jason