Bootable floppy

Hi

I try create bootable floppy, but it didn’t work. Ater boot, I see errors:
unable to start “devc-con” (83)
unable to access “/dev/con1” (2)
unable to start “esh”

I generate image from this script:

[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

ussing commands:
mkifs f.build f.img
dinit -f f.img /dev/fd0

What is wrong?

Best regards
Grzesiek

[+script] .script = {
devc-con -n9 &
reopen /dev/con1
[+session] esh
}

What is wrong?

Your’re truncating too much.
Start from /boot/build/bios.build


kabe

“Grzegorz Malcherek” <gtmx@go2.pl> wrote in message
news:a4t7b6$alg$1@inn.qnx.com

Hi

I try create bootable floppy, but it didn’t work. Ater boot, I see errors:
unable to start “devc-con” (83)
Use the utility ‘errno’ to see what’s happening:

ren:/export/home/kewarken >errno 83
errno 83: Can’t access shared library

You, my friend, have forgotten your libc.

Cheers,

Kris

unable to access “/dev/con1” (2)
unable to start “esh”

I generate image from this script:

[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

ussing commands:
mkifs f.build f.img
dinit -f f.img /dev/fd0

What is wrong?

Best regards
Grzesiek

Grzegorz Malcherek <gtmx@go2.pl> wrote:

Hi

I try create bootable floppy, but it didn’t work. Ater boot, I see errors:
unable to start “devc-con” (83)
unable to access “/dev/con1” (2)
unable to start “esh”

I generate image from this script:

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

[+script] .script = {
devc-con -n9 &
reopen /dev/con1
[+session] esh
}
libc.so.1

libc.so

[data=copy]
devc-con
esh
[type=link] /usr/lib/ldqnx.so.1=/proc/boot/libc.so.1

[type=link] /usr/lib/ldqnx.so.2=/proc/boot/libc.so.2

The version number of libc.so changed in 6.0. Check the sample
build files provided to see a more complete example.

The two changes above should be enough to get you going.
(The simple boot image worked for me with these minor changes.)

Peter

ussing commands:
mkifs f.build f.img
dinit -f f.img /dev/fd0

What is wrong?

Best regards
Grzesiek