Menu

Restore partition image to partition fails

Help
2009-07-30
2013-04-05
  • John Griffin

    John Griffin - 2009-07-30

    Using "clonezilla-live-20090727-jaunty.iso"

    Created image of primary partition successfully. As a test, nuked the partition on source drive, and now attempting a restore. Restore fails with:

    /opt/drbl/sbin/ocs-funtions: line5581: /dev//dev/sdb: No such file or directory

    Source partition was on the second primary partition on an IDE drive. The image file stored on a USB drive.

    In looking at the /opt/drbl/sbin/ocs-functions script (line 5581) this section is installing MBR onto destination disk by:

    cat $DRBL_SCRIPT_PATH/kt/misc/fail-mbr.bin > /dev/$ihd

    the parameter 'ihd' is specified from value of 'target_hd', which is set to complete list of arguments for script at runtime by:
    target_hd="$*"

    Now need to track down who calls the /opt/drbl/sbin/ocs-functions script, so I can find why the value of  /dev/sdb is being passed in, as opposed to just sdb; since /dev is prepended to to it on line 5581. Could also be that line 5581 needs to be modified to not prepend /dev.

    Or maybe there is a newer version of clonezilla with this bug fixed.

    Any help would be appreciated.

     
    • Steven Shiau

      Steven Shiau - 2009-08-03

      Could you please post the command in green before Clonezilla wants you to confirm restoring ?
      We need to know the options where ocs-sr is running.
      Thanks.

      Steven.

       

Log in to post a comment.