Menu

No space left on device & Unable to find target hard drive

Help
Con
2013-11-21
2013-11-26
  • Con

    Con - 2013-11-21

    Hi,

    I will be grateful if somebody could help me with an issue.

    Before my PC died, I used Clonezilla Live 2.1.2-43 to save an image of a non-OS partition (just private data) of the main disk. Now I am trying to restore that image to another partition in an external hard disk with a different computer, but I don't succeed.

    Since image source was sda5 and new destination is sdb2, this is what I did:
    1) Made a copy of the image (using Windows file manager)
    2) Renamed (using Windows command prompt) all the files sda5. in the image folder into sdb2.
    3) Modified (using WordPad) the content of file parts (sda5 by sdb2)
    4) Booted with Clonezilla
    5) In Beginners mode, mounted the image and used the command "sudo cnvt-ocs-dev -d /home/partimag DATA sda sdb"
    6) Restarted Clonezilla to restore partition

    That's how far I got. Clonezilla doesn't perform the operation displaying the following messages:
    A) ".rget disk sdb does not exist in the image saved from disk(s) "sdb2
    Creating a tmp Clonezilla image "DATA-tmp-cnvted" based on the image "DATA" so that we can restore t) to sdb...TA (was saved from sdb2
    B) Creating a temporary image based on image DATA...
    * was not found! Skip this!
    cp: error writing './sdb2.dd-img.ab': No space left on device
    cp: failed to extend './sdb2.dd-img.ab': No space left on device
    cat: write error: No space left on device
    C) Unable to find target hard drive: "sdb"!!!

    I am restoring from 710GB partition sdb3, while sdb2 size is 700 GB, same size sda5 had. Tried from two computers, one with 4GB RAM and the other one with 8GB.

    Thanks for helping.

     
  • Fuchs

    Fuchs - 2013-11-21

    A simple answer for your task. Look for
    'how to restore a saved partition image to a different device?' in Clonezilla Help.

    And use the sda5 (repository partition) and sdb2 (new partition) only
    with clonezilla live 2.1.2-20-[i686-pae] or elder (because of changes in the upper directory of new versions).

     
    • Con

      Con - 2013-11-24

      Hi Fuchs,

      Thank you very much for your reply.

      I found the solution you posted on http://sourceforge.net/p/clonezilla/discussion/Help/thread/60d23648/ but I got stuck again. This is what I did: I downloaded version 2.1.2-20-i686-pae of Clonezilla Live. Since I could not find any software that would allow me to modify the ISO version, I downloaded the ZIP version, introduced your file "diffpart.sh" in the folder "live" and added the string "ocs_prerun7="/live/image/diffpart.sh" at the end of the "append" line under "label Clonezilla live" in the file "isolinux.cfg".

      My questions:
      1) Did I do it correctly? If not, what was wrong?
      2) How do I make a new bootable CD/USB (cound't find any working software)?

      Thanks for your help and patience

       
  • Con

    Con - 2013-11-24
     

    Last edit: Con 2013-11-24
  • Fuchs

    Fuchs - 2013-11-26

    The zip version is the right one. Here can you change the /syslinux/syslinux.cfg (not isolinux).
    Only the 'diffpart.sh' should be in the upper directory, not in /live:
    EFI
    EFI-imgs
    isolinux
    live
    sylinux
    utils
    diffpart.sh
    Clonezilla-Live-Version
    :

    In Google search can you find e.g
    https://help.ubuntu.com/community/Boot-Repair

    Good luck!

     

Log in to post a comment.