Menu

Recovery partition

Help
David
2017-04-05
2017-04-05
  • David

    David - 2017-04-05

    Hello,

    I've been trying to create a recovery partition on my hard drive with clonezilla.

    I created the image of the system partition only, and then I created a recovery image with the option offered by clonezilla.

    Once I have the image I wanted to make the grub2 installed on the hard disk to run, the image is stored in a partition that is not used and I have entered these parameters.

    menuentry "Recuperacion del sistema Debian" {
    set root=(hd1,1)
    set isofile="/clonezilla-live-2017-04-04-18-img.iso"
    loopback loop $isofile
    linux (loop)/live/vmlinuz boot=live union=overlay username=user config components quiet noswap edd=on nomodeset noeject locales=es_ES.UTF-8 keyboard-layouts=es ocs_live_run="ocs-live-restore" ocs_live_extra_param="-g auto -e1 auto -e2 -c -r -j1 -j2 -cm -cs -cmf -srel -p poweroff restoreparts 2017-04-04-18-img sda1" ocs_live_batch="no" locales= vga=788 ip=frommedia quiet nosplash findiso=$isofile
    initrd (loop)/live/initrd.img
    }

    But for some reason when starting the entry from grub2 all parameters are skipped starting clonezilla-live without running the restore automatically, but if I start the iso from a pendrive without using grub2 if it works perfectly. I have read the clonezilla manual and searched the forum but can not find the possible solution.

    How could I create a recovery partition that when starting from grub2 restore the system partition?

    Regards.

     
  • Steven Shiau

    Steven Shiau - 2017-04-15

    So when you say it does not start automatically, please enter command line prompt, then run:
    cat /proc/cmdline
    Please post the results.
    Thanks.

    Steven

     
  • David

    David - 2017-05-07

    Already solved.
    Thank you! And sorry for the inconvenience

     

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.