Multiboot support?

I downloaded QNX 6.2 and have it installed on a small machine that
I also am attempting to run FreeBSD 4.6.2 on. This is all in
regards to my Ph.D. research on multiplatform software development.

I have done:

FreeBSD installed to the first IDE disk and installing the FreeBSD
bootloader
QNX 6.2 installed to the second IDE disk, putting the boot in the
QNX partition (option F3 from the installation).

I’ve decided to use GRUB to multiboot (I’ve already had failed
attempts using the multi boot from FreeBSD and from QNX). I can
boot FreeBSD without any issues from GRUB.

When I attempt to multiboot QNX from GRUB, I get the following

…altboot…S

followed by a hung system. I know the installation is still
good because I can boot from the CDROM without any issues.

Any thoughts/suggestions on why the QNX boot hangs. And after
the QNX installation, I no logner have an active partition to
boot from - on either disk. Is booting to DOS and making one
active the only solution??

Many thanks!

jerry

Jerry Heyman | “Software is the difference between hardware
Amiga forever :frowning: | and reality”
heymanj@acm.org | http://vcard.acm.org/~heymanj

heymanj@acm.org sed in <3D9A546F.988609F0@acm.org>

I’ve decided to use GRUB to multiboot (I’ve already had failed
attempts using the multi boot from FreeBSD and from QNX). I can

QNX isn’t MultiBoot compliant.

When I attempt to multiboot QNX from GRUB, I get the following
.altboot…S

Post the menu.lst . You seem to be doing some weird.
Also output of “fdisk /dev/hd0 show” “fdisk /dev/hd1 show” may help

kabe

kabe@sra-tohoku.co.jp wrote:

heymanj@acm.org > sed in <> 3D9A546F.988609F0@acm.org

I’ve decided to use GRUB to multiboot (I’ve already had failed
attempts using the multi boot from FreeBSD and from QNX). I can

QNX isn’t MultiBoot compliant.

But on the installation, it tells you you can install their multiboot
loader.

When I attempt to multiboot QNX from GRUB, I get the following
.altboot…S

Post the menu.lst . You seem to be doing some weird.

I don’t yet have a menu.lst, I’ve been using GRUB interactively
from a floppy until I felt confident enough to install it on the
actual 1st EIDE drive.

I do the following:

grub> rootnoverify (hd1,0)
grub> makeactive
grub> chainloader +1
grub> boot

The result is:

Hit ESC for .altboot…S


Also output of “fdisk /dev/hd0 show” “fdisk /dev/hd1 show” may help

fdisk /dev/hd0 show

OS Start End Number Size Boot
Name type Cylinder Cyl Blocks

  1. nonQNX 165 0 619 619 4999617 2441 MB *

fdisk /dev/hd1 show
OS Start End Number Size Boot
Name type Cylinder Cyl Blocks

  1. QNZ 79 0 781 781 3152961 1539 MB *



kabe

jerry

Jerry Heyman | “Software is the difference between hardware
Amiga forever :frowning: | and reality”
heymanj@acm.org | http://vcard.acm.org/~heymanj

heymanj@acm.org sed in <3D9A546F.988609F0@acm.org>

.altboot…S

‘S’ seems to say that the /.boot wasn’t a valid boot file.
try “cp /fs/cd0/boot/fs/qnxbase.ifs /fs/hd1-qnx4/.boot” from CDROM boot.

kabe

kabe@sra-tohoku.co.jp wrote:

heymanj@acm.org > sed in <> 3D9A546F.988609F0@acm.org

.altboot…S

‘S’ seems to say that the /.boot wasn’t a valid boot file.
try “cp /fs/cd0/boot/fs/qnxbase.ifs /fs/hd1-qnx4/.boot” from CDROM boot.

No such luck. Same result.
Tried qnxbasedma.ifs, with the same result - .altboot…S
Tried qnxbasesmp.ifs (even though its NOT an SMP machine) I
got the following:

F1 FreeBSD
F5 Drive 1

Default: F5

Press F1-F4 to select drive or select partition 1? 1
Hit Esc for .altboot…S

Which appears to be the FreeBSD multiboot manager (?).
This occurred because somehow because CDROM was empty,
and C drive was used to boot prior to floppy.

A reboot after the hang lead back to GRUB on the floppy
and it failed the same way as the other options :frowning:

The interesting thing to note is that when I boot with the install
CDROM, I then chose boot from hard disk (F1) and it boots correctly
from the 2nd hard disk :frowning:


kabe

jerry

Jerry Heyman | “Software is the difference between hardware
Amiga forever :frowning: | and reality”
heymanj@acm.org | http://vcard.acm.org/~heymanj

heymanj@acm.org sed in <3D9CFA6B.3837105E@acm.org>

.altboot…S

‘S’ seems to say that the /.boot wasn’t a valid boot file.
try “cp /fs/cd0/boot/fs/qnxbase.ifs /fs/hd1-qnx4/.boot” from CDROM boot.

No such luck. Same result.

Then the bootloader isn’t even seeing the qnx partition.

I guess I can do something if onsite, but it seems beyond solving you alone;
if you don’t have GRUB/pc-booting guru there,
don’t try to be smart and install QNX on the first HDD.
(FreeBSD should be able to boot from 2nd)

kabe

kabe@sra-tohoku.co.jp wrote:

heymanj@acm.org > sed in <> 3D9CFA6B.3837105E@acm.org

.altboot…S

‘S’ seems to say that the /.boot wasn’t a valid boot file.
try “cp /fs/cd0/boot/fs/qnxbase.ifs /fs/hd1-qnx4/.boot” from CDROM boot.

No such luck. Same result.

