Bradley Odell - 2018-09-13
All this doesn't help. Whenever I create ISO it is booted with default settings and default menu items, IN SPITE OF THE FACT that syslinux.cfg in iso is modified. I see these default params on booting when I press e in GRUB: And even all the syslinux items are default. What the hell??? What am I doing wrong? I tried to create ISO by different.
I have been booting CloneZilla Live using UEFI for a while now and it's worked fine. I have been installing it to a USB drive with a customized grub.cfg file that adds menu options to run various OS installers. I was trying to use it to run an Ubuntu netinstall and soon realized I needed to boot the installer in legacy BIOS mode which I assumed meant that I needed to boot CloneZilla itself in BIOS mode. So I rebooted my system and selected the non-UEFI option in the boot menu but CloneZilla failed to boot. After some troubleshooting I realized that this was a pure GPT/EFI setup so I couldn't boot legacy, so I started working to make it support legacy booting...
I converted to using MBR with a FAT32 partition set as bootable and I used the makeboot.sh script to configure the MBR bootsector with syslinux and voila! it booted to syslinux in BIOS mode.
Unfortunately, syslinux has its own syslinux.cfg file so all of my custom configurations are not usable from this bootloader. I don't want to convert all my configurations over to this new syslinux format, so I thought to see if I can have syslinux run grub and I learned about this thing called 'chainloading'.
Unfortunately, syslinux has its own syslinux.cfg file so all of my custom configurations are not usable from this bootloader. I don't want to convert all my configurations over to this new syslinux format, so I thought to see if I can have syslinux run grub and I learned about this thing called 'chainloading'.
I found out that syslinux has this COM32 module called 'chain.c32' that allows it to run other bootloaders: https://www.syslinux.org/wiki/index.php?title=Comboot/chain.c32
I tried the 'file' and 'grub' options with the file /EFI/images/efiboot.img but it doesn't work.
After doing some research, it seems that grub has a core.img file but this file is not shipped with the CloneZilla zip file: https://www.gnu.org/software/grub/manual/grub/grub.html#Images
I tried the 'file' and 'grub' options with the file /EFI/images/efiboot.img but it doesn't work.
After doing some research, it seems that grub has a core.img file but this file is not shipped with the CloneZilla zip file: https://www.gnu.org/software/grub/manual/grub/grub.html#Images
It seems that grub is 'baked in' to the 'efiboot.img' or 'bootx64.efi' files in some way. I have searched the CloneZilla directory tree for any other grub files but it doesn't seem like any are available.
Are there other options for getting CloneZilla booting grub using one configuration from legacy BIOS mode and UEFI mode?
Thanks for reading,
Bradley
Bradley