(More) Install issues with DiskOnChip

Hi:

I am still struggling with the DiskOnChip 200 install. I have been throught
the install intructions and am trying to install to a 64mb DiskOnChip.

I am able to boot from the boot disk to install and run the install with the
command install -d -p “-n:hd0” The install seems to procveed accordingly,
asking for all the disks (1-5). After disk5 is installed, the install
prompts for the boot disk and then a minute or so later, it prompts for the
3rd party driver (which is on the boot disk).

The install then executes step 4b1 which does a Execute: /fd/bin/Fsys.* /bin
… The gives an exit value of -1, Errno: No Such File Or Diectory.

It seems as if the system is not mounting the floppy drive because the files
it is looking for ARE on the floppy, and are in the /bin folder.

I am really desperate to get this going and need some help. I am unable to
call QNX directly because we don’t have a support contract. Anybody have
ANY ideas?

Thanks for the help!

Bill

The method I’ve used with success is to mount the diskonchip as another
“harddisk” with a real harddisk on the IDE. Then you can just copy across the
required files. Alternatively, boot with a floppy with QNX networking
enabled on that, then do the same by copying over the network.
This helps because you have full control, all the utilities are on hand
(e.g. running the DOC driver, runing fdisk etc).

Here’s a script that you can use-you will likely want to make
your own changes.
Note that this script assumes you’ve mounted the DOC as /fd1.

#!/bin/sh
cp -v -n -c /bin/sh /fd1/bin/sh
cp -v -n -c /bin/rtc /fd1/bin/
cp -v -n -c /bin/Dev /fd1/bin/
cp -v -n -c /bin/Dev /fd1/bin/
cp -v -n -c /bin/Fsys.eide /fd1/bin/
cp -v -n -c /bin/Dev.ser /fd1/bin/
cp -v -n -c /bin/Dev.par /fd1/bin/
cp -v -n -c /bin/Dev.pty /fd1/bin/
cp -v -n -c /bin/Dev.ansi /fd1/bin/
cp -v -n -c /bin/Pipe /fd1/bin/
cp -v -n -c /bin/nameloc /fd1/bin/
cp -v -n -c /bin/tinit /fd1/bin/
cp -v -n -c /bin/login /fd1/bin/
cp -v -n -c /bin/slay /fd1/bin/
cp -v -n -c /bin/shutdown /fd1/bin/
cp -v -n -c /bin/ls /fd1/bin/
cp -v -n -c /bin/sin /fd1/bin/
cp -v -n -c /bin/cp /fd1/bin/
cp -v -n -c /bin/mkdir /fd1/bin/
cp -v -n -c /bin/rm /fd1/bin/
cp -v -n -c /usr/bin/show_pci /fd1/bin/
#cp -v -n -c /usr/bin/tracectrl /fd1/bin/
#cp -v -n -c /usr/bin/traceinfo /fd1/bin/
cp -v -n -c /bin/dinit /fd1/bin/
cp -v -n -c /bin/mount /fd1/bin/
cp -v -n -c /bin/df /fd1/bin/
cp -v -n -c /bin/du /fd1/bin/
cp -v -n -c /bin/use /fd1/bin/
cp -v -n -c /bin/cat /fd1/bin/
cp -v -n -c /bin/fdisk /fd1/bin/
cp -v -n -c /bin/disktrap /fd1/bin/
cp -v -n -c /bin/chkfsys /fd1/bin/
#cp -v -n -c /bin/gmake /fd1/bin/make

#special files
#cp -v -n -c /etc/config/traceinfo /fd1/etc/config/traceinfo
cp -v -n -c sysinit.floppy /fd1/etc/config/sysinit.1
cp -v -n -c make_small_boot /fd1/usr/make_small_boot
cp -v -n -c /boot/images/floppy /fd1/.boot


On Wed, 1 Aug 2001 10:03:23 -0400, “Bill Pimentel” <bpimentel@automatech.com> wrote:

Hi:

I am still struggling with the DiskOnChip 200 install. I have been throught
the install intructions and am trying to install to a 64mb DiskOnChip.

I am able to boot from the boot disk to install and run the install with the
command install -d -p “-n:hd0” The install seems to procveed accordingly,
asking for all the disks (1-5). After disk5 is installed, the install
prompts for the boot disk and then a minute or so later, it prompts for the
3rd party driver (which is on the boot disk).

The install then executes step 4b1 which does a Execute: /fd/bin/Fsys.* /bin
… The gives an exit value of -1, Errno: No Such File Or Diectory.

It seems as if the system is not mounting the floppy drive because the files
it is looking for ARE on the floppy, and are in the /bin folder.

I am really desperate to get this going and need some help. I am unable to
call QNX directly because we don’t have a support contract. Anybody have
ANY ideas?

Thanks for the help!

Bill

Hi,

I hope this old post of mine might help you:

=============================================================
This is what I did:

h/w: Advantech SBC 4823, DOC2000 48Mb (lucky me …)
s/w: QNX4 CD (Dec. 1999)

  1. Installed QNX (OS, Photon, TCP/IP, all without Help) on hd0’s 48Mb
    primary partition
    (~7Mb were still free after that), and configured Photon and TCP/IP
  2. Followed the steps 2.1. - 2.6., 3.1. - 3.9. in the M-Sys “Using the DOC
    with QNX” (they worked as
    described)
  3. Copied all files from hd0’s / (except /dev, /cd0, /dos, /mnt) to
    /mnt/diskonchip/ (make sure to
    use proper cp command switches in order to preserve directory structure
    and links)
  4. From 3.12.:

cd /boot

make b=doc2000

cp /boot/images/doc2000 /mnt/diskonchip/.boot

  1. Removed hd0 from the BIOS and rebooted
  2. Deleted all unnecessary files from the DOC to gain more space

I suggest you to look at www.deja.com for previous discussion about
embedding QNX/Photon on smaller DOC.

=======================================================================

Zeljko

Bill Pimentel <bpimentel@automatech.com> wrote in message
news:9k91sq$fpo$1@inn.qnx.com

Hi:

I am still struggling with the DiskOnChip 200 install. I have been
throught
the install intructions and am trying to install to a 64mb DiskOnChip.

I am able to boot from the boot disk to install and run the install with
the
command install -d -p “-n:hd0” The install seems to procveed accordingly,
asking for all the disks (1-5). After disk5 is installed, the install
prompts for the boot disk and then a minute or so later, it prompts for
the
3rd party driver (which is on the boot disk).

The install then executes step 4b1 which does a Execute: /fd/bin/Fsys.*
/bin
. The gives an exit value of -1, Errno: No Such File Or Diectory.

It seems as if the system is not mounting the floppy drive because the
files
it is looking for ARE on the floppy, and are in the /bin folder.

I am really desperate to get this going and need some help. I am unable
to
call QNX directly because we don’t have a support contract. Anybody have
ANY ideas?

Thanks for the help!

Bill