View Single Post
Old 10-25-2013, 08:41 PM  
Golden Member
Join Date: May 2010
Location: NJ/NY
Posts: 1,577

Using Rufus 1.3.4 USB tool(GPT for UEFI + FAT + 64 kb+ clonezilla-live-20130819-raring-i386.iso or the amd64.iso as bootable disk using ISO Image), was able to boot to clonezilla GRUB screen (Ubuntu raring based), with secure boot disabled

haven't tested the functionality of clonezilla yet.... trying to load the ubuntu x64 13.10 ISO using the same settings above

EDIT: same settings with ubuntu 13.10 x64 doesn't work. Rufus won't load 13.10 x86 ISO to copy to USB (claiming it's not EFI enabled)

EDIT: ubuntu 13.04 x64 doesn't boot. 13.04 x86.iso is rejected by Rufus as non-EFI compatible

looks like clonezilla is doing something good... ISO:EFI\boot\bootia32.efi may be the key

EDIT: yep, copied bootia32.efi from the clonezilla amd64 to the USB prepped from 12.04.3 x64. Able to boot from USB, but it drops me straight back into grub cmd line

EDIT: Getting there... eventually

EDIT #∞: going to compile grub x86 efi properly from sources, instead of trying to hack clonezilla's version

EDIT Last one before going to bed

Using ubuntu 13.04 x64 raring.ISO

Using Rufus 1.3.4 USB tool(GPT for UEFI + FAT + 64 kb+ raring x64 as bootable disk using ISO Image)

Download grub2 sources for raring

apt-get install gcc bison flex

./configure --with-platform=efi --target=i386


#make GRUB EFI binary and mods

cd grub-core

../grub-mkimage -d . -o bootia32.efi -O i386-efi -p /boot/grub ntfs hfs appleldr boot cat efi_gop efi_uga elf fat hfsplus iso9660 linux keylayouts memdisk minicmd part_apple ext2 extcmd xfs xnu part_bsd part_gpt search search_fs_file chain btrfs loadbios loadenv lvm minix minix2 reiserfs memrw mmap msdospart scsi loopback

cp bootia32.efi to <USB DRIVE>/EFI/BOOT/
# might be missing some modules... but if i tried to compile all *.mod, I get an invalid stack frame during grub boot
// here is the version I built - compatible with ubuntu-13.04-desktop-amd64.iso

I can now boot to USB, Try Ubuntu.... X server doesn't start properly, gets dumped to ubuntu shell, but that's enough for today. need sleep

Last edited by paperwastage; 10-26-2013 at 12:37 AM.
paperwastage is offline   Reply With Quote