Page 1 of 2

Porteus Settings Centrre & noauto

Posted: 09 Jul 2014, 21:48
by Bogomips
A Rider

Time config: After setting time, was informed xzm settings module would be stored in modules. Then informed trouble doing this, so module would be stored in /tmp. No module found in /tmp. Did chmod on modules a+w.

Magic Folder: Informed magic folder would be stored in /mnt/sda6/rootcopy/etc. Looked there, not found. Changed permissions on rootcopy folder, and not found again. It then clicked. :) Mounted /dev/sda6 on /mnt/sda6, and this time came up with a magic folder, although contents gibberish, and have remained so, after another attempt.

Now it crosses my mind that perhaps Time config expected porteus to have been mounted on /dev/sda6.

Re: Porteus Settings Centrre & noauto

Posted: 09 Jul 2014, 23:48
by brokenman
Please boot into Porteus and give the output of: cat /var/log/porteus-livedbg

Re: Porteus Settings Centrre & noauto

Posted: 09 Jul 2014, 23:58
by Bogomips

Code: Select all

guest@porteus:~$ cat /var/log/porteus-livedbg
# Recognized devices:
/dev/sr0: LABEL="1. Upon Time S01" TYPE="iso9660" 
/dev/sda1: UUID="ca6ce5e1-1bbd-4170-87f7-5fd0448e5f56" TYPE="reiserfs" 
/dev/sda3: SEC_TYPE="msdos" UUID="4B46-EEEA" TYPE="vfat" 
/dev/sda4: UUID="966b254d-20de-4376-b736-ddf89150a6b3" TYPE="reiserfs" 
/dev/sda5: LABEL="kix" UUID="e737efd6-32f4-4a80-bbc1-a6ad3114b4d5" TYPE="ext2" 
/dev/sda6: UUID="f554b881-2089-4c0f-8de2-70900bdc4e14" TYPE="ext2" 
/dev/sda7: UUID="0d2c9e21-5e47-4dd3-a279-38551711f3dd" TYPE="swap" 
/dev/sda8: UUID="AF61-DAE9" TYPE="vfat" 
/dev/sda9: LABEL="iso" UUID="5bf4078e-3d9c-46e6-8a43-2dfc0eef3aeb" TYPE="ext2" 
/dev/sda10: LABEL="p_10" UUID="ed3f74cd-26bb-47bd-86b0-5e690663dd55" TYPE="ext2" 
/dev/sda11: UUID="6a0167f6-5cf7-412d-b85f-0076ca590371" TYPE="swap" 

# Booting device:
/mnt/sda6

# Porteus data found in:
/mnt/sda6/porteus

# Changes are stored in:
memory

# Non standard /rootcopy dir:
none

# Modules activated during boot time:
/memory/copy2ram/000-kernel.xzm
/memory/copy2ram/001-core.xzm
/memory/copy2ram/002-xorg.xzm
/memory/copy2ram/003-kde.xzm
/memory/copy2ram/0099-settings.xzm
/memory/copy2ram/04-firefox.xzm
/memory/copy2ram/nVidia-304.121-porteus-v3.0-i486-1ftm.xzm

Re: Porteus Settings Centrre & noauto

Posted: 10 Jul 2014, 08:59
by fanthom
@Bogomips
if you have used 'noauto' cheatcode then drives are not mounted automatically during boot thus not available for applications. remove that cheat and everything should start working as normal. it's good to read descriptions before enabling options from 'Advanced' section of the wizard.

btw: i persuaded on removing this section totally to avoid confusion like in this case (or at least drop the 'nonetwork' cheat which is harder to revert when changes are saved).
@Hamza, Jay - maybe we can do it now?

Re: Porteus Settings Centrre & noauto

Posted: 10 Jul 2014, 15:16
by brokenman
Got my vote.

Completely missed the word noauto in the thread's title. I was hoping to see /proc/cmdline in the livedbg file to see what cheat was causing the problem. Was it ever in there or am I imagining it?

Re: Porteus Settings Centrre & noauto

Posted: 10 Jul 2014, 18:49
by fanthom
@brokenman
it's not there. only in psinfo/xpsinfo.

Re: Porteus Settings Centrre & noauto

Posted: 10 Jul 2014, 20:35
by Bogomips
fanthom wrote:@Bogomips
if you have used 'noauto' cheatcode then drives are not mounted automatically during boot thus not available for applications. remove that cheat and everything should start working as normal.
Just like mr_hero, need secure system. Will have to work around this. :(

Re: Porteus Settings Centrre & noauto

Posted: 22 Jul 2014, 14:07
by Hamza
@fanthom -- agree!

Re: Porteus Settings Centrre & noauto

Posted: 10 Aug 2014, 20:00
by Bogomips
fanthom wrote:it's good to read descriptions before enabling options from 'Advanced' section of the wizard.
wizard wrote:Prevents the system from mounting any devices during startup. Useful for disabling access to your partitions by unprivileged users, as only root has rights to mount internal volumes.
When system applications are used one is forced to run as root, so one automatically assumes that the application will then mount the volume in question and after use dismount it, as it has root access.
fanthom wrote:@Bogomips
if you have used 'noauto' cheatcode then drives are not mounted automatically during boot thus not available for applications
Again one makes the distinction between user applications and system applications. So, to avoiid confusion it should also be stressed that system applications will also not access unmounted drives, even though running with root privilege.

IMHO there is nothing in what the wizard wrote to give any indication of the implications of 'noauto'.

Re: Porteus Settings Centrre & noauto

Posted: 10 Aug 2014, 20:36
by brokenman
removing this section totally to avoid confusion like in this case (or at least drop the 'nonetwork' cheat
Which will it be? Remove the section in PSC or remove noauto cheatcode?

Re: Porteus Settings Centrre & noauto

Posted: 11 Aug 2014, 09:31
by fanthom
IMHO there is nothing in what the wizard wrote to give any indication of the implications of 'noauto'.
what else could we add to this:

Code: Select all

NOAUTO

Prevents the system from mounting any devices during startup. Useful for disabling access to your partitions by unprivileged users, as only root has rights to mount internal volumes.
@brokenman
Remove the section in PSC or remove noauto cheatcode?
my idea was to remove 'nonetwork' and perhaps 'noauto' as well from the desktop wizard. i would also drop 'ramsize' as it may cause troubles if user set it to too low value.

Re: Porteus Settings Centrre & noauto

Posted: 11 Aug 2014, 14:20
by brokenman
my idea was to remove 'nonetwork' and perhaps 'noauto' as well from the desktop wizard.
Ok. I agree. Hamza can you get this done.

Re: Porteus Settings Centrre & noauto

Posted: 11 Aug 2014, 15:30
by Ed_P
fanthom wrote:i would also drop 'ramsize' as it may cause troubles if user set it to too low value.
Please don't drop 'ramsize', I just found it to be very useful.

If a value could be too low, or too high, edit it to prevent that happening.

Re: Porteus Settings Centrre & noauto

Posted: 11 Aug 2014, 17:39
by Hamza
Hi guys,

I have disabled 'noauto' and 'nonetwork' options from 'Advanced options'. The option 'ramsize' has already a maximum value of 80%.

Cheers, Hamza

Re: Porteus Settings Centrre & noauto

Posted: 11 Aug 2014, 17:57
by fanthom
@Hamza
but it's still possible to set it to 0%. please force min 20% so system will be able to boot.
people likes experimenting so just in case :wink: