Page 1 of 1
Is there a way to save changes when you copy Porteus to RAM?
Posted: 18 Jul 2015, 13:24
by KawaiiAurora
Hey,
I have put Porteus Linux on an sdcard and it's awesome. It's formatted as ext4 but when I boot by copying Porteus into RAM, it doesn't save changes.. Is there a way to save changes when booting in ram so you get both the better speed and a proper system without having to log into everything again?
Re: Is there a way to save changes when you copy Porteus to
Posted: 18 Jul 2015, 14:01
by Seva
as root user:
open /boot/syslinux/porteus.cfg file
find the following text:
LABEL copy2ram
MENU LABEL Copy To RAM
KERNEL vmlinuz
APPEND initrd=initrd.xz copy2ram
to the APPEND line add 'changes=porteus' and save the file
the line should look like this:
APPEND initrd=initrd.xz copy2ram changes=porteus
detailed information is available in the FAQ on the Porteus website
Re: Is there a way to save changes when you copy Porteus to
Posted: 18 Jul 2015, 14:33
by KawaiiAurora
Thanks! It was a real help ^^
Re: Is there a way to save changes when you copy Porteus to
Posted: 18 Jul 2015, 17:02
by KawaiiAurora
I have noticed that using that flag really slows down the system (my SDcard is 10MB/s or something like that (Class 10)) so I decided to copy the google chrome config folder and copy it every time I start the operating system since I only use Porteus for light browsing. Can you maybe add something that only saves changes when you restart/shutdown?
Re: Is there a way to save changes when you copy Porteus to
Posted: 18 Jul 2015, 17:54
by Seva
do all changes to the system, then add 'changes-ro' to the APPEND line and save the file and restart pc
Re: Is there a way to save changes when you copy Porteus to
Posted: 18 Jul 2015, 18:38
by Ed_P
KawaiiAurora wrote:Can you maybe add something that only saves changes when you restart/shutdown?
Yes, use the changes=EXIT: cheatcode. Something like
Code: Select all
changes=EXIT:/porteus3.0/changes/porteussave.dat
if you use a save.dat file like I do.
Re: Is there a way to save changes when you copy Porteus to
Posted: 18 Jul 2015, 19:12
by Seva
seems to be the best solution
Re: Is there a way to save changes when you copy Porteus to
Posted: 20 Jul 2015, 22:43
by Bogomips
Normally run in RAM, Always Fresh and without changes. Trying out the best of the suggestions here, find changes to be a bit holey. For one thing, it doesn't restore all the activated modules. So to restore the setup had to do activations in rootcopy, to be precise: /porteus/rootcopy/etc/rc.d/rc.local. Doing this, some of the apps, active at time of restart/shutdown, got back some of their settings, as opposed to doing the activations once again when the system was up and running. Or am I missing something?
Re: Is there a way to save changes when you copy Porteus to
Posted: 29 Jul 2015, 21:03
by Seva
i use:
Code: Select all
from=/os copy2ram changes=/os/porteus changes-ro
it suits me, maybe there is something better, i dont know, "changes=EXIT:" makes the pc shut down long so i use read only changes