Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Preselecting and starting the correct partition/drive on the primary boot loader: (6 Items)
   
Preselecting and starting the correct partition/drive on the primary boot loader  
I'm having a problem setting up QNX to automatically boot without a keyboard or operator intervention.  

I currently have an x86 system setup for data acquisition and need the system to startup complete and run the software 
setup rc.local.  

BUT....

The system hang on the primary boot loader with the following msg:

Press F1-F4 to select drive or select partition 1,2 1

If I have a keyboard attached and press enter, everything works perfectly but the system is meant to operate in the 
field without intervention so how do I set this up to simply go ahead and select the default and continue without the 
keyboard attached (I;m willing to put on a keyboard (although this seems ridiculous) but the system still seems to wait 
when first powered up.

Stumped

James Kelley
RE: Preselecting and starting the correct partition/drive on the primary boot loader  
> -----Message d'origine-----
> De : James Kelley [mailto:community-noreply@qnx.com]
> Envoyé : 30 septembre 2010 11:18
> À : general-filesystems
> Objet : Preselecting and starting the correct partition/drive on the primary
> boot loader
> 
> I'm having a problem setting up QNX to automatically boot without a
> keyboard or operator intervention.
> 
> I currently have an x86 system setup for data acquisition and need the
> system to startup complete and run the software setup rc.local.
> 
> BUT....
> 
> The system hang on the primary boot loader with the following msg:
> 
> Press F1-F4 to select drive or select partition 1,2 1

Remove de .diskboot file on the second disk/partition

> 
> If I have a keyboard attached and press enter, everything works perfectly
> but the system is meant to operate in the field without intervention so how
> do I set this up to simply go ahead and select the default and continue
> without the keyboard attached (I;m willing to put on a keyboard (although
> this seems ridiculous) but the system still seems to wait when first powered
> up.
> 
> Stumped
> 
> James Kelley
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post69183
> 
Re: RE: Preselecting and starting the correct partition/drive on the primary boot loader  
>>  Remove de .diskboot file on the second disk/partition

Where do I find this .diskboot file -- in which sub-directory -- I cannot locate it anywhere.

Did you perhaps mean .diskroot rather then .diskboot ???

I've very sorry to be so obtuse but I have very little experience with filesystems

Thanks in Advanced

James Kelley
Re: RE: Preselecting and starting the correct partition/drive on the primary boot loader  
Further Information
If I run the df command, I get the following:

/dev/hd0t179             8160920   5259310   2901610      65%  /               
/dev/hd0t177            23085184    788762  22296422       4%  /fs/hd0-qnx6-2/ 
/dev/hd0                31277056  31277056         0     100%     

I am assuming /dev/hd0t177 is the second partition

but if I run 

ls -la on /fs/hd0-qnx6-2  

I get the following

drwxrwxr-x  3 root      root           1024 Sep 30 18:16 .
drwxrwxr-x  3 root      root           1024 Sep 30 18:16 ..
drwx------     2 root      root           1024 Sep 30 18:16 .boot

I can find no files or other sub-directories in .boot

Any other suggestions

 


Re: RE: Preselecting and starting the correct partition/drive on the primary boot loader  
> >>  Remove de .diskboot file on the second disk/partition
> 
> Where do I find this .diskboot file -- in which sub-directory -- I cannot 
> locate it anywhere.
> 
> Did you perhaps mean .diskroot rather then .diskboot ???
> 
> I've very sorry to be so obtuse but I have very little experience with 
> filesystems
> 
> Thanks in Advanced
> 
> James Kelley


Yes, it should be .diskroot. See the Controlling How Neutrino Starts chapter of the Neutrino User's Guide:

http://www.qnx.com/developers/docs/6.5.0/topic/com.qnx.doc.neutrino_user_guide/starting.html

Steve Reid (stever@qnx.com)
Technical Editor
QNX Software Systems 
Re: RE: Preselecting and starting the correct partition/drive on the primary boot loader  
After re-reading your original question, I don't think an extra .diskroot file is your problem (it isn't used until 
later). As I understand it, the primary boot loader should time-out and boot the default partition. What's the second 
partition for?