Starting fs-pkg without diskboot

I have a system cannot use diskboot (no PCI bus and even Patch B needs
this). I am trying to get it running as near as possible to a normal RTP
installtion but using a custom build file.

I can get the filing system mount. These appear to mount under /fs. In my
case using a QNX partitioned disk this is ‘hd0-qnx4-2’.

Since ‘fs-pkg’ appears nowhere in ‘/etc/system/sysinit’ or ‘/etc/rc.d/*’ is
the responsiblity of the diskboot to run it. So I am trying to build an
equvilient in my build file.

At this point I have the QNX partiction mounted into ‘/fs/hd0-qnx4-2’ and
some symbolic links ([type=link] to bring thing into their normal places.

The problem is there is no ‘…/etc/system/packages’ or ‘pkgs’ in the
‘/fs/hd0-qnx4-2’ heirachy!. Anyone no where the file comes from? Despite
what appears in the Developer articles they appear nowhere on the actual
Filesystem. At least ‘find’ cannot find anything.

There appears to be some black magic happening here. The disk must have the
‘pkgs’ somewhere but they appear nowhere in the filesystem.

If anyone knows the trick I would love to know,

Michael Stevens

I wrote a short program to change the Latency on my NIC
(18h=24, linux changes it 32, and the 3com README says 40)

but it needs pci-bios, but then diskboot starts a 2nd pci-bios, right?
so I tried:

pci-bios
waitfor /dev/pci
pcicfg ← my prog
slay pci-bios
[prio=…]…diskboot

But it seems to cause keyboard / mouse problems
(had these on the initial, Pre-Patch A release)

so It would seem a diskboot script would be helpful on a PCI
machine where you need to do some other initialization.

Michael Stevens <michael@acrfr.usyd.edu.au> wrote in message
news:9ajv7s$m2c$1@inn.qnx.com

I have a system cannot use diskboot (no PCI bus and even Patch B needs
this). I am trying to get it running as near as possible to a normal RTP
installtion but using a custom build file.

I can get the filing system mount. These appear to mount under /fs. In my
case using a QNX partitioned disk this is ‘hd0-qnx4-2’.

Since ‘fs-pkg’ appears nowhere in ‘/etc/system/sysinit’ or ‘/etc/rc.d/*’
is
the responsiblity of the diskboot to run it. So I am trying to build an
equvilient in my build file.

At this point I have the QNX partiction mounted into ‘/fs/hd0-qnx4-2’ and
some symbolic links ([type=link] to bring thing into their normal places.

The problem is there is no ‘…/etc/system/packages’ or ‘pkgs’ in the
‘/fs/hd0-qnx4-2’ heirachy!. Anyone no where the file comes from? Despite
what appears in the Developer articles they appear nowhere on the actual
Filesystem. At least ‘find’ cannot find anything.

There appears to be some black magic happening here. The disk must have
the
‘pkgs’ somewhere but they appear nowhere in the filesystem.

If anyone knows the trick I would love to know,

Michael Stevens

Michael,
I ran across your post from 2+ months ago while searching for diskboot
info - since no response to your problem showed up in the newsgroup, I’ll
post the solution I am using so someone else might find the solution if
searching the newsgroup:

In order to mount the base file system and packages just like they appear
after a full RTP install you need to execute the following script:

#BEGIN SCRIPT

this mounts the filesystem file that contain the base packages.

mount /boot/fs/qnxbase.qfs /pkgs/base

this brings about the base packages that give us /bin, /sbin, /usr/bin,

/usr/photon, etc.

i’ve copied fs-pkg from /pkgs/base/safe-config/x86/sbin/fs-pkg to /fs-pkg

/fs-pkg -a/pkgs/base/safe-config/etc/system/package/packages

#END SCRIPT

Ed Theobald
Revis & Associates
edtheobald@starband.net


“Michael Stevens” <michael@acrfr.usyd.edu.au> wrote in message
news:9ajv7s$m2c$1@inn.qnx.com

I have a system cannot use diskboot (no PCI bus and even Patch B needs
this). I am trying to get it running as near as possible to a normal RTP
installtion but using a custom build file.

I can get the filing system mount. These appear to mount under /fs. In my
case using a QNX partitioned disk this is ‘hd0-qnx4-2’.

Since ‘fs-pkg’ appears nowhere in ‘/etc/system/sysinit’ or ‘/etc/rc.d/*’
is
the responsiblity of the diskboot to run it. So I am trying to build an
equvilient in my build file.

At this point I have the QNX partiction mounted into ‘/fs/hd0-qnx4-2’ and
some symbolic links ([type=link] to bring thing into their normal places.

The problem is there is no ‘…/etc/system/packages’ or ‘pkgs’ in the
‘/fs/hd0-qnx4-2’ heirachy!. Anyone no where the file comes from? Despite
what appears in the Developer articles they appear nowhere on the actual
Filesystem. At least ‘find’ cannot find anything.

There appears to be some black magic happening here. The disk must have
the
‘pkgs’ somewhere but they appear nowhere in the filesystem.

If anyone knows the trick I would love to know,

Michael Stevens