Making a simple bootable image

I’ve built a bootable image with “mkifs” with QNX 6.2.1 PE,
using the script below. “mkifs” runs with no errors.
I then wrote it to a floppy diskette
(on a machine that had a diskette drive) using “dinit -f shell.ifs /dev/fd0”.
A bootable floppy emerged.

Booting it produces the message “Unable to start devc-con (83)”,
followed by complaints about being unable to start “esh”.

The machine that won’t boot this runs QNX just fine. The
keyboard is connected to a traditional keyboard port, not the
USB port, so that’s not it.

So what’s wrong, what’s error 83, and where are those
error numbers documented? Thanks.

John Nagle

\

Builds a system with a shell on the text console and nothing else.

This file is “shell.bld”

[virtual=x86,./bios] .bootstrap = {
./startup-bios
PATH=/proc/boot ./procnto
}

[+script] .script = {
devc-con -n9 &
reopen /dev/con1
[+session] esh
}
libc.so.1
[data=copy]
devc-con
…/esh
[type=link] /usr/lib/ldqnx.so.1=/proc/boot/libc.so.1

John Nagle <nagle@downside.com> wrote:

Booting it produces the message “Unable to start devc-con (83)”,
followed by complaints about being unable to start “esh”.
So what’s wrong, what’s error 83, and where are those
error numbers documented? Thanks.

That is ELIBACC (/usr/include/errno.h) and is a shared library
error. You either are missing a needed library in your boot image
or have the wrong versions. From another post you mentioned you
have installed 6.2.1 - it (the devc-con from there) uses libc.so.2,
is this the version you meant to have in your ifs file … ?