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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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
Already solved.
Thank you! And sorry for the inconvenience