Script convert limine.cfg to limine.conf
I posted earlier that the latest Limine bootloader has been patched to support ext2/3/4:
https://bkhome.org/news/202602/limine-1070-patched-to-support-ext4.html
The next release of EasyOS will have limine 10.7.0, but that is
going to be a problem for those of us who will be updating an
existing installation, internal frugal or on usb-stick. Or will
it?
The existing boot-partition, if the install has limine bootloader, which it definitely will be on a usb-stick, will have limine.cfg and /EFI/BOOT/BOOTX64.EFI
The new config file is 'limine.conf', which has a different syntax to 'limine.cfg'. I have written a simple script that will convert 'limine.cfg' to 'limine.conf'. Just place the script in the boot-partition, like this:

Make sure it is executable of course, then just run it in a terminal:
# ./limine-cfg-to-conf limine.cfg
...and it will generate limine.conf
The script, gzipped, is here:
https://bkhome.org/news/202602/images/limine-cfg-to-conf.gz
If we do a version update, from the current Easy 7.1.4 to the next, well, we don't have to update limine. Can just leave it as-is, at the old version of Limine.
If we do want to update limine in the boot-partition, can run
'limine-cfg-to-conf' as described above, and will also need the
new /EFI/BOOT/BOOTX64.EFI -- can get that from /usr/share/limine/
after updating EasyOS.
I will put 'limine-cfg-to-conf' in /usr/local/limine in the next release of Easy.
Note, I have updated Limine Installer to work with the new
limine.conf syntax.
Tags: easy