Dual-booting two versions of QNX

Is dual-boot of QNX and QNX possible by straightforward means?
The installer insists on using the existing QNX partition
if you try to install onto a machine that already has a QNX
partition. Thanks.

John Nagle

Depends on your definition of ‘straightforward’, lol.
The installer will be happy as long as existing partition does not have type
79. Boot from CD, run fdisk and change type of your first partition to 78,
save and exit. Then install second partition (which will be 79).

The rest depends on what you want to use for boot loader. If you use one
supplied with QNX, it allows you to select disk and partition number during
boot, although not in particularly comfortable manner. You can use IBM
bootloader (comes with Partition Magic) or NT bootloader, or LILO, or
whatever suits you.

You’ll need to make a slightly customized boot image (some options passed to
diskboot to tell it which partition must be ‘root’) if you want to make
choice of QNX partitions at the bootloader level.

Alternatively, you can make the choice after booting a QNX image - the
diskboot will complain that it has found two partitions that want to be
‘root’ (it determines that by presence of .diskroot file on a partition) and
ask which one you want to boot into… which workable way to dual boot,
although less convinient (because it will then also ask each time which of
the base package locations you want to use).

– igor

“John Nagle” <nagle@downside.com> wrote in message
news:bedgtd$o9t$1@inn.qnx.com

Is dual-boot of QNX and QNX possible by straightforward means?
The installer insists on using the existing QNX partition
if you try to install onto a machine that already has a QNX
partition. Thanks.

John Nagle

Igor Kovalenko wrote:

Depends on your definition of ‘straightforward’, lol.

Sorry I asked.

John Nagle

If that means you took some offense, that was not my intention. Or maybe
your sense of humor is thinner than mine.
Sorry I replied…

“John Nagle” <nagle@downside.com> wrote in message
news:bedkb3$rct$1@inn.qnx.com

Igor Kovalenko wrote:
Depends on your definition of ‘straightforward’, lol.

Sorry I asked.

John Nagle

I thought it was a very good answer.

Perhaps the most straightforward answer would have been “NO”.
But really, you don’t have to jump through too many hoops to acomplish what
you want.


Bill Caroselli – 1(626) 824-7983
Q-TPS Consulting
QTPS@EarthLink.net

“Igor Kovalenko” <kovalenko@attbi.com> wrote in message
news:bedmue$191$1@inn.qnx.com

If that means you took some offense, that was not my intention. Or maybe
your sense of humor is thinner than mine.
Sorry I replied…

“John Nagle” <> nagle@downside.com> > wrote in message
news:bedkb3$rct$> 1@inn.qnx.com> …
Igor Kovalenko wrote:
Depends on your definition of ‘straightforward’, lol.

Sorry I asked.

John Nagle

Another option for dual booting different qnx versions is to use the method
that lets you boot a root.qfs from inside a fat32 partition.


An install into fat32 puts files in \Program Files\qnx\boot\fs, or something
like that.
The system actually boots by using the device driver loadqnx.sys.
You can modify your config.sys menu to to choose between different versions
of qnxbasedma.ifs.
If you can find a utility like loadsys.exe that loads and runs device
drivers from your autoexec.bat file, you can even rename the …\fs level of
the path so that you can pick a version of qnx from the config.sys menu, and
rename the directories so it is the one seen, then boot to it without those
annoying questions about which root.qfs, or qnxbase.qfs to use.

I did this a while back, but once I got upgraded to windows 2000 on a ntfs
drive, I lost track of the files.

Thanks,

John


“Bill Caroselli” <qtps@earthlink.net> wrote in message
news:beed2u$pm6$1@inn.qnx.com

I thought it was a very good answer.

Perhaps the most straightforward answer would have been “NO”.
But really, you don’t have to jump through too many hoops to acomplish
what
you want.


Bill Caroselli – 1(626) 824-7983
Q-TPS Consulting
QTPS@EarthLink.net

“Igor Kovalenko” <> kovalenko@attbi.com> > wrote in message
news:bedmue$191$> 1@inn.qnx.com> …
If that means you took some offense, that was not my intention. Or maybe
your sense of humor is thinner than mine.
Sorry I replied…

“John Nagle” <> nagle@downside.com> > wrote in message
news:bedkb3$rct$> 1@inn.qnx.com> …
Igor Kovalenko wrote:
Depends on your definition of ‘straightforward’, lol.

Sorry I asked.

John Nagle

\

Bill Caroselli wrote:

I thought it was a very good answer.

Perhaps the most straightforward answer would have been “NO”.

It appears that “No” is that’s the correct answer.
I can live with that. I was hoping that there was some
install option that would allow a QNX install into a second
partition when a version of QNX was already present, but
apparently there isn’t.

(Why? We’re having problems with Mindready’s LLA package
for IEEE-1394 support. Under QNX 6.2.1, it frequently crashes
the whole machine on startup. Under QNX 6.2.0, it works fine.
We may have to downgrade to QNX 6.2.0 because of this.
Mindready is trying to fix the problem, and they can reproduce
it, but it’s apparently difficult to isolate.)

John Nagle

John,

It is easy to install multiple versions of qnx into a windows 98 /fat32
system.
The install CD supports this (I think from 6.2 on, mabe on 6.1 also).
All you have to do is rename the directory it gets installed into and do
another install.
The more difficult part is modifying the config.sys file to let you choose
what version to boot up as.

Thanks,

John

“John Nagle” <nagle@downside.com> wrote in message
news:3F0B2A33.9060306@downside.com

Bill Caroselli wrote:
I thought it was a very good answer.

