Page 2 of 2

Re: Customising "Always Fresh"

Posted: 19 Nov 2015, 22:25
by wread
just delete rootcopy and it works!

Re: Customising "Always Fresh"

Posted: 19 Nov 2015, 22:39
by donald
@wread
Yep, I know..
but you should have mentioned it in the first place,because it is not the "default".
And IMHO (doing so) is contrary to the meaning of "always fresh".
However.. :friends:

Re: Customising "Always Fresh"

Posted: 19 Nov 2015, 23:39
by brokenman
Sorry, yes donald you are right. Rootcopy is a nogo in default fresh mode. Also in fresh mode is the base_only cheat which means only 00X modules from base folder will be loaded.

Re: Customising "Always Fresh"

Posted: 20 Nov 2015, 20:51
by wread
Ja...., es wird immer schwieriger :cry:

Es war schon mal anders!

Re: Customising "Always Fresh"

Posted: 24 Dec 2015, 05:21
by Rava
wread wrote:Do it the hard way:
When you have customized Porteus to your taste, copy the contents of /root to /porteus/rootcopy and you are done. By the next boot you will have it as desired!

Elemental, Watson :Yahoo!:
Not really, Sherlock. Since some settings are indeed in /root, others are in /home/username , when you log in as user "username" [and unless you tweak your Porteus as I do, that user is usually "guest" and so the path with some settings is /home/guest ] , while even other settings are to be found in /etc

So, your solution will not work as it should do.


And you sure not need copy all stuff from /root, /home/guest and /etc into a local-settings module, just the recently changed ones.

Re: Customising "Always Fresh"

Posted: 24 Dec 2015, 12:47
by datruche
rootcopy/
rcadmin wrote:I can't find a folder called /porteus/rootcopy. Am I missing something?
I got three different Porteus v3.1 and all show it in:
<DEVICE>/<PORTEUS_ROOT>/porteus/rootcopy/
rokenman wrote:Please make sure you maintain the correct structure in the rootcopy directory. For example if you want a file to appear at /home/guest/Downloads then you need to put it at: /mnt/sdXy/rootcopy/home/guest/Downloads
Hmmm, noted! :)
donald wrote:Make a "changes" module which you can activate the next time you boot in "allways fresh"mode:
a) In normal session
Open the porteus settings center > changes screen > save session
store this module outside of the aufs- (porteus) filesystem e.g. in the optional Folder.
Next time you boot into allways fresh, activate this module logout/in, should work.
(But sometimes not all of the changes are saved)
or
b) in Allways Fresh
Make your changes > open terminal, su to root and type
save-changes /path/to/the/module.xzm
the path should be somewhere outside of the porteus filesystem --
About a): Can we do that with e.g. the following cheatcode?

Code: Select all

'changes=/path/to/file.dat changes-ro'

Re: Customising "Always Fresh"

Posted: 24 Dec 2015, 13:16
by Rava
datruche wrote:I got three different Porteus v3.1 and all show it in:
<DEVICE>/<PORTEUS_ROOT>/porteus/rootcopy/
Maybe he meant,not on the FS of a device, but as seen from the Linux file hierarchy, that indeed a /porteus folder is not existent...
datruche wrote:Make a "changes" module which you can activate the next time you boot in "allways fresh"mode:
a) In normal session
Open the porteus settings center > changes screen > save session
store this module outside of the aufs- (porteus) filesystem e.g. in the optional Folder.
Next time you boot into allways fresh, activate this module logout/in, should work.
(But sometimes not all of the changes are saved)


About a): Can we do that with e.g. the following cheatcode?

Code: Select all

'changes=/path/to/file.dat changes-ro'
When it's indeed a "changes" module that gets created at logout andput into /porteus/base or such, it is -ro by default.


But I think you meant it lessliteral, and meant the actual changes.dat, which is some kind of file system container file, like so:

Code: Select all

rava@porteus:/mnt/live/memory/images$ mount |grep lsfind
/mnt/sda2/welt/lsfind/lsfind.ext2 on /Lsfind type ext2 (rw)
rava@porteus:/mnt/live/memory/images$ file /mnt/sda2/welt/lsfind/lsfind.ext2
/mnt/sda2/welt/lsfind/lsfind.ext2: Linux rev 1.0 ext2 filesystem data (mounted or unclean), UUID=4577-881e, volume name "LSFIND"