Menu

Restore an Image to multiple pendrives in unattended mode

2019-09-25
2019-10-06
  • NARENDRA SHAHA

    NARENDRA SHAHA - 2019-09-25

    hi I'm Narendra.
    I am using Clonezilla live (version2.6.1) I wanted to restore the image from my on Pendrive to multiple pen drives. But this thing I want to do in Unattended/automatic mode. for that purpose, I have created one Pendrive which have 2 partitions. One contains Clonezilla bootable and another contains Image(which I want to restore on multiple pen drives) And by using this pendrive i want to restore image on multiple pendrives at one time.

    My problem is When i restore the image using this pendrive in manual mode (i.e without script) 1-2m disk option works well .But when i edit grub file to restore the same image it gives error regarding directory mounting.

    Edited part of my grub file is as below:
    menuentry "Electronica Pendrive Image Restoration"{
    search --set -f /live/vmlinuz
    linux /live/vmlinuz boot=live union=overlay username=user config components quiet noswap edd=on nomodeset locales= keyboard-layouts=NONE ocs_prerun="mount /dev/sdb5 /home/partimag" ocs_live_run="ocs-restore-mdisks --batch -p -g auto -e1 auto -e2 -r -j2 -p true MAST_IMG_PENDRIVE sda sdd sde sdc" ocs_live_extra_param="" ocs_live_keymap="NONE" ocs_live_batch="yes" ocs_lang="en_US.UTF-8" vga=788 ip= net.ifnames=0 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
    initrd /live/initrd.img
    }

    sdb5 is my pendrive and sda ,sdc,sdd,sde are the pendrives where i want to restore my image.In unattended mode

    Error Obtained: the directory /home/partimag/auto for inputed name does not exits!

    help me to restor image in unattended mode

     

Log in to post a comment.

MongoDB Logo MongoDB