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