I have a Single Board Computer (SBC) with a set of peripheral ports on it, such as serial, PS2, VGA port etc. along with IDE flash drive of 64 MB. The QNX 4.25 version is loaded into this 64 MB IDE flash drive. When I insert this SBC board into chassis, I am able to boot into the QNX 4.25 and I got the login prompt. The IDE flash drive is connected to this SBC as Primary IDE.
I have also another SBC, with a different version, where I am able to connect this IDE flash drive to a secondary IDE cable. I am able to boot from this board too using the above 64 MB IDE flash drive. However I end up with the following errors.
[color=red]Fsys cannot configure drive 1 (no ide controller present)
Please review your hardware configuration
mount -p: open () on /dev/hd0 failed: No such file or directory
By looking at those messages, I thought that the QNX OS loaded into the flash drive while the IDE flash drive connected as a Primary IDE. That is the reason, it is looking into hd0 and drive 0 instead of hd1 (secondary IDE) and drive1. Here my question is, how can I configure this already loaded QNX OS to boot from a secondary IDE cable instead of primary IDE cable. Where can I change these drive parameters from hd0 to hd1?
FYI, I have looked at the /etc/config/sysinit and /etc/config/sysinit.1 files. But there is no much luck for me. I tried to look at the .boot file also. However, I am not able to open the .boot file with the existing VI editor. The VI editor shows the following error message.
[color=red]File too big. Limit is approx 2048 K bytes only.
Even I tried to open it in the PED, which is a Photon Application, but there is also no luck. Please let me know, how can I open the .boot file and is there any parameters that I can modify for my above requirement.
Sorry for such a lengthy email. I want to explain to you all in detail and it is.
Thanks in advance.