Menu

Need support, can not manage to get clonezilla unattended autorestore image

Help
tellme
2016-05-09
2016-05-16
  • tellme

    tellme - 2016-05-09

    @all,

    I need some help, i try to unattend restore on a Lenovo S540
    I have an usb disk 2 partitions /sdb1 (clonezilla) and sdb2(image)
    laptop Bios is UEFI and OS=WIN10 restorepart to sda4

    last week i tried many times with my old familiair version clonezilla-live-2.4.2-10-i686-pae.iso but all disaster, so i read this weekend about the new version clonezilla-live-20160210-wily-i386.iso and it looks better then before but still i can not manage to get an unattended restore, please help

    i have tried following config:

    first try:
    menuentry "Clonezilla Unattended Restore"{
    search --set -f /live/vmlinuz
    fakebios
    linux /live/vmlinuz boot=live config noswap nolocales edd=on noeject nomodeset ocs_prerun="mount /dev/sdb2 /home/partimag" ocs_live_run="ocs-sr -g auto -e1 auto -e2 -b -r -j2 -p poweroff restoreparts 20160429-LENOVOS540W10-img sda4" 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
    }

    problem stock on Configuring console-data Don't touch keymap (OCS_KEYMAP ?)
    if i press enter then all go without interfering and restore is ok

    second try after reading this https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/38f88bb6/:

    menuentry "Clonezilla Unattended Restore"{
    search --set -f /live/vmlinuz
    fakebios
    linux /live/vmlinuz boot=live config noswap nolocales edd=on noeject nomodeset ocs_prerun="mount /dev/sdb2 /home/partimag" ocs_live_run="ocs-sr -g auto -e1 auto -e2 -b -r -j2 -p --batch poweroff restoreparts 20160429-LENOVOS540W10-img sda4" ocs_live_extra_param="" ocs_live_keymap="NONE" ocs_live_batch="yes" ocs_lang="en_US.UTF-8" vga=788 ip=frommedia nosplash
    initrd /live/initrd.img
    }

    same problem stock on Configuring console-data Don't touch keymap (OCS_KEYMAP ?)
    if i press enter then all go without interfering and restore is ok

    third try:

    menuentry "Clonezilla Unattended Restore"{
    search --set -f /live/vmlinuz
    fakebios
    linux /live/vmlinuz boot=live union=overlay config noswap nolocales edd=on noeject nomodeset ocs_prerun="mount /dev/sdb2 /home/partimag" ocs_live_run="ocs-sr -g auto -e1 auto -e2 -b -r -j2 -p -batch poweroff restoreparts 20160429-LENOVOS540W10-img sda4" 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
    }

    same problem stock on Configuring console-data Don't touch keymap (OCS_KEYMAP ?)
    if i press enter then it fails

    fourth try (removed ocs_live_keymap and ocs_lang:
    menuentry "Clonezilla Unattended Restore"{
    search --set -f /live/vmlinuz
    fakebios
    linux /live/vmlinuz boot=live union=overlay config noswap nolocales edd=on noeject nomodeset ocs_prerun="mount /dev/sdb2 /home/partimag" ocs_live_run="ocs-sr -g auto -e1 auto -e2 -b -r -j2 -p --batch poweroff restoreparts 20160429-LENOVOS540W10-img sda4" ocs_live_extra_param="" ocs_live_batch="no" vga=788 ip=frommedia nosplash
    initrd /live/initrd.img
    }

    problem stock on choose language
    if i press enter then it fails with a black screen

    looks like union=overlay is no success for me....
    any idea and help realy appreciated (should i try another version maybe, the system is intel based)

    THX

     
    • tellme

      tellme - 2016-05-11

      anybody .... who knows how to skip the Configuring console-data screen so automatic restore will be without user intervention, clonezilla version: clonezilla-live-20160210-wily-i386.iso ????

      menuentry "Clonezilla Unattended Restore"{
      search --set -f /live/vmlinuz
      fakebios
      linux /live/vmlinuz boot=live config noswap nolocales edd=on noeject nomodeset ocs_prerun="mount /dev/sdb2 /home/partimag" ocs_live_run="ocs-sr -g auto -e1 auto -e2 -b -r -j2 -p poweroff restoreparts 20160429-LENOVOS540W10-img sda4" 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
      }

      problem stock on Configuring console-data Don't touch keymap (OCS_KEYMAP ?)
      if i press enter then all go without interfering and restore is ok

       

      Last edit: tellme 2016-05-11
  • Steven Shiau

    Steven Shiau - 2016-05-15

    Did you check this page?
    http://clonezilla.org/fine-print-live-doc.php?path=./clonezilla-live/doc/99_Misc/00_live-boot-parameters.doc#00_live-boot-parameters.doc
    For keymap, you can use somehting like:
    keyboard-layouts=en
    or
    keyboard-layouts=fr

    For language, you can use something like:
    locales=en_US.UTF-8

    Steven

     
    • tellme

      tellme - 2016-05-16

      Hi Steven, thanks for the hint, i will look at your advice ! THX !

       

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.