When saving the changes, the changes are copied into the
memory
I use Porteus LXDE 4.0rc4 64bit version. (I am glad that you made LXDE version too, wich is the fastest and most user-friendly DE ever.) The content of ISO was copied into boot/porteus/Porteus-LXDE-v4.0rc4-x86_64 directory of my internal HDD (with only 1 partition). I boot Porteus with GRUB2. The menuentries in the grub/grub.cfg file:
Code: Select all
menuentry 'Porteus LXDE 4.0rc4 64b 20180212 live config k:hu,ro,us' {
set OS=boot/porteus/Porteus-LXDE-v4.0rc4-x86_64
linux /$OS/boot/syslinux/vmlinuz from=$OS noswap zram=33% \
extramod=boot/porteus/modules nomagic norootcopy kmap=hu,ro,us \
cliexec=/mnt/sda1/boot/porteus/config/por_cli.sh \
guiexec=/mnt/sda1/boot/porteus/config/por_gui.sh login=root
initrd /$OS/boot/syslinux/initrd.xz
}
menuentry 'Porteus LXDE 4.0rc4 64b 20180212 live k:hu,ro,us' {
set OS=boot/porteus/Porteus-LXDE-v4.0rc4-x86_64
linux /$OS/boot/syslinux/vmlinuz from=$OS noswap zram=33% \
nomagic base_only norootcopy kmap=hu,ro,us login=root
initrd /$OS/boot/syslinux/initrd.xz
}
menuentry 'Porteus LXDE 4.0rc4 64b 20180212 per-e k:hu,ro,us' {
set OS=boot/porteus/Porteus-LXDE-v4.0rc4-x86_64
linux /$OS/boot/syslinux/vmlinuz from=$OS noswap zram=33% \
changes=EXIT:boot/porteus/v4.0-rc4_c1 \
extramod=boot/porteus/modules kmap=hu,ro,us login=root
initrd /$OS/boot/syslinux/initrd.xz
}

Boot with persistence, using boot/porteus/v4.0-rc4_c1/changes directory:
Code: Select all
# mount
...
tmpfs on /mnt/live/memory/changes type tmpfs (rw,relatime,size=2307128k)
...
# free -m
total used free shared buff/cache available
Mem: 3755 197 3127 70 430 3093
Swap: 1239 0 1239
# du -sm /mnt/sda1/boot/porteus/v4.0-rc4_c1
43 /mnt/sda1/boot/porteus/v4.0-rc4_c1
Code: Select all
# free -m
total used free shared buff/cache available
Mem: 3755 169 3300 24 285 3215
Swap: 1239 0 1239