Customising "Always Fresh"

Post here if you are a new Porteus member and you're looking for some help.
User avatar
wread
Module Guard
Module Guard
Posts: 1255
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v5.0-kde-64 bits
Location: Santo Domingo
Contact:

Re: Customising "Always Fresh"

Post#16 by wread » 19 Nov 2015, 22:25

just delete rootcopy and it works!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Customising "Always Fresh"

Post#17 by donald » 19 Nov 2015, 22:39

@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:

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Customising "Always Fresh"

Post#18 by brokenman » 19 Nov 2015, 23:39

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.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
wread
Module Guard
Module Guard
Posts: 1255
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v5.0-kde-64 bits
Location: Santo Domingo
Contact:

Re: Customising "Always Fresh"

Post#19 by wread » 20 Nov 2015, 20:51

Ja...., es wird immer schwieriger :cry:

Es war schon mal anders!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Re: Customising "Always Fresh"

Post#20 by Rava » 24 Dec 2015, 05:21

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.
Cheers!
Yours Rava

datruche
Black ninja
Black ninja
Posts: 95
Joined: 20 Sep 2015, 21:02
Distribution: Arch, Porteus-Nemesis 3.5
Location: London > . < Paris

Re: Customising "Always Fresh"

Post#21 by datruche » 24 Dec 2015, 12:47

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'

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Re: Customising "Always Fresh"

Post#22 by Rava » 24 Dec 2015, 13:16

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"
Cheers!
Yours Rava

Post Reply