Re: Customising "Always Fresh"
Posted: 19 Nov 2015, 22:25
just delete rootcopy and it works!
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 /etcwread 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
I got three different Porteus v3.1 and all show it in:rcadmin wrote:I can't find a folder called /porteus/rootcopy. Am I missing something?
Hmmm, noted!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
About a): Can we do that with e.g. the following cheatcode?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 --
Code: Select all
'changes=/path/to/file.dat changes-ro'
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:I got three different Porteus v3.1 and all show it in:
<DEVICE>/<PORTEUS_ROOT>/porteus/rootcopy/
When it's indeed a "changes" module that gets created at logout andput into /porteus/base or such, it is -ro by default.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'
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"