I would like to run Clonezilla's ISO with GRUB2 but I can't find out what I'm doing wrong.
I followed the instructions at http://clonezilla.org/clonezilla-live/livehd.php and I added in my "/etc/grub.d/40_custom" file the following:
"
menuentry "Clonezilla live (Backup)" {
set isofile="/home/alain/Isos/clonezilla-live-1.2.5-17-amd64.iso"
loopback loop $isofile
linux (loop)/live/vmlinuz boot=live union=aufs nolocales noprompt vga=788 ip=frommedia toram=filesystem.squashfs findiso=$isofile
initrd (loop)/live/initrd.img
}
"
Then I run "update-grub2" to update your grub2 config, but when GRUB2 loads there's no Clonezilla entry (but only the Ubuntu 10.04 and Windows OS installed).
I installed clonezilla-live-1.2.5-17-amd64.iso since I have a 64bit processor (Intel E8500) which is located in "/home/alain/Isos/"
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I really don't know why, but now it works (I'm blushing, but I don't even know what was wrong).
Anyhow, even if it's of no use now, I am posting grub.cfg anyway.
## DO NOT EDIT THIS FILE## It is automatically generated by /usr/sbin/grub-mkconfig using templates# from /etc/grub.d and settings from /etc/default/grub#### BEGIN /etc/grub.d/00_header ###if[-s$prefix/grubenv];thenload_envfisetdefault="0"if[${prev_saved_entry}];thensetsaved_entry=${prev_saved_entry}save_envsaved_entrysetprev_saved_entry=save_envprev_saved_entrysetboot_once=truefifunctionsavedefault{if[-z${boot_once}];thensaved_entry=${chosen}save_envsaved_entryfi}functionrecordfail{setrecordfail=1if[-n${have_grubenv}];thenif[-z${boot_once}];thensave_envrecordfail;fi;fi}insmodext2setroot='(hd1,7)'search--no-floppy--fs-uuid--setcd1b2614-9f2f-4a10-8b11-926c6d55d9c0ifloadfont/usr/share/grub/unicode.pf2;thensetgfxmode=1024x768insmodgfxterminsmodvbeifterminal_outputgfxterm;thentrue;else# For backward compatibility with versions of terminal.mod that don't# understand terminal_outputterminalgfxtermfifiinsmodext2setroot='(hd1,7)'search--no-floppy--fs-uuid--setcd1b2614-9f2f-4a10-8b11-926c6d55d9c0setlocale_dir=($root)/boot/grub/localesetlang=itinsmodgettextif[${recordfail}=1];thensettimeout=-1elsesettimeout=5fi### END /etc/grub.d/00_header ###### BEGIN /etc/grub.d/05_debian_theme ###insmodext2setroot='(hd1,7)'search--no-floppy--fs-uuid--setcd1b2614-9f2f-4a10-8b11-926c6d55d9c0insmodtgaifbackground_image/boot/grub/amazing-black_1024x768.tga;thensetcolor_normal=white/blacksetcolor_highlight=magenta/blackelsesetmenu_color_normal=white/blacksetmenu_color_highlight=black/light-grayfi### END /etc/grub.d/05_debian_theme ###### BEGIN /etc/grub.d/40_custom #### This file provides an easy way to add custom menu entries. Simply type the# menu entries you want to add after this comment. Be careful not to change# the 'exec tail' line above.echo"Adding Windows Operating Systems to GRUB 2 menu">&2cat<<EOFmenuentry"Windows Operating Systems (XP & Seven)"{setroot=(hd0,1)chainloader(hd0,1)+1}menuentry'Ubuntu 10.04 - Linux'--classubuntu--classgnu-linux--classgnu--classos{recordfailinsmodext2setroot='(hd1,7)'search--no-floppy--fs-uuid--setcd1b2614-9f2f-4a10-8b11-926c6d55d9c0linux/boot/vmlinuz-2.6.32-22-genericroot=UUID=cd1b2614-9f2f-4a10-8b11-926c6d55d9c0roquietsplashinitrd/boot/initrd.img-2.6.32-22-generic}menuentry'Ubuntu 10.04 - Linux (modalità ripristino)'--classubuntu--classgnu-linux--classgnu--classos{recordfailinsmodext2setroot='(hd1,7)'search--no-floppy--fs-uuid--setcd1b2614-9f2f-4a10-8b11-926c6d55d9c0echo'Caricamento Linux 2.6.32-22-generic...'linux/boot/vmlinuz-2.6.32-22-genericroot=UUID=cd1b2614-9f2f-4a10-8b11-926c6d55d9c0rosingleecho'Caricamento ramdisk iniziale...'initrd/boot/initrd.img-2.6.32-22-generic}menuentry"Clonezilla live (Backup)"{setisofile="/home/alain/Isos/clonezilla-live-1.2.5-17-amd64.iso"loopbackloop$isofilelinux(loop)/live/vmlinuzboot=liveunion=aufsnolocalesnopromptvga=788ip=frommediatoram=filesystem.squashfsfindiso=$isofileinitrd(loop)/live/initrd.img}EOF### END /etc/grub.d/40_custom ###
Thanks for your time and I'm sorry that I made you waste some time reading this thread.
Have a great day.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would like to run Clonezilla's ISO with GRUB2 but I can't find out what I'm doing wrong.
I followed the instructions at http://clonezilla.org/clonezilla-live/livehd.php and I added in my "/etc/grub.d/40_custom" file the following:
"
menuentry "Clonezilla live (Backup)" {
set isofile="/home/alain/Isos/clonezilla-live-1.2.5-17-amd64.iso"
loopback loop $isofile
linux (loop)/live/vmlinuz boot=live union=aufs nolocales noprompt vga=788 ip=frommedia toram=filesystem.squashfs findiso=$isofile
initrd (loop)/live/initrd.img
}
"
Then I run "update-grub2" to update your grub2 config, but when GRUB2 loads there's no Clonezilla entry (but only the Ubuntu 10.04 and Windows OS installed).
I installed clonezilla-live-1.2.5-17-amd64.iso since I have a 64bit processor (Intel E8500) which is located in "/home/alain/Isos/"
Thanks.
No one? :)
So what's the content of /boot/grub/grub.cfg?
Steven.
I really don't know why, but now it works (I'm blushing, but I don't even know what was wrong).
Anyhow, even if it's of no use now, I am posting grub.cfg anyway.
Thanks for your time and I'm sorry that I made you waste some time reading this thread.
Have a great day.
No problem. Please let us know if you encounter the problem again.
Enjoy!
Steven.
Sure, I will.
Thanks again.