First you need to edit /etc/grub.d/40_custom file and add a new entry to Grub:
menuentry "Clonezilla" {
insmod loopback
set root='hd1,msdos1'
search --no-floppy --fs-uuid --set=root f57f489f-740a-4238-a1b9-e3e5665aaaaa
set iso="/root/clonezilla.iso"
loopback loop $iso
linux (loop)/live/vmlinuz boot=live config union=aufs noswap noprompt ip=frommedia toram=filesystem.squashfs findiso=$iso
initrd (loop)/live/initrd.img
}
where hd1,msdos1 is root partition (sda2) and f57f489f-740a-4238-a1b9-e3e5665aaaaa is UUID of sda2 root partition.
Generate new grub.cfg:
grub-mkconfig -o /boot/grub/grub.cfg
and copy clonezilla.iso into /root/ folder. You should now have Clonezilla entry in grub menu and be able to boot it.
No comments:
Post a Comment