I usually worked with Norton Ghost but nowdays I'm having problems with some uEFI BIOS, so I have decided moving to Clonezilla. I've read documentation but I'm having some problems when trying to make an unattended bootable USB stick (16GB-only one FAT32 partition) with a complete disk image built in the same USB stick. Maybe someone can tell me where I'm wrong.
I'm using Debian based clonezilla-live-2.3.1-18 to create an image of the whole disk to clone (folder QiProfv2 -> 13GB). Then I use the option recovery-iso-zip to create a zip file for USB flash drive use. In this step I hoped Clonezilla reconfigure syslinux to make USB stick automatically restore image when I boot from USB stick.
All works fine...when I boot from USB stick in the GRUB menu appears modified options: *clonezilla live with img QiProfv2 (Default settings,VGA...)... but when I choose any option, Debian GUI appears and the process stops in desktop. Moreover, the only way I can restore the image using this USB stick is this: manually moving the image repository folder \home\partimag\QiProfv2 to the root of the pendrive and selecting the option "Clonezilla live to RAM" to be able to mount the USB stick to access the disk image file.
I'll appreciate someone can help me with these questions:
1) Is the procedure right??? I think I'm doing something wrong because I don't think recovery-iso-zip make a zip with built-in disk image in folder \home\partimag\QiProfv2 and I can't access it if I don't move it to root folder. In addition, I don't think all GRUB options are labeled "with img QiProfv2" if there is no default options checked when I select anyone.
2) I don't know why /syslinux/syslinux.cfg config is not working. I've checked boot parameters for Clonezilla live and modified them using -batch but always stops in Debian GUI. The syslinux config made by recovery-iso-zip process is this:
3) Is possible doing this process unattended? I’ve tried modifying syslinux parameters to run Clonezilla to RAM, then mount the image repository with ocs_prerun="mount /dev/sdc1 /home/partimag/” and finally begin the restore process but it doesn’t work. Any idea or an easier way to do this???
Thanks very much,
Javier
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As mentioned here, http://clonezilla.org/fine-print-live-doc.php?path=clonezilla-live/doc/99_Misc/00_live-boot-parameters.doc
For Clonezilla live booting from a uEFI machine, grub2 is used. Therefore the config file is /EFI/boot/grub.cfg.
It's not syslinux. Therefore you have to modify the file grub.cfg
The steps you have done for such an unattended restoring USB flash drive are correct. Not sure if you encounter a bug or not. Please modify grub.cfg then give it a try again.
If the problem still remains, please report. Thanks.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I usually worked with Norton Ghost but nowdays I'm having problems with some uEFI BIOS, so I have decided moving to Clonezilla. I've read documentation but I'm having some problems when trying to make an unattended bootable USB stick (16GB-only one FAT32 partition) with a complete disk image built in the same USB stick. Maybe someone can tell me where I'm wrong.
I'm using Debian based clonezilla-live-2.3.1-18 to create an image of the whole disk to clone (folder QiProfv2 -> 13GB). Then I use the option recovery-iso-zip to create a zip file for USB flash drive use. In this step I hoped Clonezilla reconfigure syslinux to make USB stick automatically restore image when I boot from USB stick.
All works fine...when I boot from USB stick in the GRUB menu appears modified options: *clonezilla live with img QiProfv2 (Default settings,VGA...)... but when I choose any option, Debian GUI appears and the process stops in desktop. Moreover, the only way I can restore the image using this USB stick is this: manually moving the image repository folder \home\partimag\QiProfv2 to the root of the pendrive and selecting the option "Clonezilla live to RAM" to be able to mount the USB stick to access the disk image file.
I'll appreciate someone can help me with these questions:
1) Is the procedure right??? I think I'm doing something wrong because I don't think recovery-iso-zip make a zip with built-in disk image in folder \home\partimag\QiProfv2 and I can't access it if I don't move it to root folder. In addition, I don't think all GRUB options are labeled "with img QiProfv2" if there is no default options checked when I select anyone.
2) I don't know why /syslinux/syslinux.cfg config is not working. I've checked boot parameters for Clonezilla live and modified them using -batch but always stops in Debian GUI. The syslinux config made by recovery-iso-zip process is this:
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live username=user config noswap edd=on nomodeset nodmraid noeject locales=en_US.UTF-8 keyboard-layouts=NONE ocs_live_run="ocs-live-restore" ocs_live_extra_param="-g auto -e1 auto -e2 -c -r -j2 -p choose restoredisk QiProfv2 sda" ocs_live_batch=yes vga=791 ip= quiet nosplash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
3) Is possible doing this process unattended? I’ve tried modifying syslinux parameters to run Clonezilla to RAM, then mount the image repository with ocs_prerun="mount /dev/sdc1 /home/partimag/” and finally begin the restore process but it doesn’t work. Any idea or an easier way to do this???
Thanks very much,
Javier
As mentioned here,
http://clonezilla.org/fine-print-live-doc.php?path=clonezilla-live/doc/99_Misc/00_live-boot-parameters.doc
For Clonezilla live booting from a uEFI machine, grub2 is used. Therefore the config file is /EFI/boot/grub.cfg.
It's not syslinux. Therefore you have to modify the file grub.cfg
The steps you have done for such an unattended restoring USB flash drive are correct. Not sure if you encounter a bug or not. Please modify grub.cfg then give it a try again.
If the problem still remains, please report. Thanks.
Steven.