modules folder

Post here if you are a new Porteus member and you're looking for some help.
spif66
Ronin
Ronin
Posts: 3
Joined: 20 Aug 2019, 15:28
Distribution: CINNAMON 4.0

modules folder

Post#1 by spif66 » 20 Aug 2019, 15:39

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.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

modules folder

Post#2 by Ed_P » 20 Aug 2019, 15:42

It should be next to your /boot folder. ;)
Ed

Alvice
White ninja
White ninja
Posts: 10
Joined: 19 Aug 2019, 18:18
Distribution: Porteus-v5.0 Kernel 5.1.5

modules folder

Post#3 by Alvice » 20 Aug 2019, 16:46

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.

jssouza
Legendary
Legendary
Posts: 1165
Joined: 09 Jul 2015, 14:17
Distribution: Porteus x86 arm

modules folder

Post#4 by jssouza » 20 Aug 2019, 16:54

Your modules directory is the output of this command:

Code: Select all

echo $PORTDIR/modules

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

modules folder

Post#5 by Ed_P » 20 Aug 2019, 17:24

Listen to the experts spif66, it is indeed not next to the /boot folder. :oops:
Ed

spif66
Ronin
Ronin
Posts: 3
Joined: 20 Aug 2019, 15:28
Distribution: CINNAMON 4.0

modules folder

Post#6 by spif66 » 20 Aug 2019, 18:11

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

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

modules folder

Post#7 by Ed_P » 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.
Ed

spif66
Ronin
Ronin
Posts: 3
Joined: 20 Aug 2019, 15:28
Distribution: CINNAMON 4.0

modules folder

Post#8 by spif66 » 20 Aug 2019, 20:51

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

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

modules folder

Post#9 by ncmprhnsbl » 20 Aug 2019, 22:26

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.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply