Thanks Gregory!
Setting root=/dev/disk/by-label/Physix-Project as you mentioned does
mount the usb at /sysroot.
Now I think I just need to tweak systemd switch-root unit to perform a
pre-mount
of live/filesystem.squash. Unless there is a better way?
regards,
Tree
On Thu, Jul 22, 2021 at 4:33 PM Gregory Bartholomew <
gregory.lee.bartholomew at gmail.com> wrote:
> Does it not work if you pass root=/dev/disk/by-label/Physix-Project on the
> kernel command line?
>
> On Thu, Jul 22, 2021 at 5:22 PM slash woot via Syslinux <
> syslinux at syslinux.org> wrote:
>
>> Hi everyone,
>>
>> I have used syslinux to create a bootable USB with my OS on it, but
>> I have one issue to untangle.
>>
>> When the usb drive boots, it fails to perform a switch root to
>> squash-filesystem on the usb. This is because it is not mounting
>> the usb, and thus also not able to mount the squashFS image.
>>
>> If I search around I can figure out which device is my usb and
>> switch-root it manually. But it would be great if this were
>> automatic.
>>
>> My configuration for this project can be found here:
>> https://github.com/PhysixProject/physix-on-usb
>>
>> Seeking advice. Thank you in advance.
>> Tree
>> _______________________________________________
>> Syslinux mailing list
>> Submissions to Syslinux at syslinux.org
>> Unsubscribe or set options at:
>> https://lists.syslinux.org/syslinux
>>
>