Can QNX boot from the Second Master HD?

I tried to boot QNX6.1 from the 32M CF Flash Card which is treated as the
Second Master HD of my industrial computer.So I created a build file and
then a image file called myifs.ifs.The myifs.ifs works fine when it’s
dinited to a flopy disk or replace the .altboot of the HD,but can not happy
the CF card.The following is waht I’ve done with the CF card:
1,fdisk it,delete all the existing partitions,make it bootable.Reboot the
computer.
2,dinit -f myifs.ifs
3,pull my real HD(Primary Master one) off and in the bios change the boot
sequence.
After that…when boot,the computer just gave me a message “Hit ESE to
boot from .altbootD” and then hanged.In that time I can use “Ctrl+Alt+Del”
to reboot the computer.so I am sure the bios found the boot partition and
the QNX loader seemed was in its place.so…why didn’t it go on?any help will
be very appreciated.
Best Regards
ChaoLi.

Hi ChaoLi,
QNX 6.1 has ability to boot from second HDD. Unfortunately I can’t reach the QDN website for some
reason at the moment in order to be more specific and point the docs. I suspect your system is x86.
QNX boot loader lives in MBR, so you could write the boot loader with multidisk support into MBR of
your primary master in order to have ability to boot from secondary master (without BIOS change).
But it seems you have the problem of other sort (because you have selected the boot partition by
BIOS). I believe you have chosen wrong IPL or standard IPL does not support your flash device.
Best regards,
Eduard.


ChaoLi <qnx_new@sohu.com> wrote in article <9ptqpb$r5t$1@inn.qnx.com>…

I tried to boot QNX6.1 from the 32M CF Flash Card which is treated as the
Second Master HD of my industrial computer.So I created a build file and
then a image file called myifs.ifs.The myifs.ifs works fine when it’s
dinited to a flopy disk or replace the .altboot of the HD,but can not happy
the CF card.The following is waht I’ve done with the CF card:
1,fdisk it,delete all the existing partitions,make it bootable.Reboot the
computer.
2,dinit -f myifs.ifs
3,pull my real HD(Primary Master one) off and in the bios change the boot
sequence.
After that…when boot,the computer just gave me a message “Hit ESE to
boot from .altbootD” and then hanged.In that time I can use “Ctrl+Alt+Del”
to reboot the computer.so I am sure the bios found the boot partition and
the QNX loader seemed was in its place.so…why didn’t it go on?any help will
be very appreciated.
Best Regards
ChaoLi.

Hi Edlk:
Thanks for your interesting.I want really something about “embeding”,So I
do not expect to boot first from a primary master and then the second
master.But your advice gave me a clue,I will try install a boot master (or
something like it) to the CF HD and see if it can work and I will post the
result here.
Yes,my system is a X86 one and the standard IPL is used.I think I need not
to care the difference between the CF HD and a real mechanical one,because
the computer’s BIOS or the CF Card driver will do it.I can use the driver of
io-blk to access it after it is mounted.
anyother idea?
Thanks a lot


“ed1k” <ed1k@yahoo.com> wrote in message
news:01c150a2$249122e0$766fa8c0@ED1K…

Hi ChaoLi,
QNX 6.1 has ability to boot from second HDD. Unfortunately I can’t reach
the QDN website for some
reason at the moment in order to be more specific and point the docs. I
suspect your system is x86.
QNX boot loader lives in MBR, so you could write the boot loader with
multidisk support into MBR of
your primary master in order to have ability to boot from secondary master
(without BIOS change).
But it seems you have the problem of other sort (because you have selected
the boot partition by
BIOS). I believe you have chosen wrong IPL or standard IPL does not
support your flash device.
Best regards,
Eduard.


