Menu

Issues restoring an image from Live USB

Help
Leo
2017-11-22
2017-12-21
  • Leo

    Leo - 2017-11-22

    Hi guys,

    I'm trying to restore an image from a usb key to the first HDD (sda) of my workstation.

    On the USB key, I setup the below configuration:
    - Part 1 (fat): Clonezilla live files (clonezilla-live-2.5.2-31-amd64)
    - Part 2 (ext2): Image files

    I boot on the usb key afterlaunching Clonezilla, I choose:
    -device-device
    -disk_to_local_disk
    then, I select my source disk, which is the second partition on my USB stick containing clonezilla image.
    I choose the target disk: sda.
    I skiped checking /repairing source file system.
    I launched the restore.

    when it tries to create the partition on hte target machine, I got the following message:

    /usr/sbin/ocs-onthefly: line328: /usr/bin/dirname : Intpu/Output error
    grep: /tgt-pt.parted: no such file or directory
    (standard_in) 1: syntax error
    Disk() size from image not found.
    Program terminated!!
    "ocs-live-general" finished with error!

    in case of: previously, I used to restore this image thru the network and it worked well..
    Where did I do make a mistake?
    Did anybody already face this error? How can I work around this problem?
    thanks in advance for you help!

     
  • Steven Shiau

    Steven Shiau - 2017-11-26

    " Intpu/Output error" -> Is this hardware issue?
    Are you able to reproduce this issue on different hardware?

    Steven

     
  • Leo

    Leo - 2017-11-27

    Hi Steven,
    after some trials, it appears that the issue "came" from my USB key.
    in order to map my second partition where is located the image to restore (source folder), I had to unplug my USB stick otherwise Clonezilla does not see it. it made a mess, Clonezilla was lost..

    as alternative I mounted manually my second partition with /home/partimag before saving and it seems working well.
    I would like to avoid this workaround. do you have any suggestions to have the second partition recognized?
    thanks!

     

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.