Is it possible to boot Clonezilla iso from a partition created on a Virtualbox VM? I'm working on a project where I'm testing some GRUB entries, and one such entry is related to Clonezilla, which should boot from a partition. Later on from this project the configuration will be deployed on a phisical system.
I'm aware that the iso is very easy to boot on a virtual machine, but for this project I'm working on a VM and now it bugs me that I don't understand why it gets stuck at boot.
Thank you for your reply. I did used it, but unfortunately the exemples from the documentation did not worked for me. After a lot of trial and error I managed to figure it out, it worked only when I added the hard drive and partition where the iso was located(hd1,1).
I tried the solution hinted by Phil Webster and also the one that should work thanks to the grml patches, but with no luck, the iso was not booting, wither it was not found or in the best scenario the process started but finished with an error that was no bootable file system found.
Hi,
Is it possible to boot Clonezilla iso from a partition created on a Virtualbox VM? I'm working on a project where I'm testing some GRUB entries, and one such entry is related to Clonezilla, which should boot from a partition. Later on from this project the configuration will be deployed on a phisical system.
I'm aware that the iso is very easy to boot on a virtual machine, but for this project I'm working on a VM and now it bugs me that I don't understand why it gets stuck at boot.
I added a new entry in /etc/grub.d/40_custom:
menuentry "clonezilla-live" {
myroot="/dev/sdb1"
ISO="/clonezilla-live-2.6.4-10-amd64.iso"
search --set -f $ISO loopback loop $ISO linux (loop)/live/vmlinuz root=$myroot boot=live union=overlay username=user config components noswap edd=on nomodeset locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch="no" vga=791 ip= net.ifnames=0 splash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1
initrd (loop)/live/initrd.img }
I removed quiet option in order to have a some verbosity but the boot fails, it ends with:
"Unable to find a medium containing a live file system"
Note: /dev/sdb1 is an ext2 partition I created on a separate virtual drive.
Thank you
Please check this:
https://clonezilla.org/livehd.php
Steven
Thank you for your reply. I did used it, but unfortunately the exemples from the documentation did not worked for me. After a lot of trial and error I managed to figure it out, it worked only when I added the hard drive and partition where the iso was located(hd1,1).
I tried the solution hinted by Phil Webster and also the one that should work thanks to the grml patches, but with no luck, the iso was not booting, wither it was not found or in the best scenario the process started but finished with an error that was no bootable file system found.
If it helps I will post my succesfull setup:
menuentry "clonezilla" {
insmod part_msdos
set isofile="/clonezilla-live-2.6.4-10-amd64.iso"
loopback loop (hd1,1)$isofile
linux (loop)/live/vmlinuz nomodeset boot=live live-config edd=on ocs_live_run=\"ocs-live-general\" ocs_live_extra_param=\"\" keyboard-layouts=\"us\" ocs_live_batch=\"no\" locales=\"en_US.UTF-8\" ip=frommedia toram=filesystem.squashfs findiso=$isofile
initrd (loop)/live/initrd.img
}
So does Clonezilla live 2.6.5-19 also fails in "Unable to find a medium containing a live file system"?
Steven
I didn't tried 2.6.5-19, I used only stable versions. When I will have some spare time I will give it a try.