Page 1 of 2

Customising "Always Fresh"

Posted: 16 Nov 2015, 21:53
by rcadmin
How do I customise the "Always Fresh" login i.e. I want certain shorcuts to be displayed and the sound to be off. I made the changes but they are obviously lost on reboot.

Re: Customising "Always Fresh"

Posted: 16 Nov 2015, 22:01
by Bogomips
@rcadmin

This is a question and not a howto. So have moved this to Newbie questions.

Re: Customising "Always Fresh"

Posted: 16 Nov 2015, 22:21
by wread
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!:

Re: Customising "Always Fresh"

Posted: 17 Nov 2015, 02:35
by donald
@rcadmin
Try this:
Make a "changes" module which you can activate the next time you boot in "allways fresh"mode
a)
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)
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 --

@wread
the APPEND line of the "allways fresh" mode has the norootcopy cheatcode..:wink:

Re: Customising "Always Fresh"

Posted: 17 Nov 2015, 03:11
by brokenman
Also don't forget the volume= cheatcode. Read the cheatcodes.txt file in /mnt/sdXy/boot/docs for more info.

Re: Customising "Always Fresh"

Posted: 18 Nov 2015, 01:21
by rcadmin
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!:
Your solution looks very easy but I can't find a folder called /porteus/rootcopy. Am I missing something?

Re: Customising "Always Fresh"

Posted: 18 Nov 2015, 08:07
by Ed_P
rcadmin wrote:Your solution looks very easy but I can't find a folder called /porteus/rootcopy. Am I missing something?
Do you have a /porteus/ folder?

Re: Customising "Always Fresh"

Posted: 18 Nov 2015, 11:52
by Bogomips

Code: Select all

guest@porteus:~$ cat /var/log/porteus-livedbg 
# Porteus data found in:
...
Where porteus folder to be found afaik.

Re: Customising "Always Fresh"

Posted: 18 Nov 2015, 19:34
by rcadmin
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!:
Alas this did not work so I will look at the other suggestions. :)

Re: Customising "Always Fresh"

Posted: 19 Nov 2015, 19:26
by wread
are you sure?

Re: Customising "Always Fresh"

Posted: 19 Nov 2015, 20:15
by rcadmin
Hi, almost 100% sure :D

Basically the folder was not where you said. I found the location by looking "/var/log/porteus-livedbg ", copied it there and it did not seem to make a difference. I will try again later.

Re: Customising "Always Fresh"

Posted: 19 Nov 2015, 20:22
by brokenman
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

Please read the documentation for more information. You don't give us much information to go on. What is çertain shortcuts? Help us help you.

Re: Customising "Always Fresh"

Posted: 19 Nov 2015, 20:50
by donald
@wread, @brokenman
Please enlighten me..because I'm confused..
How can/will -- copying the configs to rootcopy-- work as long as there is the
norootcopy cheatcode on the APPEND line when you boot in the always fresh mode?

@rcadmin
I still suggest to build a changes module.
When booting into always fresh mode, load it with the "load=" cheatcode
and also use the volume= cheatcode to turn the sound off.

but maybe you should be considering I'm crazy (proper medical diagnosis)

Re: Customising "Always Fresh"

Posted: 19 Nov 2015, 21:39
by wread
@donald: I don't have any "norootcopy" in AF mode in my start script at the moment (this is the default iso).

@rcadmin: what you put in porteus/rootcopy will be loaded at startup without unpacking any modules. So if your customizing changes in AF mode are stored in ~, then if you put this content in porteus/rootcopy before you turn off your machine, when you start it again, it will come up exactly as it was before.... :D

Re: Customising "Always Fresh"

Posted: 19 Nov 2015, 21:51
by donald
@wread
current Porteus-XFCE-v3.1-i486.iso
porteus.cfg

Code: Select all

LABEL fresh
MENU LABEL Always Fresh
KERNEL vmlinuz
APPEND initrd=initrd.xz nomagic base_only norootcopy 
TEXT HELP
    Normally Porteus saves all changes
    to the /porteus/changes/ directory
    on the boot media (if writable)
    and restores them next boot.
    Use this option to start a fresh
    system, changes are not read from
    or written to any device
ENDTEXT