Porteus.cfg - cheats

Post here if you are a new Porteus member and you're looking for some help.
ztrapl
Contributor
Contributor
Posts: 198
Joined: 29 Aug 2013, 21:36
Distribution: Porteus 3.1 KDE4 32bit
Location: Czech Republic

Re: Porteus.cfg - cheats

Post#16 by ztrapl » 11 Feb 2016, 11:19

@donald
I just wanted to edit an item

Code: Select all

LABEL fresh
MENU LABEL Always Fresh
KERNEL vmlinuz
APPEND initrd=initrd.xz nomagic base_only norootcopy timezone=Europe/Prague volume=75% kmap=cz,us login=root
so in order to load the module changes.xzm in the optional.
I tried your settings and if I delete base_only so i will always load the modules folder.
Example:

Code: Select all

APPEND initrd=initrd.xz nomagic norootcopy noload=cpufreq;sensors load=changes timezone=Europe/Prague volume=75% kmap=cz,us login=root
I've added this to the start menu item:

Code: Select all

LABEL HDT
MENU LABEL Hardware Detection Tool
COM32 hdt.c32
TEXT HELP
    Hardware Detection Tool is a small
    application to verify accurate data
    on computer components
ENDTEXT
Perhaps someone will come in handy.
Download hdt.c32 : https://yadi.sk/d/Md0qpuTFof9GA
Homepage: http://www.hdt-project.org/

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

Re: Porteus.cfg - cheats

Post#17 by donald » 11 Feb 2016, 11:41

I tried your settings and if I delete base_only so i will always load the modules folder.
you have to use the noload= cheatcode
add all modules you have in the modules folder to this cheatcode.
if you do so,they won't get loaded...
The Example loads the module in the base folder , don't load modules you have added to the noload= cheatcode and then, with the use of the load= cheatcode, loads the changes module

EDIT
Now i see:
APPEND initrd=initrd.xz nomagic norootcopy noload=cpufreq;sensors load=changes timezone=Europe/Prague volume=75% kmap=cz,us login=root
This is/was only an Example, not a ready to use line
You have to add your modules to the noload cheatcode, not mine.. :wink:

User avatar
francois
Contributor
Contributor
Posts: 4990
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Porteus.cfg - cheats

Post#18 by francois » 11 Feb 2016, 14:26

@ztapl:
You can also use the extramod cheat code:

Code: Select all

extramod=/kde
This is where I put my kde desktop module and the changes module associated with it. In fact, I do the same for xfce.
Voltaire: Le mieux est l'ennemi du bien.

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

Re: Porteus.cfg - cheats

Post#19 by Bogomips » 11 Feb 2016, 18:29

donald wrote:you have to use the noload= cheatcode
add all modules you have in the modules folder to this cheatcode.
if you do so,they won't get loaded...
Thought had seen something that could come in useful (working in similar fashion to load):

Code: Select all

guest@porteus:~$ find /mnt/sda5/porteus/modules -name "*.xzm"
/mnt/sda5/porteus/modules/sudo-1.8.9p5-i486-1.xzm
So something like noload=eus/mod should do the trick, being sufficiently unique to differ from modules in base folder, as long as path to porteus not something like /deus/mods/porteus, in which case nothing will be loaded. :roll: . Uses egrep -v, and to be found in linuxrc. Fanthom was always telling me to see linuxrc, but never knew where linux rc was.
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

Post Reply