Customising "Always Fresh"

Post here if you are a new Porteus member and you're looking for some help.
rcadmin
White ninja
White ninja
Posts: 7
Joined: 10 Aug 2015, 04:19
Distribution: Latest
Location: New Zealand

Customising "Always Fresh"

Post#1 by rcadmin » 16 Nov 2015, 21:53

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.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Customising "Always Fresh"

Post#2 by Bogomips » 16 Nov 2015, 22:01

@rcadmin

This is a question and not a howto. So have moved this to Newbie questions.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
wread
Module Guard
Module Guard
Posts: 1090
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: Customising "Always Fresh"

Post#3 by wread » 16 Nov 2015, 22:21

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!:
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: 1215
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Customising "Always Fresh"

Post#4 by donald » 17 Nov 2015, 02:35

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

User avatar
brokenman
Site Admin
Site Admin
Posts: 5550
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Customising "Always Fresh"

Post#5 by brokenman » 17 Nov 2015, 03:11

Also don't forget the volume= cheatcode. Read the cheatcodes.txt file in /mnt/sdXy/boot/docs for more info.
How do i become super user?
Wear your underpants on the outside and put on a cape.

rcadmin
White ninja
White ninja
Posts: 7
Joined: 10 Aug 2015, 04:19
Distribution: Latest
Location: New Zealand

Re: Customising "Always Fresh"

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

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

Re: Customising "Always Fresh"

Post#7 by Ed_P » 18 Nov 2015, 08:07

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?
Ed

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Customising "Always Fresh"

Post#8 by Bogomips » 18 Nov 2015, 11:52

Code: Select all

guest@porteus:~$ cat /var/log/porteus-livedbg 
# Porteus data found in:
...
Where porteus folder to be found afaik.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

rcadmin
White ninja
White ninja
Posts: 7
Joined: 10 Aug 2015, 04:19
Distribution: Latest
Location: New Zealand

Re: Customising "Always Fresh"

Post#9 by rcadmin » 18 Nov 2015, 19:34

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. :)

User avatar
wread
Module Guard
Module Guard
Posts: 1090
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: Customising "Always Fresh"

Post#10 by wread » 19 Nov 2015, 19:26

are you sure?
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!

rcadmin
White ninja
White ninja
Posts: 7
Joined: 10 Aug 2015, 04:19
Distribution: Latest
Location: New Zealand

Re: Customising "Always Fresh"

Post#11 by rcadmin » 19 Nov 2015, 20:15

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.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5550
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Customising "Always Fresh"

Post#12 by brokenman » 19 Nov 2015, 20:22

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

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

Re: Customising "Always Fresh"

Post#13 by donald » 19 Nov 2015, 20:50

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

User avatar
wread
Module Guard
Module Guard
Posts: 1090
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: Customising "Always Fresh"

Post#14 by wread » 19 Nov 2015, 21:39

@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
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: 1215
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Customising "Always Fresh"

Post#15 by donald » 19 Nov 2015, 21:51

@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

Post Reply