random drive mnt-ing...

Post here if you are a new Porteus member and you're looking for some help.
sedstar
Black ninja
Black ninja
Posts: 35
Joined: 29 Jul 2015, 19:59
Distribution: 32bit xfce
Location: PA-USA

random drive mnt-ing...

Post#1 by sedstar » 30 Jul 2015, 13:22

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?

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

Re: random drive mnt-ing...

Post#2 by Ed_P » 30 Jul 2015, 15:22

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...
Ed

neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: random drive mnt-ing...

Post#3 by neko » 30 Jul 2015, 16:21

@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.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: random drive mnt-ing...

Post#4 by fanthom » 30 Jul 2015, 17:33

@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.
Please add [Solved] to your thread title if the solution was found.

sedstar
Black ninja
Black ninja
Posts: 35
Joined: 29 Jul 2015, 19:59
Distribution: 32bit xfce
Location: PA-USA

Re: random drive mnt-ing...

Post#5 by sedstar » 30 Jul 2015, 17:52

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 ?

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

Re: random drive mnt-ing...

Post#6 by Ed_P » 30 Jul 2015, 18:15

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
Ed

sedstar
Black ninja
Black ninja
Posts: 35
Joined: 29 Jul 2015, 19:59
Distribution: 32bit xfce
Location: PA-USA

Re: random drive mnt-ing...

Post#7 by sedstar » 30 Jul 2015, 19:59

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!

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

Re: random drive mnt-ing...

Post#8 by Ed_P » 30 Jul 2015, 20:46

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
Ed

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Re: random drive mnt-ing...

Post#9 by Jack » 30 Jul 2015, 21:55

I wish there was away to block them from the desktop. If there is away please tell me how.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

sedstar
Black ninja
Black ninja
Posts: 35
Joined: 29 Jul 2015, 19:59
Distribution: 32bit xfce
Location: PA-USA

Re: random drive mnt-ing...

Post#10 by sedstar » 30 Jul 2015, 21:55

thanks!

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

Re: random drive mnt-ing...

Post#11 by Bogomips » 30 Jul 2015, 23:39

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. :%)
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

sedstar
Black ninja
Black ninja
Posts: 35
Joined: 29 Jul 2015, 19:59
Distribution: 32bit xfce
Location: PA-USA

Re: random drive mnt-ing...

Post#12 by sedstar » 01 Aug 2015, 10:20

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...

Post Reply