Boot from SD but store /userdata/ on NAND

  • Is it possible to boot LE from SD card but to store the /userdata/ on the NAND of an AML s905x box?

    Currently using 7.0.3.012 on a MiniM8SII 2/8GB and would like to store my userdata on the internal NAND of the box for performance - I'm sure I read of someone doing this before, but can't currently find any posts detailing it.

    Would it be sufficient to place

    Code
    mkdir -p /media/nandata
    mount /dev/data /media/nandata

    in [i]/storage/.config/autostart.sh[/i], move everything to the NAND, then make a symlink: [i]ln -s /media/nandata/media/0/kodiuserdata/ /storage/.kodi/userdata[/i]??

    Thanks in advance.

    UPDATE - That worked fine, device correctly reads my userdata from NAND, all working fine!

    Edited once, last by her (January 12, 2017 at 12:49 AM).

  • Because the SD version is designed to not touch anything in internal memory. If you want to access internal memory while running from SD card, you have to add it manually - but you have to do this only once.