Page 1 of 2

Packages/libraries disappear after reboot.

Posted: 03 Nov 2015, 04:58
by miner_tom
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

Re: Packages/libraries disappear after reboot.

Posted: 03 Nov 2015, 06:14
by Ed_P
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.

Re: Packages/libraries disappear after reboot.

Posted: 03 Nov 2015, 08:04
by aus9
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.

Re: Packages/libraries disappear after reboot.

Posted: 03 Nov 2015, 12:34
by Bogomips
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. :)

Re: Packages/libraries disappear after reboot.

Posted: 03 Nov 2015, 14:49
by Ed_P
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. :)

Re: Packages/libraries disappear after reboot.

Posted: 03 Nov 2015, 15:25
by Bogomips
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.

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

Posted: 03 Nov 2015, 15:54
by miner_tom
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

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

Posted: 03 Nov 2015, 18:31
by Bogomips
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

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

Posted: 03 Nov 2015, 21:25
by Ed_P
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

Re: Packages/libraries disappear after reboot.

Posted: 04 Nov 2015, 16:43
by miner_tom
Thanks to you all. I did as was suggested and my problem has now been solved.

Regards

Re: Packages/libraries disappear after reboot.

Posted: 04 Nov 2015, 17:14
by Ed_P
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?

Re: Packages/libraries disappear after reboot.

Posted: 05 Nov 2015, 12:16
by Bogomips
^ Are you both visually impaired? If not please use normal size font as per posting convention. (Apart from eyestrain thru reading the posts)

Re: Packages/libraries disappear after reboot.

Posted: 05 Nov 2015, 15:21
by miner_tom
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

Re: Packages/libraries disappear after reboot.

Posted: 05 Nov 2015, 17:45
by brokenman
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.

Re: Packages/libraries disappear after reboot.

Posted: 05 Nov 2015, 19:00
by Bogomips
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.