site  contact  subhomenews

Limine Installer bug fix

April 19, 2026 — BarryK

Forum member peasthope discovered a bug with Limine Installer:

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

Looking at the posts in that thread and in the Limine Installer code, I found a potential bug. I'm not 100% sure that it is the specific bug that peasthope has encountered, but it is a bug.

The fix is to check the mounted status of partitions in the /usr/local/easy-installer/easy-installer script, in two places. For example, at line 392:

  . /tmp/limine-installer/lsblk-${ESPdest}
#20260419 check if MOUNTPOINT still valid...
realMP="$(lsblk --pairs -o MOUNTPOINT /dev/${ESPdest} | cut -f 2 -d '"')"
if [ "$realMP" != "$MOUNTPOINT" ];then
sed -i -e "s%^MOUNTPOINT=.*%MOUNTPOINT=\"${realMP}\"%" /tmp/limine-installer/lsblk-${ESPdest}
MOUNTPOINT="${realMP}"
fi
#mount the partition...
if [ -n "$MOUNTPOINT" ];then

The problem potentially happens as 'limine-installer' calls 'find-installations' which records the mounted status of partitions, then a GUI window is displayed with checkboxes to choose the found OS installations. The window has a "GENERATE" button; however if the person clicks on partitions to look inside them, before clicking "GENERATE", that will change the mounted status, which will cause an error later in the script. The above code check fixes that.   

Tags: easy