DeaDSouL

joined 4 years ago
[–] DeaDSouL@fosstodon.org 1 points 1 week ago

@Lumiluz in the expert mode I believe it drops you into a terminal.
In cloning:
/path/to/image/dir is the disk where the cloned image should be saved to. (You need to mount it once you’re in terminal the)
sda is which disk should be cloned
In restoring:
It’s where the cloned image is living. (You need to mount it)
sda is the disk where the image should be restored to

[–] DeaDSouL@fosstodon.org 1 points 1 week ago* (last edited 1 week ago) (2 children)

@Lumiluz try these:

For cloning:
sudo ocs-sr -q2 -j2 -z1p -i 2000 -sc -p true savedisk /path/to/image/dir sda

For restoring:
sudo ocs-sr -g auto -e1 auto -e2 -r -j2 -icds -k1 restoredisk /path/to/image/dir sda

If it doesn’t work, try using the partition image mode instead of the whole disk block

[–] DeaDSouL@fosstodon.org 0 points 1 week ago* (last edited 1 week ago) (4 children)

@Lumiluz are you sure the hdd you want to restore the image on is the same size or larger that the one the image was cloned on?

Maybe playing with selected options when you’re creating the image would help?

Tbh, it was long time ago since my last time I used it.

[–] DeaDSouL@fosstodon.org 0 points 1 week ago (6 children)

@Lumiluz if I were you, I would:

  1. Install the desired distro on a physical hdd of my own.
  2. Add the user, do all the customization I would like him to have.
  3. Clone the whole disk into an image using #clonezilla.
  4. Write a custom bash script containing the needed command to restore that image.
  5. Send him both clonezilla live distro and the cloned image.

That would save you lots of headaches. I guess.