Packages/libraries disappear after reboot.

Post here if you are a new Porteus member and you're looking for some help.
miner_tom
White ninja
White ninja
Posts: 7
Joined: 29 Oct 2015, 02:49
Distribution: 3.17.4
Location: USA

Packages/libraries disappear after reboot.

Post#1 by miner_tom » 03 Nov 2015, 04:58

Hi,

I know that this sounds strange but I have not had this problem with any other distribution that I have loaded. For example, I have loaded the Firefox browser and after installation, via the Unified Slackware package manager (USM), I can see the appropriate icon and it starts and runs with no problem. However, after reboot, the icon is gone and there is no way to start the program (I did find out where the executable was and attempted to start it manually which resulted in a system crash.

Also, I have downloaded and installed, several libraries for doing gaming, interestingly, there is one that seems to "go away" after a reboot. I must re-initialze the library and then I can use it again.

Not sure of how to proceed.

Finally, I have used installers, Yum and Aptitude but they do not seem to be in the repositories in the USM database. Is there another usable installer?

Thank You
Tom

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

Re: Packages/libraries disappear after reboot.

Post#2 by Ed_P » 03 Nov 2015, 06:14

miner_tom wrote:For example, I have loaded the Firefox browser and after installation, via the Unified Slackware package manager (USM), I can see the appropriate icon and it starts and runs with no problem. However, after reboot, the icon is gone
Where did you save the USM downloaded module? XZM modules should be saved in the porteus/modules folder to be available when rebooting.
Ed

aus9

Re: Packages/libraries disappear after reboot.

Post#3 by aus9 » 03 Nov 2015, 08:04

If it helps, check your /etc/usm/usm.conf

if unchanged the default download "may" still be in
# Where packages will be downloaded to.
STORAGE=/tmp/usm
meaning go to your porteus/changes/tmp/usm directory...if you have used bootcode changes=<something>
or /tmp/usm

If there, you can use a root powered file manager to go to
/tmp/usm

and move all of your missing XZMs to your porteus/modules directory

2) Based on Ed_P's reply/question, you can not use porteus/optional unless you use a boot code (formula load=modulename) to boot the named module
http://www.porteus.org/component/conten ... -them.html
link shows other pathways to modules outside porteus directory as well.

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

Re: Packages/libraries disappear after reboot.

Post#4 by Bogomips » 03 Nov 2015, 12:34

aus9 wrote:2) Based on Ed_P's reply/question, you can not use porteus/optional unless you use a boot code (formula load=modulename) to boot the named module
For just the one module, has to be unique string in directory tree of optional folder.

@aus9

Practical example with this directory tree:

Code: Select all

porteus/optional/
├── 3.1
│   └── DE
│       ├── 003-lxqt.xzm
│       ├── 003-mate.xzm
│       └── 003-xfce.xzm
└── boinc
    ├── bcx_140915.xzm
    └── boinc-7.2.42.i686.xzmget
Using load=xfc;boinc/bo

Code: Select all

loop6     7:6    0  24.6M  0 loop /mnt/live/memory/images/003-xfce.xzm
loop7     7:7    0  24.7M  0 loop /mnt/live/memory/images/boinc-7.2.42.i686.xzm
And load=/ should load all modules in porteus/optional. :)
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
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Packages/libraries disappear after reboot.

Post#5 by Ed_P » 03 Nov 2015, 14:49

aus9 wrote: If there, you can use a root powered file manager to go to
/tmp/usm

and move all of your missing XZMs to your porteus/modules directory
Yes, /tmp/usm is the directory USM creates for the packages it downloads and converts to .xzm files/modules. But you don't need root to copy them to the /porteus/modules directory and I don't believe you need a boot cheatcode to have them be loaded from there when you boot.

I personally use a folder named Modules and do use a cheatcode, named extramod=, to have it included when I boot.
aus9 wrote:2) Based on Ed_P's reply/question, you can not use porteus/optional
I never said porteus/optional, I said porteus/modules, in large print even. :)
Ed

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

Re: Packages/libraries disappear after reboot.

Post#6 by Bogomips » 03 Nov 2015, 15:25

Ed_P wrote: But you don't need root to copy them to the /porteus/modules directory
Disagree in my case:

Code: Select all

guest@porteus:~$ ls -ld porteus/modules
drwxr-xr-x 2 root root 4096 Dec 11  2014 porteus/modules/
Ed_P wrote: and I don't believe you need a boot cheatcode to have them be loaded from there when you boot.
Agree.
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

miner_tom
White ninja
White ninja
Posts: 7
Joined: 29 Oct 2015, 02:49
Distribution: 3.17.4
Location: USA

Re: Packages/libraries disappear after reboot. I can't log i

Post#7 by miner_tom » 03 Nov 2015, 15:54

I found a directory /mnt/sda1/porteus/modules and I loaded all of the .xzm modules into that folder. Now, when I boot up I CAN NOT LOG IN! While booting, I see messages across the screen that say "no user guest recognized or no user root recognized". It boots up at run level 4. When i try to log in i always get "Login Incorrect"

