DeaDSouL

joined 4 years ago
[–] DeaDSouL@fosstodon.org 1 points 7 months ago* (last edited 7 months ago) (1 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 7 months ago* (last edited 7 months ago) (3 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 7 months ago (5 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.