Hi,
I got 2 disks in my computer and each one has an image made by clonezilla.
Is it possible to restore both disks in one command?
I got a pxe menu and I'd like to make only one entry to restore the computer.
I tried to add ocs_live_run1 after the first ocs_live_run but it didn't work.
Thanks for your answers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's not what I'm trying to do.
I have 2 disks in my computer : 1 for OS, 1 for datas
I made 1 clonezilla image for each disk.
And I'd like to launch automatically a clonezilla restore that would :
restore my os disk with my clonezilla first image (os image)
restore my second disk with my second clonezilla image (data)
And all of that with a single command like :
/usr/sbin/ocs-r -g auto -e1 auto -e2 -c -r -j2 -p true restoredisk osimage sda dataimage sdb
Is it possible?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No, not with a single command. At least you have to have 2 commands:
/usr/sbin/ocs-r -g auto -e1 auto -e2 -c -r -j2 -p true restoredisk osimage sda
/usr/sbin/ocs-r -g auto -e1 auto -e2 -c -r -j2 -p true restoredisk dataimage sdb
Of couse, you can save these 2 comands in a script and run the script in a single command.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I got 2 disks in my computer and each one has an image made by clonezilla.
Is it possible to restore both disks in one command?
I got a pxe menu and I'd like to make only one entry to restore the computer.
I tried to add ocs_live_run1 after the first ocs_live_run but it didn't work.
Thanks for your answers
You can restore one image to multiple disks. Check this doc:
http://clonezilla.org/show-live-doc-content.php?topic=clonezilla-live/doc/03_One_image_to_multiple_disks
Steven.
It's not what I'm trying to do.
I have 2 disks in my computer : 1 for OS, 1 for datas
I made 1 clonezilla image for each disk.
And I'd like to launch automatically a clonezilla restore that would :
restore my os disk with my clonezilla first image (os image)
restore my second disk with my second clonezilla image (data)
And all of that with a single command like :
/usr/sbin/ocs-r -g auto -e1 auto -e2 -c -r -j2 -p true restoredisk osimage sda dataimage sdb
Is it possible?
No, not with a single command. At least you have to have 2 commands:
/usr/sbin/ocs-r -g auto -e1 auto -e2 -c -r -j2 -p true restoredisk osimage sda
/usr/sbin/ocs-r -g auto -e1 auto -e2 -c -r -j2 -p true restoredisk dataimage sdb
Of couse, you can save these 2 comands in a script and run the script in a single command.
Steven.