Replicated. This is an hybrid ISO.
The disk needs to be mounted (sda here) not a subpartition to discover rootfs and its boot related files).
At least to me this sounds like a limitation of Heads itself and not something Kicksecure can work around. You might be able to mount the disk itself (not a subpartition) in the recovery shell, then manually boot from that mounted device, but I don’t know if Heads supports that. Until Heads gains support for this, we’d need to have a Heads-specific ISO, which I don’t think it feasible (especially since our ISO creation tooling is handled by live-build right now, and we don’t customize how it does the generation of the ISO itself to my awareness).
I did have a slightly crazy idea for getting this to work anyway… quoting a slightly modified version of my messages from the Heads room:
This might be a kind of crazy idea, but what if there were a fourth partition on the USB, which encompassed the whole entire disk, such that /dev/sda4 was then essentially an alias of /dev/sda?
would Heads then be able to boot from /dev/sda4, and then the initramfs of Kicksecure be able to find the live OS at /dev/sda?
I’m not sure we could work something like that into Kicksecure’s build system, but it might be possible to document it as a workaround.
I don’t have any device running Heads here to test on, but if that sounds plausible and it works when someone tries it, it might be something we could document.
Yes, it is possible with the following commands in HEADS recovery shell:
`` mount /dev/sdb /media kexec-select-boot -b /media
``
Would you be so kind to spell out what HEADS developers need to fix/develop in order to boot Kicksecure without issues? I will report the requirements to the Github issue.
Thanks !
I should add that while this allows to boot Kicksecure in HEADS (from recovery shell), and all seems to work fine, there is an error printed during the boot process:
simple-framebuffer simpler-framebuffer.0: Unable to register simpl [FAILED] Failed to mount sysroot.mount - /sysroot