Search found 433 matches

by jssouza
11 Oct 2016, 12:33
Forum: Intermediate/Advanced User Questions
Topic: Activate/Deactivate Modules using Sudo
Replies: 4
Views: 1421

Activate/Deactivate Modules using Sudo

Can sudo be used to activate/deactivate modules as guest? Executing activate using sudo has an error in aufs-insert saying losetup was not found. I guess this is because losetup is in /sbin and not in the guest's PATH. guest@porteus:/mnt/sdb1$ sudo activate test_mod.xzm Quiet mode: off /opt/porteus-...
by jssouza
11 Oct 2016, 12:08
Forum: Programming
Topic: Porteus module activation status
Replies: 76
Views: 17893

Re: Porteus module activation status

BTW The boot screen shows the Base modules as being loaded last. Even during boot! I thought the base modules should always be booted (activated) first, hence the 00x prefixing :%) Maybe you should try once in always fresh mode... suggestion: refresh button use case senario: if i activate a module ...
by jssouza
10 Oct 2016, 15:51
Forum: Programming
Topic: Porteus module activation status
Replies: 76
Views: 17893

Re: Porteus module activation status

Hi brokenman, If you are checking all conditions, don't forget the scenario where one boots via iso and uses copy2ram. Thank you for your input. I have copy2ram condition now implemented. I also removed the xzm module name appearance in the directory paths for modules activated after bootup. #! /bin...
by jssouza
10 Oct 2016, 15:06
Forum: Programming
Topic: Porteus module activation status
Replies: 76
Views: 17893

Re: Porteus module activation status

Hi Ed_P Do you have the 00* fix modules also? No, I downloaded the iso directly from http://dl.porteus.org/x86_64/archive/Porteus-v3.0.1/ . But I guess that should not matter since you also see the issue on Cinnamon 3.2rc5. Could you show the output of this please: (Do not be booted through copy2ram...
by jssouza
08 Oct 2016, 13:27
Forum: Programming
Topic: Porteus module activation status
Replies: 76
Views: 17893

Re: Porteus module activation status

Hi Bogomips, You are right, technically they are directories in /mnt/live/memory/images, but do not look good in the display. Probably have to strip it off in the script. Hi Ed_P, You have showed me /mnt/live/mnt/isoloop/porteus. Could you also go one level deeper and show me the output of ls -l /mn...
by jssouza
08 Oct 2016, 13:14
Forum: Bug Reports
Topic: Porteus-v3.2rc5 bug reports
Replies: 214
Views: 44997

Re: Porteus-v3.2rc5 bug reports

Hi brokenman, Still on the isoloop. Instead of changing the path itself (/mnt/isoloop to /mnt/live/mnt/isoloop), couldn't the path be given via a symlink? ln -s /mnt/live/mnt/isoloop /mnt/isoloop This way $PORTDIR would be reliable across all booted variants (/mnt/sdxn /mnt/srn and /mnt/isoloop). I ...
by jssouza
07 Oct 2016, 19:55
Forum: Programming
Topic: Porteus module activation status
Replies: 76
Views: 17893

Re: Porteus module activation status

:) It's very intrigiung, as to why it works here and does not at your side. Could you give me the output of losetup -a please? Also, ls -l /mnt/live/mnt/isoloop/porteus EDIT: I did find a difference in your screenshot. While the containing directory field should show only directory names, your scree...
by jssouza
07 Oct 2016, 18:14
Forum: Programming
Topic: Porteus module activation status
Replies: 76
Views: 17893

Re: Porteus module activation status

Thank you for the logs Ed. They look fine. I enabled some debug messages on the script. Could you run the following script and provide me the output from the terminal? #! /bin/bash if [ "$UID" -ne 0 ]; then if [ "$DISPLAY" ]; then ktsuss $0 else echo "Enter root password" su -c $0 fi exit fi export ...
by jssouza
07 Oct 2016, 17:26
Forum: Programming
Topic: Porteus module activation status
Replies: 76
Views: 17893

Re: Porteus module activation status

BTW The system modules are still showing at the bottom. Hi Ed_P, Coming to you now live from Porteus RazorQT 3.0.1! I downloaded this iso from the archives of dl.porteus.org. I executed the script and saw that the base modules come first and then the extramods. http://imgur.com/a/jE9L1 This is my c...
by jssouza
07 Oct 2016, 10:29
Forum: Bug Reports
Topic: Porteus-v3.2rc5 bug reports
Replies: 214
Views: 44997

Re: Porteus-v3.2rc5 bug reports

When booting into Porteus from an iso file using from= cheatcode: guest@porteus:~$ cat /proc/cmdline quiet BOOT_IMAGE=/porteus/vmlinuz from=/porteus/Porteus-CINNAMON-v3.2rc5-x86_64.iso The environment variable $PORTDIR shows incorrect path: guest@porteus:~$ echo $PORTDIR /mnt/isoloop/porteus guest@p...
by jssouza
07 Oct 2016, 10:07
Forum: Programming
Topic: Porteus module activation status
Replies: 76
Views: 17893

Re: Porteus module activation status

Hi Ed_P, I recreated your setup partially - booted to cinnamon 3.2rc5 iso using the from=cheatcode and also used extramod cheatcode. I was able to recreate your issue. The reason for the issue is because of what you mentioned earlier in this same thread in a post yesterday: Interesting that /var/log...
by jssouza
07 Oct 2016, 07:13
Forum: Programming
Topic: Porteus module activation status
Replies: 76
Views: 17893

Re: Porteus module activation status

Sequence is still extramods, then porteus/base mods, then changes. Yes I know, because I havent looked into yet :) . I would have to create your exact setup, so it would take some time to recreate your scenario. I have checked porteus extracted to a drive and porteus executed from a cd and both hav...
by jssouza
06 Oct 2016, 20:18
Forum: Programming
Topic: Porteus module activation status
Replies: 76
Views: 17893

Re: Porteus module activation status

Updated the script to handle extramod parameters using porteus-livedbg. Also did some gtkdialog related changes. #! /bin/bash if [ "$UID" -ne 0 ]; then if [ "$DISPLAY" ]; then ktsuss $0 else echo "Enter root password" su -c $0 fi exit fi export MODULE_LOAD_DIR="/mnt/live/memory/images" export TMPFIL...
by jssouza
06 Oct 2016, 18:11
Forum: Programming
Topic: Porteus module activation status
Replies: 76
Views: 17893

Re: Porteus module activation status

If boot parameter extramod= p/mods stipulated, where p=/Path/to/<Modules Directory>, then should at boot time extra modules be loaded from /dev/sdbY/p/mods, and later another usb stick plugged in, where /mnt/sdcZ/p/mods is a directory of modules, modules originating from /mnt/sdbY/p/mods could be a...
by jssouza
05 Oct 2016, 21:05
Forum: Bug Reports
Topic: Porteus-v3.2rc5 bug reports
Replies: 214
Views: 44997

Re: Porteus-v3.2rc5 bug reports

Hi, In Porteus Settings Center, the "Porteus FAQ" and "Porteus Tutorials" do not work. I did some checking and enclosed the entire command passed to the su command within quotes as: su -l $GUEST -c "'$BROWSER' /usr/doc/Porteus-FAQ/index.html &" su -l $GUEST -c "'$BROWSER' http://porteus.org/info/tut...