[SOLVED] Modules deactivate after every reboot
[SOLVED] Modules deactivate after every reboot
I am using Porteus 4.9 KDE. I couldn't use any module which i downloaded after reboot. I have to activate again and again. i saved the session in porteus/porteussave/porteussave.dat and also modified the porteus.cfg file 0
But I have the modules which i downloaded in tmp/usm and other files are restored.
But I have the modules which i downloaded in tmp/usm and other files are restored.
Last edited by accio on 17 Feb 2017, 14:38, edited 1 time in total.
- Blaze
- DEV Team
- Posts: 3885
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
Re: Modules deactivate after every reboot
Hi accio.
Copy your xzm modules from /tmp/usm/ to /mnt/sdb1/porteus/modules
where sdb1 - it's porteus partition
Copy your xzm modules from /tmp/usm/ to /mnt/sdb1/porteus/modules
where sdb1 - it's porteus partition
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: Modules deactivate after every reboot
Going by what Ed always claims: changes=EXIT:/porteussave/porteussave.dat should also include the /tmp folder, should one wish to save changes at end of session, and not continuously.
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
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
Re: Modules deactivate after every reboot
do you mean "changes=EXIT:/porteus/porteussave/porteussave.dat" because i have created a separate dir and I have multiple save sessions within in /porteus/.Bogomips wrote:Going by what Ed always claims: changes=EXIT:/porteussave/porteussave.dat should also include the /tmp folder, should one wish to save changes at end of session, and not continuously.
Re: [SOLVED] Modules deactivate after every reboot
Hi Blaze ,
But how do I change the default download dir ? or do i have do it manually each time i download the modules ?
Fantastic! I was thinking the same. Works like charmBlaze wrote:Hi accio.
Copy your xzm modules from /tmp/usm/ to /mnt/sdb1/porteus/modules
where sdb1 - it's porteus partition
But how do I change the default download dir ? or do i have do it manually each time i download the modules ?
Last edited by accio on 17 Feb 2017, 14:39, edited 1 time in total.
- Blaze
- DEV Team
- Posts: 3885
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
Re: Modules deactivate after every reboot
accio, you could change download dir in USM, but don't do this, because all txz files of Slackware will be at the .../porteus/modules/ directory
I think that is better way for you >>> open terminal (as root) and run these commands:
Cheers
I think that is better way for you >>> open terminal (as root) and run these commands:
Code: Select all
su
toor
cp /tmp/usm/*.xzm $PORTDIR/modules/
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
Re: Modules deactivate after every reboot
Thank you Blaze!Blaze wrote:accio, you could change download dir in USM, but don't do this, because all txz files of Slackware will be at the .../porteus/modules/ directory
I think that is better way for you >>> open terminal (as root) and run these commands:CheersCode: Select all
su toor cp /tmp/usm/*.xzm $PORTDIR/modules/
But out of curiosity why we need to avoid .txz files in /porteus/modules ? (only to save memory ?)
Re: Modules deactivate after every reboot
I wish this goes to admin report. If they fix this issue for Graphic mode it would be great or else newbies have to break their head
- Ed_P
- Contributor
- Posts: 8368
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Modules deactivate after every reboot
The save.dat file does not save the /tmp folder. And is only used when working with non-.ext file systems.Bogomips wrote: changes=EXIT:/porteussave/porteussave.dat should also include the /tmp folder
Well the .txz files aren't modules and therefore won't activate when Porteus boots. If Porteus loads the non-.xzm files yes they will use memory and slow the booting process. How much of an impact depends on the number of files and how big they are.accio wrote:But out of curiosity why we need to avoid .txz files in /porteus/modules ? (only to save memory ?)
Blaze's commands work and if saved as a script would be very easy to use. Personally I manually copy and paste my USM modules into my Modules folder using a GUI file manager. (a common approach Windows users use.)
BTW
If one opens "terminal (as root)" one doesn't need the su command.Blaze wrote:open terminal (as root) and run these commands:Code: Select all
su toor cp /tmp/usm/*.xzm $PORTDIR/modules/
Ed
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: Modules deactivate after every reboot
Quoted out of context.Ed_P wrote:The save.dat file does not save the /tmp folder.Bogomips wrote: changes=EXIT:/porteussave/porteussave.dat should also include the /tmp folder
Quote should have been:
Going by what Ed always claims: changes=EXIT:/porteussave/porteussave.dat should also include the /tmp folder, should one wish to save changes at end of session, and not continuously.
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
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
- Ed_P
- Contributor
- Posts: 8368
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Modules deactivate after every reboot
I have never claimed that the /tmp folder changes are saved.Bogomips wrote:Quoted out of context.Ed_P wrote:The save.dat file does not save the /tmp folder.Bogomips wrote: changes=EXIT:/porteussave/porteussave.dat should also include the /tmp folder
Quote should have been:Going by what Ed always claims: changes=EXIT:/porteussave/porteussave.dat should also include the /tmp folder, should one wish to save changes at end of session, and not continuously.
That better?
Ed
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Modules deactivate after every reboot
It depends where your /porteus/modules folder is installed. Usb partition location could vary in term of the mounting point from a bootup to another bootup. This is not the case for a hdd install.accio wrote:I wish this goes to admin report. If they fix this issue for Graphic mode it would be great or else newbies have to break their head
If your installation is in a fixed folder like for a hdd install or on ad designed usb key where the uuid has been specifically set for porteus in the bootloader as in (look for uuid in the thread:
viewtopic.php?t=946
you may change the destination folder for the builded modules in /etc/usm/usm.conf:
Code: Select all
# Where packages will be downloaded to.
STORAGE=/tmp/usm
# Where packages will be downloaded to.
Code: Select all
STORAGE=/"path-to"/porteus/modules
@Ed: no script involved here.
Prendre son temps, profiter de celui qui passe.
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: Modules deactivate after every reboot
francois wrote:you may change the destination folder for the builded modules in /etc/usm/usm.conf:is replaced by:Code: Select all
# Where packages will be downloaded to. STORAGE=/tmp/usm
# Where packages will be downloaded to.Code: Select all
STORAGE=/"path-to"/porteus/modules
Modules folder could get cluttered up with downloaded packages. I, for one, prefer to keep everything on a folder of my hdd. After all, these packages, as a whole, do not take up much space, and there is saving on bandwidth, when next time same package required for another module. The temporary storage can be redirected to any directory of choice:
Code: Select all
STORAGE=/Path/to/<folder for usm downloads>
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
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
Re: Modules deactivate after every reboot
I am thinking to so this but I also don't want to make the boot heavy ( .txz files also included). I am afraid it will slow the speed. Anyway, I will give it a try!Bogomips wrote:francois wrote:you may change the destination folder for the builded modules in /etc/usm/usm.conf:is replaced by:Code: Select all
# Where packages will be downloaded to. STORAGE=/tmp/usm
# Where packages will be downloaded to.Code: Select all
STORAGE=/"path-to"/porteus/modules
Modules folder could get cluttered up with downloaded packages. I, for one, prefer to keep everything on a folder of my hdd. After all, these packages, as a whole, do not take up much space, and there is saving on bandwidth, when next time same package required for another module. The temporary storage can be redirected to any directory of choice:Code: Select all
STORAGE=/Path/to/<folder for usm downloads>