Hi, I recently downloaded the latest version of iLinux OS for Intel/AMD systems (2.54 apparently). Given that the downloaded ZIP extracted to an IMG file, I used standard flashing software to write the image to a fast 128GB USB 3.1 flash drive. Unfortunately, it would appear the system does not have support for booting in UEFI mode.
The issue with this is that many modern systems require UEFI boot. Modern laptops, in particular, often have no Legacy BIOS / CSM support in their firmware. And for devices that do, enabling it often has undesired implications, such as messing up graphics support (particularly when using already poorly supported dGPUs such as NVIDIA), and the only fix for such issues is ensuring UEFI is on and Legacy/CSM support is OFF.
I studied the iLinux IMG file and realised that is a raw disk image consisting of a single ext4 partition which contains the iLinux operating system. Booting in Legacy is sufficient since the Legacy bootloader installs itself into the MBR, which is a reserved/hidden section of the disk. However, booting in UEFI mode requires an EFI system partition that is formatted to FAT or VFAT/FAT32.
Hybrid BIOS/UEFI support can be tricky on Debian-based systems, since their GRUB packages for Legacy BIOS and UEFI are mutually exclusive (not both "installable" on the same system using the APT/DPKG package manager - even though it IS possible to compile GRUB with support for both boot methods).
However, part of the GRUB software is a tool called grub-mkrescue`. This can create a standalone boot image (including an EFI executable) with an embedded configuration file. This could be a simple fix to enable UEFI support, since you can create an EFI boot image without needing to have both the Legacy and UEFI GRUB packages installed on the system, which, as previously mentioned, is not supported on Debian-based systems. In any case, you would simply create a static grub.cfg file which refers to the main ext4 iLinux partition (ideally using the UUID of that partition), and then sets the GRUB root on that partition, and launches vmlinuz (the kernel) and initrd.img (the initramfs) normally. I would highly recommend using this method to ensure UEFI support, since it is a requirement on many modern systems.
On a similar note, you can manually launch iLinux from the existing UEFI GRUB loader of a different distro installed on a different disk. You can press c` to get a GRUB command-line, then ls` to see supported disks. Identify the partition which is the iLinux filesystem, and make it the GRUB root by running (i.e.,) set root=(hd0,msdos1)`. Then you can launch iLinux by running linux /vmlinuz root=/dev/sda1` (replace sda1` with whichever disk is your drive containing iLinux), followed by initrd /initrd.img`, then finally run boot`. This is sufficient and manages to boot iLinux in UEFI mode. But as I'm sure you can understand, this is a clunky workaround, so having native UEFI support, optionally using the standalone EFI image method I discussed above, would make a substancial improvement to the iLinux system. If you can't implement this in the current version, I hope that you will take it into consideration for the next version of iLinux.
Thanks for reading.
