Menu

in ocs_live_run way, as I do so I ask for destination disk

Flako
2014-04-07
2014-04-24
  • Flako

    Flako - 2014-04-07

    Hello
    I'm using clonezilla-live-2.2.0-31-i486 I have tried to conduct a restoredisk unattended.
    I need everything to be unattended, except the selection of the image and the destination disk.
    I'm using the same USB flash drive to start clonezilla (sdx1) and partimag (sdx2)

    the line I'm using is:

    append initrd=/live/initrd.img boot=live config noswap nolocales edd=on nomodeset noprompt ocs_live_run="" ocs_live_extra_param="" keyboard-layouts=NONE ocs_live_batch="no" locales="es_ES.UTF-8" vga=788 ip=frommedia nosplash ocs_prerun="mount -t vfat -o codepage=866 /dev/disk/by-label/CLONEHOME /mnt" ocs_prerun1="mount --bind /mnt/ /home/partimag/" ocs_live_run="ocs-sr -g auto -e1 auto -e2 -c -r -j2 -p true -k1 restoredisk ask_user"

    I question correctly the name of the image, but I did not ask for the destination disk.
    Try to fix it with the name 'sda' in ocs_live_batch but I've noticed that the linux does not always name the destination disk as sda, so I need that prompted the user to select it ..

    from what I read with the help of 'ask_user' I should ask .. I'm doing something wrong ..
    This I missing?

    thanks

     
  • Steven Shiau

    Steven Shiau - 2014-04-10

    Try:
    ocs_live_run="ocs-sr -g auto -e1 auto -e2 -c -r -j2 -p true -k1 restoredisk ask_user ask_user"
    as described here:
    http://clonezilla.org/advanced/researved-word-ocs-sr.php

    Steven.

     
  • Flako

    Flako - 2014-04-11

    Thanks Steven
    Now go to the "ask_user ask_user" (I had tried, but I guess something else failed), qe me fault is with the option "-k1" (fails to create the partition by then not continuous, will be another post).
    After better understanding, use the ocs-sr parameters that are saved in clonezilla.log, leave as ocs_live_run="ocs-sr -g auto -e1 auto -e2 -c -r -j2 -p true restoredisk ask_user ask_user"

     
  • Steven Shiau

    Steven Shiau - 2014-04-24

    :)
    Enjoy!

    Steven.

     

Log in to post a comment.