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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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.