persistent + copy2ram

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

persistent + copy2ram

Post#1 by mt12345 » 01 Jul 2014, 15:15

If I use both 'changes=/porteus' and 'copy2ram' in boot line, will changes be copied to ram too, or just the base+modules?

User avatar
Ed_P
Contributor
Contributor
Posts: 3140
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: persistent + copy2ram

Post#2 by Ed_P » 01 Jul 2014, 16:22

mt12345 wrote:If I use both 'changes=/porteus' and 'copy2ram' in boot line, will changes be copied to ram too, or just the base+modules?
I'm reasonable certain both are copied to ram. Easy enough to test it out. :wink:
Ed

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: persistent + copy2ram

Post#3 by mt12345 » 02 Jul 2014, 00:25

but the changes survive after reboot so ram and hard drive are in sync?

User avatar
fanthom
Site Admin
Site Admin
Posts: 4565
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: persistent + copy2ram

Post#4 by fanthom » 02 Jul 2014, 07:09

nope - changes are not copied to RAM.

with 'changes=EXIT:' cheatcode changes are buffered in RAM till the shutdown and then dumped on the hd. during next session old changes are read from hd and new ones are still buffered in RAM till the shutdown. 'changes=EXIT:' prevents unnecessary writes on hd/usb but reading goes as normal.
Please add [Solved] to your thread title if the solution was found.

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: persistent + copy2ram

Post#5 by mt12345 » 02 Jul 2014, 10:48

(studying cheatcodes.txt)

So if I want to run everything in ram I need to convert changes into modules.
Then only /home will be read from hard drive.

Thanks!

Post Reply