Menu

Error in unattend auto restore image to mmcblk0 disk UEFI HP Tablet Win 8

tellme
2015-02-10
2015-02-22
  • tellme

    tellme - 2015-02-10

    @all,

    I have formatted an 32 GB USB stick complete with fat32 and installed the following clonezilla version:
    clonezilla-live-2.3.1-18-i686-pae.iso

    i have a tablet win 8 HP UEFI and i want to make an autorestore from the disk image i created: W8TBLMERCH201502-img.

    First i made the backup W8TBLMERCH201502-img to a NAS
    Then on the usb disk i created a /home/partimag directory and copied the W8TBLMERCH201502-img files in that directory.
    When i restore the image manually i got following notification from clonezilla:
    /usr/sbin/ocs-sr -g auto -e2 -c -r -j2 -p true restoredisk W8TBLMERCH201502-img mmcblk0

    To make it unattended i assume i use grub 2 so i edit this file /EFI/boot/grub.cfg and placed at first menu item following:

    menuentry "Clonezilla Unattended Restore"{
    search --set -f /live/vmlinuz
    fakebios
    linux /live/vmlinuz boot=live config noswap nolocales edd=on nomodeset ocs_live_run="ocs-sr -batch -g auto -e1 auto -e2 -r -j2 -k -p true restoredisk W8TBLMERCH201502-img mmcblk0" ocs_live_extra_param=" "ocs_live_keymap="NONE" ocs_live_batch="no" ocs_lang="en_US.UTF-8" vga=788 ip=frommedia nosplash
    initrd /live/initrd.img
    }

    I have tried many other combinations but i keep stuck on the field Configuring console-data
    Then i select don't touch keymap
    Then i see clonezilla tries to run the command:
    The jobs in /etc/ocs/ocs-live.d/ are finished. Start "ocr-sr -batch -g auto -e1 auto -e2 -r -j2 -k -p true restoredisk W8TBLMERCH201502-img mmcblk0" now.
    Starting /usr/sbin/ocs-sr at 2015-02-10 13:23:29 UTC...


    Clonezilla image dir: /home/partimag


    Do NOT create partition table on the client harddisk !
    Shutting down the Logical Volume Manager
    No Volume groups found
    Finished shutting down the Logical Volume Manager
    <red>The directory /home/partimag/W8TBLMERCH201502-img for the inputed name does not exist!
    Program terminated !!!
    <red>"ocr-sr -batch -g auto -e1 auto -e2 -r -j2 -k -p true restoredisk W8TBLMERCH201502-img mmcblk0" finished with error!
    Check var/log/clonezilla.log for more details</red></red>

    clonezilla.log:
    Starting /usr/sbin/ocs-sr at 2015-02-10 13:23:29 UTC...


    Clonezilla image dir: /home/partimag
    Shutting down the Logical Volume Manager
    Finished shutting down the Logical Volume Manager
    The directory /home/partimag/W8TBLMERCH201502-img for the inputed name does not exist!
    Program terminated !!!

    Any input would be great, thanks !

     
  • Steven Shiau

    Steven Shiau - 2015-02-12

    In your grub config, you should mount your image repository on NAS, like:
    ocs_prerun="mount -t nfs 192.168.200.254:/work/exp /home/partimag"
    (assuming your NAS provides NFS service, and its IP address is 192.168.200.254)
    Then you should have the image in /home/partimag/ .

    Steven.

     
  • tellme

    tellme - 2015-02-16

    Hi Steven,

    thanks for reply, i have manage to create the bootable image following this tutorial:
    http://alltutorials.org/creating_an_unattended_disk_cloning_solution_using_clonezilla_and_usb_stick/

    Before i could restore the win7 images on laptop from 1 partition on usb created in the /home/partimag directory, now that doesn't work anymore.
    With the 2 partitions i mount the partition with the image and that works also perfect.
    Great challange to create a 2 partition usb stick, with the tool 'dummydisk-setup.exe' it was possible to create physical hdd partiotions from the usb stick.

    Thanks for reply and your kindness *
    Tellme

     
  • Steven Shiau

    Steven Shiau - 2015-02-22

    OK. So now it works there, no more problem, right?

    Steven.

     

Log in to post a comment.

MongoDB Logo MongoDB