site  contact  subhomenews

Testing Limine Installer on a UEFI computer

July 24, 2022 — BarryK

Yesterday I posted testing Limine Installer on a BIOS computer:

Today I have tested the Installer on my Mele mini-PC, which has UEFI-firmware. I have posted about the Mele many times, such as here:

The internal eMMC flash memory has Windows 10, and /dev/mmcblk0p1 is the ESP boot partition for Windows.
I left that drive alone, as-is. Back in 2017, I bought a 240GB Kingston SSD and installed EasyOS to it, simply by using 'dd' to write the 'easy-*.img' file to the SSD.

The SSD then had a vfat ESP boot partition, with the rEFInd bootloader, and a second ext4 partition which is the working partition where EasyOS is installed.

The great advantage of having the rEFInd booloader in its own separate ESP partition, is just need to press the hot-key at power-on to run UEFI-setup and choose to boot from the SSD. The eMMC drive is untouched, pristine. So, at anytime in the future could change the UEFI-Setup back to booting eMMC -- in fact that would happen automatically if physically remove the SSD.

Today I booted up EasyOS on a USB-stick and ran Limine Installer. There is no actual need to do this, just doing it as a test. The previous rEFInd bootloader is going to get replaced by Limine. I ran 'limine-installer' in a terminal, so as to see any error massages. First window:

img1 expected, Windows 10 on the eMMC drive and EasyOS on the SSD (/dev/sda). It shows "sda2" which is the second partition where EasyOS is installed. Click the "GENERATE" button:


...I clicked on "sda1" which is the boot partition of the SSD. Do not want to touch the eMMC drive. Click on "INSTALL":


...if Limine had been installed into a ESP partition shared with other bootloaders, such as GRUB2, this sanity-check window would review the situation before a final install step. However, in this case, Limine has already supplanted the original bootloader. But, as noted above, it is easy to revert, back to rEFInd or whatever. Final window:


As the window says, that's it, installed.

For anyone who might be interested, here is the content of 'limine.cfg':


:EasyOS Dunfell64 (partition sda2, path easyos)
COMMENT=EasyOS bootup
KERNEL_CMDLINE=rw wkg_uuid=41e4e492-f6a0-11ec-9a02-287fcfeb4376 wkg_dir=easyos

:Windows 10
COMMENT=Windows bootup

...note, the "guid://..." URI hasn't been used for EasyOS, as the SSD has an MBR, not a GPT.    

Tags: easy