Then the bootloader isn’t even seeing the qnx partition.

I guess I can do something if onsite, but it seems beyond solving you alone;
if you don’t have GRUB/pc-booting guru there,
don’t try to be smart and install QNX on the first HDD.
(FreeBSD should be able to boot from 2nd)

Thanks for all your help. Moving it to the first drive was my
next option…

jerry

kabe


Jerry Heyman | “Software is the difference between hardware
Amiga forever :frowning: | and reality”
heymanj@acm.org | http://vcard.acm.org/~heymanj

Jerry’s Home Linux Acct <heymanj@acm.org> wrote:

kabe@sra-tohoku.co.jp > wrote:

heymanj@acm.org > sed in <> 3D9A546F.988609F0@acm.org

I’ve decided to use GRUB to multiboot (I’ve already had failed
attempts using the multi boot from FreeBSD and from QNX). I can

QNX isn’t MultiBoot compliant.

But on the installation, it tells you you can install their multiboot
loader.

QNX6.2 isn’t MultiBoot compliant. But I think that Grub MultiBoot support
is on the list for a future 6.2 update/patch. Ask your sales rep.
You just change your build files from
[virtual=x86,bios +compress]
to

gzip your image afterwards

[virtual=x86,elf -compress]

Just put drive translation in GRUB (fake second HDD as first)
I’ve been booting QNX (two installations, one on first HDD and other on
second, with W2K and NetBSD without issues. Using any of XOSL or QNX boot
loader)



“Jerry’s Home Linux Acct” <heymanj@acm.org> wrote in message
news:3D9A546F.988609F0@acm.org

I downloaded QNX 6.2 and have it installed on a small machine that
I also am attempting to run FreeBSD 4.6.2 on. This is all in
regards to my Ph.D. research on multiplatform software development.

I have done:

FreeBSD installed to the first IDE disk and installing the FreeBSD
bootloader
QNX 6.2 installed to the second IDE disk, putting the boot in the
QNX partition (option F3 from the installation).

I’ve decided to use GRUB to multiboot (I’ve already had failed
attempts using the multi boot from FreeBSD and from QNX). I can
boot FreeBSD without any issues from GRUB.

When I attempt to multiboot QNX from GRUB, I get the following

.altboot…S

followed by a hung system. I know the installation is still
good because I can boot from the CDROM without any issues.

Any thoughts/suggestions on why the QNX boot hangs. And after
the QNX installation, I no logner have an active partition to
boot from - on either disk. Is booting to DOS and making one
active the only solution??

Many thanks!

jerry

Jerry Heyman | “Software is the difference between hardware
Amiga forever > :frowning: > | and reality”
heymanj@acm.org > | > http://vcard.acm.org/~heymanj

Dumb question: What is GRUB? This is a new term on me.

“Akhilesh Mritunjai” ~mritun~@REMOVETHISBIT.me.iitb.ac.in.ANDTHISLASTBIT
wrote in message news:ao6ovh$f39$1@inn.qnx.com

Just put drive translation in GRUB (fake second HDD as first)
I’ve been booting QNX (two installations, one on first HDD and other on
second, with W2K and NetBSD without issues. Using any of XOSL or QNX boot
loader)

“Bill Caroselli (Q-TPS)” <QTPS@earthlink.net> wrote:

Dumb question: What is GRUB? This is a new term on me.

http://www.gnu.org/directory/grub.html

“Akhilesh Mritunjai” <~mritun~@REMOVETHISBIT.me.iitb.ac.in.ANDTHISLASTBIT
wrote in message news:ao6ovh$f39$> 1@inn.qnx.com> …
Just put drive translation in GRUB (fake second HDD as first)
I’ve been booting QNX (two installations, one on first HDD and other on
second, with W2K and NetBSD without issues. Using any of XOSL or QNX boot
loader)


Kirk Russell Bridlewood Software Testers Guild

Akhilesh Mritunjai wrote:

Just put drive translation in GRUB (fake second HDD as first)
I’ve been booting QNX (two installations, one on first HDD and other on
second, with W2K and NetBSD without issues. Using any of XOSL or QNX boot
loader)

I’m using GRUB via a floppy on boot. I do:

grub> map (hd0) (hd1)
grub> map (hd1) (hd0)
grub> rootnoverify (hd0,0)
grub> chainloader +1
grub> makeactive
grub> boot

And it just sits there :frowning:

Did I miss something in your suggestion??

jerry

kirk wrote:

Jerry’s Home Linux Acct <> heymanj@acm.org> > wrote:
kabe@sra-tohoku.co.jp > wrote:

heymanj@acm.org > sed in <> 3D9A546F.988609F0@acm.org

I’ve decided to use GRUB to multiboot (I’ve already had failed
attempts using the multi boot from FreeBSD and from QNX). I can

QNX isn’t MultiBoot compliant.

But on the installation, it tells you you can install their multiboot
loader.

QNX6.2 isn’t MultiBoot compliant. But I think that Grub MultiBoot support
is on the list for a future 6.2 update/patch. Ask your sales rep.
You just change your build files from
[virtual=x86,bios +compress]
to

gzip your image afterwards

[virtual=x86,elf -compress]

Actually, I can now multi-boot FreeBSD and QNX.

While I couldn’t get GRUB to work, I stumbled across GAG.
http://www.rastersoft.com/gageng.htm

Installed it onto a floppy for testing, and within 2 minutes
I was successfully multibooting both QNX 6.2 and FreeBSD.

Way cool.

jerry

Jerry Heyman | “Software is the difference between hardware
Amiga forever :frowning: | and reality”
heymanj@acm.org | http://www.cs.stedwards.edu/~heyman