MBR Overwrite ?

I have a Win2k Installed drive with 20GB space, I want the Win2k boot loader
to handle the boot up process even after QNX is installed.

the best option i guess is :

a.) create qnx boot floopy while install
b.) boot using this disk, use the dd command and create a boot image,
c.) copy this boot image to a floppy,
d.) edit boot.ini in win2k. to point to this image.


that sounds ok. now the problem is before i start , i have a query … :slight_smile:
will the QNX setup overwrite the MBR ?


regs
nitin

Hi Nitin,
QNX setup will write into MBR, be sure :wink: If you select QNX boot loader it will rewrite MBR’s
startup code (QNX loader lives in MBR); if you select your own loader (it was an example LILO in
QNX 6.0, I don’t know how exactly this question sounds in 6.1 installation) it will only creat
MBR’s partition entry for QNX partition (and, perhaps, it will mark QNX partition as active, it was
so in 6.0). So, you want to creat NT boot floppy and use NT’s windisk to change back active
partitions after QNX installation, or use any other method you know :wink:. You could use DOS’s “fdisk
/mbr” to restore MBR’s startup code for some ocassions.
HTH.
Happy New Year!
Eduard.

Nitin Koshy <nitinkoshy@agnisoft.com> wrote in article <a0jrj1$d22$1@inn.qnx.com>…

I have a Win2k Installed drive with 20GB space, I want the Win2k boot loader
to handle the boot up process even after QNX is installed.

the best option i guess is :

a.) create qnx boot floopy while install
b.) boot using this disk, use the dd command and create a boot image,
c.) copy this boot image to a floppy,
d.) edit boot.ini in win2k. to point to this image.

Don’t forget to copy a 512 bytes image from floppy to NT boot partition :wink:

that sounds ok. now the problem is before i start , i have a query … > :slight_smile:
will the QNX setup overwrite the MBR ?


regs
nitin
\

ok now , is there an option to install the QNX boot loader into the first
sector than to the MBR , the way most linux installations does.
ie is there an option which says ‘dont install’ QNX boot loader or ‘install
on first sector’ ?..

i dont want to start the install and get screwed :wink:… yes the win boot disk
is a good [and last] option i guess :slight_smile:

regs
nitin






“ed1k” <ed1k@yahoo.com> wrote in message
news:01c19042$93669760$106fa8c0@ED1K…

Hi Nitin,
QNX setup will write into MBR, be sure > :wink: > If you select QNX boot loader
it will rewrite MBR’s
startup code (QNX loader lives in MBR); if you select your own loader (it
was an example LILO in
QNX 6.0, I don’t know how exactly this question sounds in 6.1
installation) it will only creat
MBR’s partition entry for QNX partition (and, perhaps, it will mark QNX
partition as active, it was
so in 6.0). So, you want to creat NT boot floppy and use NT’s windisk to
change back active
partitions after QNX installation, or use any other method you know > :wink:> .
You could use DOS’s “fdisk
/mbr” to restore MBR’s startup code for some ocassions.
HTH.
Happy New Year!
Eduard.

Nitin Koshy <> nitinkoshy@agnisoft.com> > wrote in article
a0jrj1$d22$> 1@inn.qnx.com> >…
I have a Win2k Installed drive with 20GB space, I want the Win2k boot
loader
to handle the boot up process even after QNX is installed.

the best option i guess is :

a.) create qnx boot floopy while install
b.) boot using this disk, use the dd command and create a boot image,
c.) copy this boot image to a floppy,
d.) edit boot.ini in win2k. to point to this image.

Don’t forget to copy a 512 bytes image from floppy to NT boot partition
:wink:



that sounds ok. now the problem is before i start , i have a query … > :slight_smile:
will the QNX setup overwrite the MBR ?


regs
nitin
\

You don’t need QNX boot loader at all. You have to select “own loader” during QNX installation,
then you have to write boot sector of QNX partition to a file:

mount -t dos /dev/fd0 /fs/fd-dos

dd if=/dev/hd0t79 of=/fs/fd-dos/qnxrtp.bs bs=512 count=1

Use this file in boot.ini of win2k
C:\qnxrtp.bs=“QNX RealTime Platform 6.1A”
It’s all. The only trouble I had ran into it was the active partition after QNX installation (it
was QNX partitions). Standard mbr loader looks for active partition, QNX’s mbr loader looks for
active partition or you can type partition number (“4” for first entry, perhaps it’s win2k in your
system :wink:)
In other words, you want “dont install QNX boot loader” because you want to use ntldr.
Oh, I suppose we speak about one primary master disk? If you want to install QNX into other drive
this procedure will changed a little :wink:
Eduard.


Nitin Koshy <nitinkoshy@agnisoft.com> wrote in article <a0jvko$ggj$1@inn.qnx.com>…

ok now , is there an option to install the QNX boot loader into the first
sector than to the MBR , the way most linux installations does.
ie is there an option which says ‘dont install’ QNX boot loader or ‘install
on first sector’ ?..

i dont want to start the install and get screwed > :wink:> … yes the win boot disk
is a good [and last] option i guess > :slight_smile:

regs
nitin

Nitin,
QNX boot loader is quite different from LILO. There is partition loader and system loader in QNX
RTP. I was speaking about partition loader. Partition loader is for partitioned devices as HD, for
example. It lives in MBR. And system loader loads QNX (looks for startup image /.boot or /.altboot,
loads it to memory and pass control to that image). It lives in boot sector. Since you will copy
boot sector to a file, system loader will started by ntldr (instead by MBR’s loader as it’s in
default installation).
Eduard.