site  contact  subhomenews

Limine Installer version 0.1.4

July 11, 2022 — BarryK

Here is a PET package. Version 0.1.4 does not yet do an actual install of Limine. It scans for installed OSs and generates menu entries for 'limine.cfg'. The PET is available here:

https://forum.puppylinux.com/viewtopic.php?t=6323

It is a work-in-progress, but already useful. At startup, it scans the computer, and presents what is found:

img1

Those two entries "EFI Chainload debian" and "EFI Chainload ubuntu" bootup to the same OS as the two Debian and Mint entries further down (Mint is a clone of Ubuntu).
They are doing it two different ways. The first way is via GRUB entries in the ESP partition (sda1), and the second way is direct to the partitions where they are installed.

After ticking all checkboxes, here are the generated Limine entries:

:EasyOS Easy Dunfell64 (partition sda2, path easyos/dunfell)
COMMENT=EasyOS bootup
PROTOCOL=linux
KERNEL_CMDLINE=rw wkg_uuid=4bccc78a-191f-4b0a-8ac8-f19c2cd0a66c wkg_dir=easyos/dunfell
KERNEL_PATH=guid://e65beb9f-0ac8-45ee-b49f-1c5615680b05/easyos/dunfell/vmlinuz
MODULE_PATH=guid://e65beb9f-0ac8-45ee-b49f-1c5615680b05/easyos/dunfell/initrd

:EFI Chainload debian
PROTOCOL=chainload
IMAGE_PATH=guid://c9497bea-b657-4834-bde9-d35394095f9a/EFI/debian/grubx64.efi

:EFI Chainload ubuntu
PROTOCOL=chainload
IMAGE_PATH=guid://c9497bea-b657-4834-bde9-d35394095f9a/EFI/ubuntu/grubx64.efi

:Linux Debian GNU/Linux (partition sda3)
COMMENT=Linux bootup
PROTOCOL=linux
KERNEL_CMDLINE=root=PARTUUID=e924704e-ff93-4627-aada-a4ac81b187ed rw
KERNEL_PATH=guid://e924704e-ff93-4627-aada-a4ac81b187ed/boot/vmlinuz-5.10.0-13-amd64
MODULE_PATH=guid://e924704e-ff93-4627-aada-a4ac81b187ed/boot/initrd.img-5.10.0-13-amd64

:Linux Linux Mint (partition sda4)
COMMENT=Linux bootup
PROTOCOL=linux
KERNEL_CMDLINE=root=PARTUUID=03f15c87-c6e6-4ae0-8bc6-378f65c9f525 rw
KERNEL_PATH=guid://03f15c87-c6e6-4ae0-8bc6-378f65c9f525/boot/vmlinuz-5.4.0-91-generic
MODULE_PATH=guid://03f15c87-c6e6-4ae0-8bc6-378f65c9f525/boot/initrd.img-5.4.0-91-generic

:Linux Manjaro Linux (partition sda5)
COMMENT=Linux bootup
PROTOCOL=linux
KERNEL_CMDLINE=root=PARTUUID=38a1a691-62dd-4329-97e3-cca5d315af1c rw
KERNEL_PATH=guid://38a1a691-62dd-4329-97e3-cca5d315af1c/boot/vmlinuz-5.15-x86_64
MODULE_PATH=guid://38a1a691-62dd-4329-97e3-cca5d315af1c/boot/initramfs-5.15-x86_64-fallback.img

:Linux EndeavourOS (partition sda6)
COMMENT=Linux bootup
PROTOCOL=linux
KERNEL_CMDLINE=root=PARTUUID=45d005e9-b5a7-4dac-b41c-1c2b6f5909f9 rw
KERNEL_PATH=guid://45d005e9-b5a7-4dac-b41c-1c2b6f5909f9/boot/vmlinuz-linux
MODULE_PATH=guid://45d005e9-b5a7-4dac-b41c-1c2b6f5909f9/boot/initramfs-linux-fallback.img

:Puppy Puppy Linux vanilladpup (partition sda2, path vanilladpup9.2.0)
KERNEL_CMDLINE=psubdir=vanilladpup9.2.0 psubok=TRUE
KERNEL_PATH=guid://e65beb9f-0ac8-45ee-b49f-1c5615680b05/vanilladpup9.2.0/vmlinuz
MODULE_PATH=guid://e65beb9f-0ac8-45ee-b49f-1c5615680b05/vanilladpup9.2.0/initrd.gz

...I might insert the text "GRUB" into the Debian and Ubuntu chainload entries.

The lead developer of Limine, mintsuki, has added a couple of significant enhancements, just several hours ago:

https://github.com/limine-bootloader/limine/issues/191

https://github.com/limine-bootloader/limine/issues/190

...which is great, will be incorporating these in Limine Installer.

Oh, I should mention. Suddenly, the big distros, Debian, Mint, etc., started booting very slowly. The second boot menu shows kernel log at bootup, showing it is waiting 1 minute and 30 seconds, then timing out and bootup continues.
I found the cause: systemd. I had deleted the swap partition, then recreated it, but because it now has a different UUID, this upsets systemd.

But it gets worse... A bit of online research revealed that the swap partition entry in /etc/fstab has to be fixed. However, I looked at both Debian and Mint, and /etc/fstab doesn't have a swap partition entry. The /etc/fstab causing the trouble is inside the initrd, so that has to be opened up and repacked with a fixed /etc/fstab. Very annoying.   

Tags: easy