Booting LS-120 on QNX 4.25

I notice that under QNX6, LS-120s can be booted from. Is this possible
under QNX 4.25E - I cannot find the ‘dloader’ tool refered to by the
QNX Knowledge Base article (which refers to QNX 6.1).

Thanks in advance

William Morris
wrm@innovation-tk.com

William Morris <wrm@innovation-tk.com> wrote:

I notice that under QNX6, LS-120s can be booted from. Is this possible
under QNX 4.25E - I cannot find the ‘dloader’ tool refered to by the
QNX Knowledge Base article (which refers to QNX 6.1).

Can I just use ‘dd’ to copy the boot sector (presumably the 1st 512
bytes) from a floppy and then, again using dd, dump this onto an
LS120? Is the loader program the same for both?

Thanks

William Morris
wrm@innovation-tk.com

William Morris <wrm@innovation-tk.com> wrote:

William Morris <> wrm@innovation-tk.com> > wrote:
I notice that under QNX6, LS-120s can be booted from. Is this possible
under QNX 4.25E - I cannot find the ‘dloader’ tool refered to by the
QNX Knowledge Base article (which refers to QNX 6.1).

Can I just use ‘dd’ to copy the boot sector (presumably the 1st 512
bytes) from a floppy and then, again using dd, dump this onto an
LS120? Is the loader program the same for both?

The problem is the floppy drive sits on the IDE/ATAPI interface, and
thus if you wanted to use dinit, it believes that it should be a fixed disk.

Have you tryed fdisk’ing the drive or dinit’ing the drive?

I’m not sure if dd’ing the floppy loader will work, but it’s worth a try.

-Adam

Operating System for Tech Supp <os@qnx.com> wrote:

The problem is the floppy drive sits on the IDE/ATAPI interface, and
thus if you wanted to use dinit, it believes that it should be a fixed disk.

Have you tryed fdisk’ing the drive or dinit’ing the drive?

Using fdisk and then dinit appears to work. The resulting disk can
then be used to boot but upon booting the HARD disk gets mounted as /
This conflicts with what the boot image instructs:
/bin/mount
$ /bin/mount -p /dev/fd0 /dev/fd0t77 /

I don’t know why this is happening.

Changing the BIOS to hide the hard disk (master) results in an
operating system not found message. I haven’t tried setting the
LS-120 as master. Is this likely to work?
(However, since I am trying to create a non-technical user’s
in-field recovery disk, requiring the user to take the system apart
and change links is no use).

I’m not sure if dd’ing the floppy loader will work, but it’s worth a try.

dd’ing the loader from one floppy to another works fine but I haven’t
tried it on an LS120. I have put a partition on the disk and I
imagine this info is held in the boot sector too, so putting a floppy
boot sector would seem wrong. Am I mistaken? I tried to format the
LS120 like a floppy (ie without using a partition table) but fdformat
didn’t understand how big the LS120 is.

Regards

William Morris
wrm@innovation-tk.com

Hi,


Try mounting the LS-120 as a regular partition (ex: /LS120, then
prefix the LS-120 partition to ‘/’ after you boot.

ex: mount -p /dev/fd0 /dev/fd0t77 /LS120
prefix -R /=/LS120/

Regards,

Joe

William Morris <wrm@innovation-tk.com> wrote:

Operating System for Tech Supp <> os@qnx.com> > wrote:

The problem is the floppy drive sits on the IDE/ATAPI interface, and
thus if you wanted to use dinit, it believes that it should be a fixed disk.

Have you tryed fdisk’ing the drive or dinit’ing the drive?

Using fdisk and then dinit appears to work. The resulting disk can
then be used to boot but upon booting the HARD disk gets mounted as /
This conflicts with what the boot image instructs:
/bin/mount
$ /bin/mount -p /dev/fd0 /dev/fd0t77 /

I don’t know why this is happening.

Changing the BIOS to hide the hard disk (master) results in an
operating system not found message. I haven’t tried setting the
LS-120 as master. Is this likely to work?
(However, since I am trying to create a non-technical user’s
in-field recovery disk, requiring the user to take the system apart
and change links is no use).

I’m not sure if dd’ing the floppy loader will work, but it’s worth a try.

dd’ing the loader from one floppy to another works fine but I haven’t
tried it on an LS120. I have put a partition on the disk and I
imagine this info is held in the boot sector too, so putting a floppy
boot sector would seem wrong. Am I mistaken? I tried to format the
LS120 like a floppy (ie without using a partition table) but fdformat
didn’t understand how big the LS120 is.

Regards

William Morris
wrm@innovation-tk.com

Something else for those that don’t like to mix /dev/fdx with floppy and
ls-120
there is an undocumented option (at least undoc’d in 4.24):

Fsys.eide fsys -f ls

This will cause the LS-120 to be defined as /dev/ls0 so you don’t have
to watch the ordering for /dev/fd0 and /dev/fd1 to know which is the
real floppy.

Jay

Hardware Support Account wrote in message <9q1nrs$nnm$1@nntp.qnx.com>…

Hi,


Try mounting the LS-120 as a regular partition (ex: /LS120, then
prefix the LS-120 partition to ‘/’ after you boot.

ex: mount -p /dev/fd0 /dev/fd0t77 /LS120
prefix -R /=/LS120/

Regards,

Joe

William Morris <> wrm@innovation-tk.com> > wrote:
Operating System for Tech Supp <> os@qnx.com> > wrote:

The problem is the floppy drive sits on the IDE/ATAPI interface, and
thus if you wanted to use dinit, it believes that it should be a fixed
disk.

Have you tryed fdisk’ing the drive or dinit’ing the drive?

Using fdisk and then dinit appears to work. The resulting disk can
then be used to boot but upon booting the HARD disk gets mounted as /
This conflicts with what the boot image instructs:
/bin/mount
$ /bin/mount -p /dev/fd0 /dev/fd0t77 /

I don’t know why this is happening.

Changing the BIOS to hide the hard disk (master) results in an
operating system not found message. I haven’t tried setting the
LS-120 as master. Is this likely to work?
(However, since I am trying to create a non-technical user’s
in-field recovery disk, requiring the user to take the system apart
and change links is no use).

I’m not sure if dd’ing the floppy loader will work, but it’s worth a
try.

dd’ing the loader from one floppy to another works fine but I haven’t
tried it on an LS120. I have put a partition on the disk and I
imagine this info is held in the boot sector too, so putting a floppy
boot sector would seem wrong. Am I mistaken? I tried to format the
LS120 like a floppy (ie without using a partition table) but fdformat
didn’t understand how big the LS120 is.

Regards

William Morris
wrm@innovation-tk.com