Use raw disk image as Data partition

  • Hi,

    Is it possible to boot libreelec by using a partition image instead of a partition on the sdcard?

    so for example in the /flash directory i would have data.img

    and when booting libreelec i could add it to the kernel cmdline

    So instead of:

    Code
    BOOT_IMAGE=kernel.img boot=LABEL=LIBREELEC disk=LABEL=LIBREELEC_DISK

    I would have:

    Code
    BOOT_IMAGE=kernel.img boot=LABEL=LIBREELEC disk=data.img

    Is there such a functionality or do I have to edit the initrd to add it?