What do I do now?


I thank you all for the helpful replies. I did find in the documentation the following:

"Be aware that if you are downloading your packages intot he default location /tmp/usm then if you wantthem to remain at the next boot (and you are not saving your changes with a cheat code) then you must manually place the modules into your porteus/modules folder on the installation media."

However, I have no "porteus/modules" folder. And, in terms of the installation media, it was a DVD ROM. Should I create a "porteus/modules" folder?

Thank You
Tom

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

Re: Packages/libraries disappear after reboot. I can't log i

Post#8 by Bogomips » 03 Nov 2015, 18:31

miner_tom wrote:Should I create a "porteus/modules" folder?
No.

Can you post the contents of /var/log/porteus-livedbg or in terminal:

Code: Select all

cat /var/log/porteus-livedbg
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
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Packages/libraries disappear after reboot. I can't log i

Post#9 by Ed_P » 03 Nov 2015, 21:25

miner_tom wrote:I found a directory /mnt/sda1/porteus/modules and I loaded all of the .xzm modules into that folder. Now, when I boot up I CAN NOT LOG IN! While booting, I see messages across the screen that say "no user guest recognized or no user root recognized". It boots up at run level 4. When i try to log in i always get "Login Incorrect"

What do I do now?
It would seem that some of your modules are infighting. Not sure how many you have but what I would suggest is you
copy move them to another folder, /porteus/modhold for example then. Reboot. If you can boot and signin ok I would copy 1 or 2 of the modules in the /modhold directory to the /modules directory and reboot. If you can boot and signin ok I would copy 1 or 2 more and reboot. Continue the process until you find the 1 causing the problem.
However, I have no "porteus/modules" folder.
It sure looks like you do.
miner_tom wrote:I found a directory /mnt/sda1/porteus/modules
Ed

miner_tom
White ninja
White ninja
Posts: 7
Joined: 29 Oct 2015, 02:49
Distribution: 3.17.4
Location: USA

Re: Packages/libraries disappear after reboot.

Post#10 by miner_tom » 04 Nov 2015, 16:43

Thanks to you all. I did as was suggested and my problem has now been solved.

Regards

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

Re: Packages/libraries disappear after reboot.

Post#11 by Ed_P » 04 Nov 2015, 17:14

Bogomips wrote:
Ed_P wrote: But you don't need root to copy them to the /porteus/modules directory
Disagree in my case:

Code: Select all

guest@porteus:~$ ls -ld porteus/modules
drwxr-xr-x 2 root root 4096 Dec 11  2014 porteus/modules/
FYI My case:

Code: Select all

guest@porteus:~$ ls -ld  /mnt/sda5/porteus3.0/Modules
drwxrwxrwx 1 root root 8192 Oct 22 15:26 /mnt/sda5/porteus3.0/Modules/
guest@porteus:~$ cp Make_ISO.txt  /mnt/sda5/porteus3.0/Modules

[quote="miner_tom"][size=150]my problem has now been solved.
[/size][/quote]
[size=150]Yeah!!  Can tell us which module you found was causing the problem? [/size]
guest@porteus:~$ 
miner_tom wrote:my problem has now been solved.
Yeah!! Can tell us which module you found was causing the problem?
Ed

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

Re: Packages/libraries disappear after reboot.

Post#12 by Bogomips » 05 Nov 2015, 12:16

^ Are you both visually impaired? If not please use normal size font as per posting convention. (Apart from eyestrain thru reading the posts)
Last edited by Bogomips on 05 Nov 2015, 12:32, edited 1 time in total.
Reason: Extra request
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

miner_tom
White ninja
White ninja
Posts: 7
Joined: 29 Oct 2015, 02:49
Distribution: 3.17.4
Location: USA

Re: Packages/libraries disappear after reboot.

Post#13 by miner_tom » 05 Nov 2015, 15:21

Hi Bogomips,

I apologize for the large font, but, I am over 60 years of age, and I am somewhat, "visually impaired" as you say. After having had cataract surgery, I lost my ability to focus close up. I'll attempt to use smaller fonts. You too may get there some day :wink:

Tom

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Packages/libraries disappear after reboot.

Post#14 by brokenman » 05 Nov 2015, 17:45

I apologize for the large font, but, I am over 60 years of age, and I am somewhat, "visually impaired" as you say.
Apologies. I edited your font without asking why first. The font size was obviously deliberate, but I didn't stop to ask why first. Sorry. That dog will come to bite us all someday. Especially those of us that sit staring at a screen all day.
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: Packages/libraries disappear after reboot.

Post#15 by Bogomips » 05 Nov 2015, 19:00

miner_tom wrote:After having had cataract surgery, I lost my ability to focus close up.
Hi miner_tom, sorry to hear you could not be fitted with replacement lenses. Normally thereafter a cheap pair of reading glasses around +1.5 would have sufficed.

P.S. I believe there is some sort of magnify app available somewhere on the system.
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