I needed an EFI compliant x86_64 TC environment bootable on Mac's while compiling Mac device drivers
So a USB thumb drive was partitioned (sdb1) using FAT32 mainly for the EFI boot loader (grub2) and recovery tools. In that small first partition is installed a minimal x86_64 (core64) TC installation with Windows manager and basic tools for boot recovery and provide access to the main x86_64 driver compile environment partition. Also installed here are both core64 and corepure64 kernels along with Grub2.
The remainder of the USB thumb drive (sdb2) is formatted using EXT2, containing separate tce and optional (tcz) directories for each core64 and corepure64 compile platforms.
Partitioning the USB Thumb-drive
Creating the multi boot TC environment
At the heart of this system is Grub2 config which contains
## grub2 configuration
loadfont unicode
insmod efi_gop
set gfxterm=auto
terminal_output gfxterm
#Timeout for menu
set default=0
set timeout=3
#FrameBuffer Menu Entry
menuentry " EFI Desktop Ext2 core64 " {
linux /boot/linux64/vmlinuzEFI64 loglevel=3 waitusb=10:LABEL=DEV1 VGA=792 noswap tz=GMT tce=UUID="04b4a5c8-b8f8-48f1-8fcd-ef30bb6ee768"/core64/tce home=UUID="04b4a5c8-b8f8-48f1-8fcd-ef30bb6ee768"
initrd /boot/linux64/core64.gz
}
#FrameBuffer Menu Entry
menuentry " EFI Desktop Ext2 corepure64 " {
linux /boot/linux64/vmlinuzEFI64 loglevel=3 waitusb=10:LABEL=DEV1 vga=0x318 noswap tz=GMT tce=UUID="04b4a5c8-b8f8-48f1-8fcd-ef30bb6ee768"/corepure64/tce
initrd /boot/linux64/corepure64.gz
}
#FrameBuffer Menu Entry
menuentry " EFI Desktop Mode FAT32 (boot recovery) " {
linux /boot/linux64/vmlinuzEFI64 loglevel=3 waitusb=10:LABEL=DEV1 VGA=792 noswap tz=GMT tce=UUID="520D-544A"
initrd /boot/linux64/core64.gz
}
#Text Mode Menu Entry
menuentry " EFI Text Mode FAT32 (boot recovery minimal noapic) " {
linux /boot/linux64/vmlinuzEFI64 loglevel=3 waitusb=10:LABEL=DEV1 noswap text tz=GMT tce=UUID="520D-544A" noapic nolapic
initrd /boot/linux64/core64.gz
}
more coming... (pictures etc)