ChaoLi <> qnx_new@sohu.com> > wrote in article <9ptqpb$r5t$> 1@inn.qnx.com> >…
I tried to boot QNX6.1 from the 32M CF Flash Card which is treated as
the
Second Master HD of my industrial computer.So I created a build file and
then a image file called myifs.ifs.The myifs.ifs works fine when it’s
dinited to a flopy disk or replace the .altboot of the HD,but can not
happy
the CF card.The following is waht I’ve done with the CF card:
1,fdisk it,delete all the existing partitions,make it bootable.Reboot
the
computer.
2,dinit -f myifs.ifs
3,pull my real HD(Primary Master one) off and in the bios change the
boot
sequence.
After that…when boot,the computer just gave me a message “Hit ESE
to
boot from .altbootD” and then hanged.In that time I can use
“Ctrl+Alt+Del”
to reboot the computer.so I am sure the bios found the boot partition
and
the QNX loader seemed was in its place.so…why didn’t it go on?any help
will
be very appreciated.
Best Regards
ChaoLi.

ChaoLi <qnx_new@sohu.com> wrote in article <9pumbl$du3$1@inn.qnx.com>…

Hi Edlk:
Thanks for your interesting.I want really something about “embeding”,So I
do not expect to boot first from a primary master and then the second
master.But your advice gave me a clue,I will try install a boot master (or
something like it) to the CF HD and see if it can work and I will post the
result here.
Yes,my system is a X86 one and the standard IPL is used.I think I need not
to care the difference between the CF HD and a real mechanical one,because
the computer’s BIOS or the CF Card driver will do it.

During boot up process? QNX allows you to creat image for architecture without BIOS at all. You
need do care about IPL which only uses BIOS’s (or where is the driver of CF Card? you have no any
OS yet, your system in i8086 real-mode now) calls to read data from flash device in order to boot
from it. System (QNX loader, who is living in MBR of your flash) has found and read boot sector of
your flash drive (you have seen “Press ESC…”) and then hangs. But it means IPL (after print out
the message) can not read other part of image.

Best regards.
Edik

Hi,Edlk:
I mean the CF driver just the BIOS’s call,the call has the uniformed
interface (or parameter) and different content for the real HD and the CF
HD,am I right?so,if I want to read something from the flash device I need
just tell the ‘call’ that which ‘sectors’ I want to read,I do not need care
how the call translate the bytes of the flash into the sectors.As to me
think,all the read and write disk operations are through the bios call(int19
perhaps) in any OS .
Yes,my problem is just that the IPL can not read the other part of the boot
image.there must be something I am not so clear,so,how can I tell the QNX
the difference between a flash HD and a real HD?

“ed1k” <ed1k@yahoo.com> wrote in message
news:01c150be$4477e140$766fa8c0@ED1K…

ChaoLi <> qnx_new@sohu.com> > wrote in article <9pumbl$du3$> 1@inn.qnx.com> >…
Hi Edlk:
Thanks for your interesting.I want really something about
“embeding”,So I
do not expect to boot first from a primary master and then the second
master.But your advice gave me a clue,I will try install a boot master
(or
something like it) to the CF HD and see if it can work and I will post
the
result here.
Yes,my system is a X86 one and the standard IPL is used.I think I need
not
to care the difference between the CF HD and a real mechanical
one,because
the computer’s BIOS or the CF Card driver will do it.

During boot up process? QNX allows you to creat image for architecture
without BIOS at all. You
need do care about IPL which only uses BIOS’s (or where is the driver of
CF Card? you have no any
OS yet, your system in i8086 real-mode now) calls to read data from flash
device in order to boot
from it. System (QNX loader, who is living in MBR of your flash) has found
and read boot sector of
your flash drive (you have seen “Press ESC…”) and then hangs. But it
means IPL (after print out
the message) can not read other part of image.

Best regards.
Edik

ChaoLi <qnx_new@sohu.com> wrote in article <9pv2ch$ke3$1@inn.qnx.com>…

Hi,Edlk:
I mean the CF driver just the BIOS’s call,the call has the uniformed
interface (or parameter) and different content for the real HD and the CF
HD,am I right?so,if I want to read something from the flash device I need
just tell the ‘call’ that which ‘sectors’ I want to read,I do not need care
how the call translate the bytes of the flash into the sectors.As to me
think,all the read and write disk operations are through the bios call(int19
perhaps) in any OS .

No, many OSes do not use int 0x13 (int 19) for disk operation.

Yes,my problem is just that the IPL can not read the other part of the boot
image.there must be something I am not so clear,so,how can I tell the QNX
the difference between a flash HD and a real HD?

If my memory serves me you could find different IPL under /boot/ . Also you want to read “Embedded
system” doc.