Perhaps the most straightforward answer would have been “NO”.

It appears that “No” is that’s the correct answer.
I can live with that. I was hoping that there was some
install option that would allow a QNX install into a second
partition when a version of QNX was already present, but
apparently there isn’t.

(Why? We’re having problems with Mindready’s LLA package
for IEEE-1394 support. Under QNX 6.2.1, it frequently crashes
the whole machine on startup. Under QNX 6.2.0, it works fine.
We may have to downgrade to QNX 6.2.0 because of this.
Mindready is trying to fix the problem, and they can reproduce
it, but it’s apparently difficult to isolate.)

John Nagle

John Eddy wrote:

John,

It is easy to install multiple versions of qnx into a windows 98 /fat32
system.
The install CD supports this (I think from 6.2 on, mabe on 6.1 also).
All you have to do is rename the directory it gets installed into and do
another install.
The more difficult part is modifying the config.sys file to let you choose
what version to boot up as.

Thanks,

John

That assumes we own a Microsoft operating system for
a QNX machine. We don’t.

John Nagle

John,

You can get away with just the equivalent of a win 98 emergency boot disk,
but you will have to manually install qnx to do that. The install to windows
doesn’t work in “DOS” mode.

Anyway, it isn’t as EASY if you don’t have a copy of win 98 to do this with.
You can … install to a 2 GB partition on the hard drive, and have a second
partition (extended or primary dos fat32 big enough for several versions of
QNX) to copy the installed image(s) to.
cp /dev/hd0t79 “/fs/hd0-dos/Program Files/qnx/boot/fs/root.qfs”
cp /boot/fs/qnxbasedma.ifs “/fs/hd0-dos/Program Files/qnx/boot/fs”
cd "/fs/hd0-dos/Program Files/qnx/boot
rename fs qnx6.xfs

Then install another copy over the old qnx partition, and repeat as needed.

When you have all the versions installed, you might want to make the dos
partition bootable (sys it from a win 98 EBD), and write config.sys file
that lets you boot qnx from dos (config.sys{device=loadqnx.sys
qnxbasedma.ifs}). You can then delete or hide the original install qnx
partition, and if you want to change versions, just rename the directories
from qnx, so you have the right one selected, and reboot. A bonus to this is
that you can mount and access all the different root.qfs files for each
version from any of the qnx versions. You also get a virtually unlimited
number of unique boot configurations.

But that is alot of work…

If you only need two versions, just install twice and use fdisk to change
the partition type from 79 to 78 or 77. All three of these are valid for Qnx
to install in as mentioned in an earlier post.

Good Luck,

John Eddy


“John Nagle” <nagle@downside.com> wrote in message
news:behcm3$b3p$1@inn.qnx.com

John Eddy wrote:
John,

It is easy to install multiple versions of qnx into a windows 98 /fat32
system.
The install CD supports this (I think from 6.2 on, mabe on 6.1 also).
All you have to do is rename the directory it gets installed into and do
another install.
The more difficult part is modifying the config.sys file to let you
choose
what version to boot up as.

Thanks,

John

That assumes we own a Microsoft operating system for
a QNX machine. We don’t.

John Nagle

As Igor mentioned all you have to do is change the partition type of the
version of QNX that is already installed from 79 to 78 or 77. Once this is
done you can install your second version of QNX no differently then you did
you first.

Regards,

Joe


John Eddy <john.h.eddy@lmco.com> wrote in message
news:behjgt$ijd$1@inn.qnx.com

John,

You can get away with just the equivalent of a win 98 emergency boot disk,
but you will have to manually install qnx to do that. The install to
windows
doesn’t work in “DOS” mode.

Anyway, it isn’t as EASY if you don’t have a copy of win 98 to do this
with.
You can … install to a 2 GB partition on the hard drive, and have a
second
partition (extended or primary dos fat32 big enough for several versions
of
QNX) to copy the installed image(s) to.
cp /dev/hd0t79 “/fs/hd0-dos/Program Files/qnx/boot/fs/root.qfs”
cp /boot/fs/qnxbasedma.ifs “/fs/hd0-dos/Program Files/qnx/boot/fs”
cd "/fs/hd0-dos/Program Files/qnx/boot
rename fs qnx6.xfs

Then install another copy over the old qnx partition, and repeat as
needed.

When you have all the versions installed, you might want to make the dos
partition bootable (sys it from a win 98 EBD), and write config.sys file
that lets you boot qnx from dos (config.sys{device=loadqnx.sys
qnxbasedma.ifs}). You can then delete or hide the original install qnx
partition, and if you want to change versions, just rename the directories
from qnx, so you have the right one selected, and reboot. A bonus to this
is
that you can mount and access all the different root.qfs files for each
version from any of the qnx versions. You also get a virtually unlimited
number of unique boot configurations.

But that is alot of work…

If you only need two versions, just install twice and use fdisk to change
the partition type from 79 to 78 or 77. All three of these are valid for
Qnx
to install in as mentioned in an earlier post.

Good Luck,

John Eddy


“John Nagle” <> nagle@downside.com> > wrote in message
news:behcm3$b3p$> 1@inn.qnx.com> …
John Eddy wrote:
John,

It is easy to install multiple versions of qnx into a windows 98
/fat32
system.
The install CD supports this (I think from 6.2 on, mabe on 6.1 also).
All you have to do is rename the directory it gets installed into and
do
another install.
The more difficult part is modifying the config.sys file to let you
choose
what version to boot up as.

Thanks,

John

That assumes we own a Microsoft operating system for
a QNX machine. We don’t.

John Nagle