QNX 6.0B and 6.2 dual boot

I have two hard drives in my PC system. Primary has QNX 6.2 installed on it
and secondary has QNX 6.0B installed on 4th partition. Each of this hard
drives boots if only one is attached as a primary. When system boots from
the hardrive with QNX 6.2 ( when secondary hard drive with QNX 6.0B is
present) it gives me an option to select drive so I select F2. Next line on
the screen says select partition ? 4. When I confirm that partition
“Presss Esc for alternate OS” text is displayd and after a few seconds only
two dots show up on the screen and system is frozen.
Please advice how to make my system bootable from those two diffrent hard
drives.

Janusz.

Hi Janusz,

It was discussed many times in these newsgroups… In a nutshell, you have
to change the boot partition code in the bootsector of QNX on second hard
drive. It’s placed at offset 0x11 in bootsector and usually it’s 0x80 (first
drive in BIOS notation), so change this byte to 0x81 (second drive in BIOS
notation). Should be OK.

Cheers,
Eduard.

“Janusz Ruszel” <janusz_ruszel@baxter.com> wrote in message
news:ao5250$g6d$1@inn.qnx.com

I have two hard drives in my PC system. Primary has QNX 6.2 installed on
it
and secondary has QNX 6.0B installed on 4th partition. Each of this hard
drives boots if only one is attached as a primary. When system boots from
the hardrive with QNX 6.2 ( when secondary hard drive with QNX 6.0B is
present) it gives me an option to select drive so I select F2. Next line
on
the screen says select partition ? 4. When I confirm that partition
“Presss Esc for alternate OS” text is displayd and after a few seconds
only
two dots show up on the screen and system is frozen.
Please advice how to make my system bootable from those two diffrent hard
drives.

Janusz.

ed1k@nobody.fools.ca sed in <aoq9mh$lfh$1@inn.qnx.com>

It was discussed many times in these newsgroups… In a nutshell, you have
to change the boot partition code in the bootsector of QNX on second hard
drive. It’s placed at offset 0x11 in bootsector and usually it’s 0x80 (first
Well actually only a couple of times…

6.2 bootsector seems to dynamically update this 0x11 offset,
if DL register wasn’t 0x80. (the register to pass drive# for BIOS INT13 family)

So if the MBR bootloader passes DL=0x81, in theory you can boot from
second HDD…

Accordingly, if MBR bootloader passes some funky value for DL
you can’t read the /.boot
(no dots,lotsa dots, or ‘S’ after “Press Esc for .altboot”)

This could be a gotcha if you extract second HDD’s QNX PBR to first HDD
and use it via ntldr,GRUB,whatever.

kabe

<kabe@sra-tohoku.co.jp> wrote in message news:aoss58$hb2$1@inn.qnx.com

ed1k@nobody.fools.ca > sed in <aoq9mh$lfh$> 1@inn.qnx.com

6.2 bootsector seems to dynamically update this 0x11 offset,
if DL register wasn’t 0x80. (the register to pass drive# for BIOS INT13
family)

Seems I miss something… I’ve made file comparison of secondary bootloaders
from 6.1 and 6.2NC. They are identical… Really very odd… To be honest I
compared blah-blah-*-flop loaders… sorry if it’s glitch of my memory :slight_smile:

Eduard.

kabe