Page 1 of 1

modules folder

Posted: 20 Aug 2019, 15:39
by spif66
there will be hundreds of posts but I can't find them

porteus 4.0, (cinnamon), frugal installation on hd.
I've created 2 modules:

firefox
nano

/tmp/firefox-68.0.2-x86_64-it-1.xzm
/tmp/usm/nano-2.6.0-x86_64-1.xzm

"
Your file is at: /tmp/firefox-68.0.2-x86_64-it-1.xzm
Please move it to your modules folder to survive a reboot.
"

where is this "module folder"???

ty for your patience
ciao
s.

modules folder

Posted: 20 Aug 2019, 15:42
by Ed_P
It should be next to your /boot folder. ;)

modules folder

Posted: 20 Aug 2019, 16:46
by Alvice
Using your Thunar File explorer (the 2nd icon with a file cabinet and folder sticking out on the upper left) on the left hand side bar look for the drive containing your installation and look for the "porteus" folder. Open that and you should see the modules folder.

modules folder

Posted: 20 Aug 2019, 16:54
by jssouza
Your modules directory is the output of this command:

Code: Select all

echo $PORTDIR/modules

modules folder

Posted: 20 Aug 2019, 17:24
by Ed_P
Listen to the experts spif66, it is indeed not next to the /boot folder. :oops:

modules folder

Posted: 20 Aug 2019, 18:11
by spif66
Ed_P wrote:
20 Aug 2019, 15:42
It should be next to your /boot folder. ;)
well
I created "modules" folder in root directory (/dev/sda12 in my case).
I moved modules in this folder working from another distro...

my cheatcodes are:
zram=40% noauto changes=/dev/sda12 copy2ram extramod=/dev/sda12/modules timezone=Europe/Rome utc kmap=it login=guest

now works
ty

but I don't understand how to pointing to this folder directly from porteus
Is it in:
/mnt/live/memory/copy2ram
?

I suspect this is a volatile address...

modules folder

Posted: 20 Aug 2019, 18:52
by Ed_P
spif66 lets refine your parms a bit.

Code: Select all

zram=40% noauto changes=/ copy2ram extramod=/modules timezone=Europe/Rome utc kmap=it 
See how they work. The advantage being if the install should move the parms won't change. :)

To point to the directory directly from Porteus either use your file manage or terminal and go to /mnt/sda12/modules.

modules folder

Posted: 20 Aug 2019, 20:51
by spif66
Ed_P wrote:
20 Aug 2019, 18:52
spif66 lets refine your parms a bit.

Code: Select all

zram=40% noauto changes=/ copy2ram extramod=/modules timezone=Europe/Rome utc kmap=it 
See how they work. The advantage being if the install should move the parms won't change. :)

To point to the directory directly from Porteus either use your file manage or terminal and go to /mnt/sda12/modules.
OK ty!!!
:-)

the position was:
/changes/mnt/sda12/porteus/modules/

I created the "modules" directory under /changes...
and moved the modules there.

so, my cheatcodes now are:
zram=40% noauto changes=/dev/sda12 copy2ram extramod=/changes/mnt/sda12/porteus/modules timezone=Europe/Rome utc kmap=it login=guest

as suggested by "jssouza":
echo $PORTDIR/modules

returned:
/mnt/sda12/porteus/modules

but, I think I understand that my changes are saved under the directory named "changes" in porteus.
In short, now with the porteus system running I see the modules with file managers in the following positions:

/mnt/sda12/porteus/modules
/mnt/live/porteus/modules symlink to the above
/mnt/live/memory/changes/mnt/sda12/porteus/modules

I think is this last the position where i must to copy my modules.

I do some tests, thank you all for your patience

ciao

modules folder

Posted: 20 Aug 2019, 22:26
by ncmprhnsbl
spif66 wrote:
20 Aug 2019, 20:51
I think is this last the position where i must to copy my modules.
nope..
here: /mnt/sda12/porteus/modules since this the physical location, and is where modules are loaded by default, without the need for an "extramod" cheatcode.