Page 1 of 1

random drive mnt-ing...

Posted: 30 Jul 2015, 13:22
by sedstar
every time i boot up proteus? its a real crap shoot which drives get mounted...

sometimes it "sees" my USB, sometimes not... sometimes it "sees" the several partitions on the hard drive, sometimes not...

its kind of a lottery.

is this yet another function of using a NTFS formatted USB drive?

Re: random drive mnt-ing...

Posted: 30 Jul 2015, 15:22
by Ed_P
sedstar wrote:is this yet another function of using a NTFS formatted USB drive?
OMG!! NTFS!! Why would you format the USB drive as that?? If you plan on having files larger than 4GB use exFAT. NTFS's journalling is not a good fit with flash drives. It's extra overhead.

I doubt it's the cause of the random mnt-ing but maybe...

Re: random drive mnt-ing...

Posted: 30 Jul 2015, 16:21
by neko
@sedstar
If it would be fixed by the upgraded kernel version Porteus,
'ntfs-3g' in original initrd.xz might have something wrong.

About upgrading a kernel, please refer to
http://forum.porteus.org/viewtopic.php? ... 788#p34856

About my 'ntfs-3g' problem, please refer to
http://forum.porteus.org/viewtopic.php? ... =60#p34642

Thanks.

Re: random drive mnt-ing...

Posted: 30 Jul 2015, 17:33
by fanthom
@sedstar
Porteus boots too fast for slow devices to be discovered (especially usb ones). Please add 'delay=10' cheatcode and everything should be discovered properly.

Please read about all other chats as well.

Re: random drive mnt-ing...

Posted: 30 Jul 2015, 17:52
by sedstar
okay... updating the kernel... sounds... "tempting"? But... no, lol

THAT would be "above my pay grade" at this point.

I'm going to go with... answer... uhm... "delay = 10", which i assume goes in that .CFG text file ?

Re: random drive mnt-ing...

Posted: 30 Jul 2015, 18:15
by Ed_P
sedstar wrote:I'm going to go with... answer... uhm... "delay = 10",
No. The code is "delay=10". No blanks, no spaces.
which i assume goes in that .CFG text file ?
See, you're learning. It can go after your changes= code. With a blank between the two. Like:

Code: Select all

changes=/porteus3.1/changes/porteussave.dat delay=10 timezone=US/Eastern

Re: random drive mnt-ing...

Posted: 30 Jul 2015, 19:59
by sedstar
yeah... WHERE the delay command went in the CFG file was my next question, lol... i put it up near the top of the file? didnt do much there, lol

PS - i only put the spaces in my example around the equals sign? for readability... i am too used to trying to type small formulas on another forum now and then...

the puppy linux guys? they make use of scripts in a similar fashion a lot, too... i can see this is going to be a "linux thing" getting used to using scripts, lol...

hummmm... i had thought this porteus linux? was a "beginners linux" because of the clean windows like desktop layout... reading Wikipedia porteus entry? its considered for the "somewhat experienced" linux user... oh well, i am getting used to it, at any rate.

thanks for the help!

Re: random drive mnt-ing...

Posted: 30 Jul 2015, 20:46
by Ed_P
You will probably need it for the Always Fresh title also. And there you have no changes= cheatcode. So on the kernel line try:

Code: Select all

nomagic base_only norootcopy delay=10 timezone=US/Eastern

Re: random drive mnt-ing...

Posted: 30 Jul 2015, 21:55
by Jack
I wish there was away to block them from the desktop. If there is away please tell me how.

Re: random drive mnt-ing...

Posted: 30 Jul 2015, 21:55
by sedstar
thanks!

Re: random drive mnt-ing...

Posted: 30 Jul 2015, 23:39
by Bogomips
sedstar wrote:the puppy linux guys? they make use of scripts in a similar fashion a lot, too... i can see this is going to be a "linux thing" getting used to using scripts, lol...
When push comes to shove scripts are just programs. (From a certain viewpoint, could be regarded as interpreted programming language :wink: ) One can have quite some fun trying to put together a Bash script to do something complicated. :%)

Re: random drive mnt-ing...

Posted: 01 Aug 2015, 10:20
by sedstar
i understand the basics of "what" a script file is... i'm just not used to at all the language and syntax being used in the pre-boot script(s)....

*shrugs*

windows has a lot of scripts all over the place? but, you rarely have to ever get in there... by THAT time? things are usually so screwed up, youre better off pulling your data files off, and wiping the partition and reinstalling windows, lol

LINUX seems to place a special emphasis on the script text files... i have to slowly get used to using them.

there seems to be conditional branching instructions and variables in there... i can see a lot of cool stuff could be accomplished once familiarity is gained with it...