I have successfully booted Porteus on an old iMac under rEFInd using the manual stanza:
Code: Select all
menuentry "Porteus 5.0" {
icon /EFI/icons/os_porteus-wg.png
volume Porteus
loader /boot/syslinux/vmlinuz
initrd /boot/syslinux/initrd.xz
options "from=UUID:eb840d24-6e24-4f26-b905-3115ae790fec changes=UUID:eb840d24-6e24-4f26-b905-3115ae790fec/porteus timezone=America/Denver login=root"
}
I can't observe the boot process until after modules have been loaded because the text is garbled until INIT, but I can make out its color. When I put a second installation of Porteus in volume "kde" and attempt to boot with the almost identical:
Code: Select all
menuentry "Porteus KDE" {
icon /EFI/icons/os_porteus-wg.png
volume kde
loader /boot/syslinux/vmlinuz
initrd /boot/syslinux/initrd.xz
options "from=UUID:b5d90074-3e41-4d9f-9106-e614a3a39534 changes=UUID:b5d90074-3e41-4d9f-9106-e614a3a39534/porteus timezone=America/Denver login=root"
# from=UUID:b5d90074-3e41-4d9f-9106-e614a3a39534 changes=UUID:b5d90074-3e41-4d9f-9106-e614a3a39534/porteus
}
booting halts with yellow text indicating that my from= cheatcode was incorrect; if I hit enter, Porteus boots from my original installation (discarding changes) -- I've carefully verified the partitions' UUIDs. Regardless of whether I use UUID: or /sda3 with from= or changes=, this second installation of Porteus (in volume kde) cannot find them and always uses data from my original installation (in /sda6); if I deny access to the rest of the drive using "nohd" or if I rename /boot or /porteus in /sda6, booting fails and the computer restarts. It's as though something is causing Porteus' own partition to be hidden from it mid-boot -- in only one of two copies of Porteus 5.0rc3! The loader in /sda3 (volume kde) is definitely being successfully invoked by rEFInd. The disk has a FAT32 ESP, HFS+ El Capitan and Recovery partitions, and three ext4 partitions, one containing Linux Lite and two containing different editions of Porteus -- rEFInd transfers control to all the loaders correctly, only the one in the second installation of porteus then can't see its own partition.
P.S. I created another ext4 partition and copied the Porteus files from volume kde into it, then put the new partition's UUID in place of that pointing to volume kde in refind.conf -- Porteus couldn't find that partition either. I conclude that the problem lies in Porteus -- refind encounters the stanza invoking kde first, but it doesn't ever work with it and always works with the Porteus in volume Porteus.