Menu

Clonezilla live Recovery check partition size

Help
Alexander
2010-12-16
2013-04-05
  • Alexander

    Alexander - 2010-12-16

    Clonezilla live Recovery USB
    Hi there,
    i like to create a partition recovery stick - without user interaction.
    To do this - I replaced the "-c" with "-b" commands for no "Are you sure" prompts:

    append initrd=/live/initrd1.img boot=live config  noswap nolocales edd=on nomodeset noprompt ocs_live_run="ocs-live-restore" ocs_live_extra_param="-g auto -e1 auto -e2 -b -r -j2 -p true restoreparts wes7-partition sda1" ocs_live_keymap="NONE" ocs_live_batch="yes" ocs_lang="en_US.UTF-8" vga=788 ip=frommedia  nosplash

    This works fine, but the problem could be that a customer plugs this stick in his personal pc an and
    the personal partion will be deleted.
    My idea is now - that clonezilla check the exact partition size of sda1 to ensure the usb stick
    is plugged in the right pc.

    Is this possible?
    bye
    and thank you for this great product!

     
  • Steven Shiau

    Steven Shiau - 2010-12-21

    This is a good question. So you mean you are not sure if the sda1 is the right partition you want to restore?
    If so, maybe you can try to have a customized script to check that if it's sda1, sdb1, or…
    You can refer to:
    http://clonezilla.org/clonezilla-live/customized-clonezilla-live.php
    Some examples can be found in /opt/drbl/samples/

    Steven.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.