I have a dual boot laptop and want to simplify backups of the entire laptop disk to an external drive. I boot the clonezilla.iso using a Ventoy modified external hard drive. I believe that since I am not using grub to boot the clonezilla ive iso, that I will be modifying "Z:\boot\grub\grub.cfg". I have the iso mounted on Z:\ in windows.
I have done number of searched but most were too complicated for me and none used Ventoy, https://www.ventoy.net/en/index.html to boot the image.
The last two times I backed up with the live iso, I got this set of commands "to use the next time ..."
It's most likely a very simple solution. If I boot the live Clonezilla image, I don't understand how I can copy my script into the virtual booted live environment.
"Mount a working space as /home/partimag. You can use the command "prep-ocsroot" to help you to do that, or use mount command to mount that. E.g. run "mount /dev/sda1 /home/partimag" to use /dev/sda1 as the working dir. Copy the custom-ocs to dir /home/partimag."
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There are many ways you can do that, e.g.,
1. First put your script in your USB flash drive.
2. Setup the network configuration, e.g.,
sudo ocs-live-netcfg
then start ssh service by:
sudo systemctl start ssh
With that, you can scp the script to your Clonezilla live box.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was able to do it by booting Live using Ventoy on one connected USB hard drive, /dev/sdb.
I then copied my custom-ocs to the root of another USB harddrive, /dev/sdc1
mount /dev/sdc1 /home/partimg
cd /home/partimag
ocs-iso -g en_US.UTF-8 -k NONE -s -m ./custom-ocs
This created the backup img in the root of /dev/sdc1.
How could I sym link or --bind? , within my custom-ocs so the image is created in a folder of the device such as:
/WD4TB-DELL/DELL_BAKS/CloneZ ?
I'm trying to direct the backup iso to an ntfs folder location. My attempt at using a UNC path as I posted above, did not work. The image was still created in the root of /dev/hdb1.
Thanks Steven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
" the image is created in a folder of the device such as:
/WD4TB-DELL/DELL_BAKS/CloneZ ?"
If /WD4TB-DELL/DELL_BAKS/CloneZ is the samba file server you want to save, then you should use something like:
mount -t cifs /WD4TB-DELL/DELL_BAKS/CloneZ/ /home/partimag -o user="YOURACCOUNT"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Steve, appreciate your help, but this isn't working for me. I've decided to just save the images to the root of my drive and then move it after the operation has completed.
Thanks
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a dual boot laptop and want to simplify backups of the entire laptop disk to an external drive. I boot the clonezilla.iso using a Ventoy modified external hard drive. I believe that since I am not using grub to boot the clonezilla ive iso, that I will be modifying "Z:\boot\grub\grub.cfg". I have the iso mounted on Z:\ in windows.
I have done number of searched but most were too complicated for me and none used Ventoy, https://www.ventoy.net/en/index.html to boot the image.
The last two times I backed up with the live iso, I got this set of commands "to use the next time ..."
/usr/sbin/ocs-sr -q2 -c -j2 -z9p -i 0 -sfsck -scs -senc -p reboot savedisk 2025-08-17-09-img sda
Thanks
I do not quite understand... So what's your question or issue there?
Last edit: Steven Shiau 2025-08-31
It's most likely a very simple solution. If I boot the live Clonezilla image, I don't understand how I can copy my script into the virtual booted live environment.
"Mount a working space as /home/partimag. You can use the command "prep-ocsroot" to help you to do that, or use mount command to mount that. E.g. run "mount /dev/sda1 /home/partimag" to use /dev/sda1 as the working dir.
Copy the custom-ocs to dir /home/partimag."
There are many ways you can do that, e.g.,
1. First put your script in your USB flash drive.
2. Setup the network configuration, e.g.,
sudo ocs-live-netcfg
then start ssh service by:
sudo systemctl start ssh
With that, you can scp the script to your Clonezilla live box.
Thanks Steven, I'll try that.
I was able to do it by booting Live using Ventoy on one connected USB hard drive, /dev/sdb.
I then copied my custom-ocs to the root of another USB harddrive, /dev/sdc1
This created the backup img in the root of /dev/sdc1.
How could I sym link or --bind? , within my custom-ocs so the image is created in a folder of the device such as:
/WD4TB-DELL/DELL_BAKS/CloneZ ?
Thanks!
maybe //192..168.?.???/WD4TB-DELL/DELL_BAKS/CloneZ ?
"How could I sym link or --bind?" -> What did you mean by this?
I'm trying to direct the backup iso to an ntfs folder location. My attempt at using a UNC path as I posted above, did not work. The image was still created in the root of /dev/hdb1.
Thanks Steven
" the image is created in a folder of the device such as:
/WD4TB-DELL/DELL_BAKS/CloneZ ?"
If /WD4TB-DELL/DELL_BAKS/CloneZ is the samba file server you want to save, then you should use something like:
mount -t cifs /WD4TB-DELL/DELL_BAKS/CloneZ/ /home/partimag -o user="YOURACCOUNT"
Hi Steve, appreciate your help, but this isn't working for me. I've decided to just save the images to the root of my drive and then move it after the operation has completed.
Thanks