Building an OS Image

I am trying to build a OS image using a diskonchip. Using the build file
which is listed below, the system will not boot up all the way. After so
many ‘dots’, it just stops. After trying a number of things, I found a way
to make it work but I am not 100 percent sure why. If take out the support
for the floppy, the system boots fine. I don’t believe it has anything do
with the floppy driver except that is making the OS image too large. Is
there a size limit to the OS Image? Is there a way to increase the size?
or is something else ?

Thanks
David


Build File with Floppy Support


sys/boot
$ 1 boot -v

sys/Proc32
$ 1 Proc32 -l 1

sys/Slib16
$ 1 Slib16

sys/Slib32
$ 1 Slib32

/bin/Fsys
$ 1 Fsys

/bin/Fsys.diskonchip
$ 1 Fsys.diskonchip -n:hd0

/bin/mount
$ 1 mount -p/dev/hd0 /dev/hd0t77 /

/bin/Fsys.floppy
$ 1 Fsys.floppy

/bin/sinit
$ 1 sinit TERM=qansi

Map File for Build File with Floppy Support


sys/boot 01000 for 04000 (16384 bytes) Start 00000 05000 for 02000 ( 8192
bytes)
sys/Proc32 07000 for 1D000 (118784 bytes) Start 00008 24000 for 06000 (24576
bytes)
sys/Slib16 2A000 for 07000 (28672 bytes) Start 05632 31000 for 02000 ( 8192
bytes)
sys/Slib32 33000 for 0D000 (53248 bytes) Start 01052 40000 for 01000 ( 4096
bytes)
/bin/Fsys 41000 for 13000 (77824 bytes) Start 12344 54000 for 06000 (24576
bytes)
/bin/Fsys.diskonchip 5A000 for 17000 (94208 bytes) Start 155B0 71000 for
0D000 (53248 bytes)
/bin/mount 7E000 for 03000 (12288 bytes) Start 01384 81000 for 01000 ( 4096
bytes) 82000 for 01000 ( 4096 bytes)
/bin/Fsys.floppy 83000 for 05000 (20480 bytes) Start 0322C 88000 for 04000
(16384 bytes)
/bin/sinit 8C000 for 05000 (20480 bytes) Start 0219C 91000 for 01000 ( 4096
bytes) 92000 for 01000 ( 4096 bytes)

TOTAL OS SIZE = 442368 code + 155648 data = 598016 bytes

David A. Cerroni
dcerroni@facts-inc.com

Hi David,

see below.

David A. Cerroni <dcerroni@facts-inc.com> wrote:

I am trying to build a OS image using a diskonchip. Using the build file
which is listed below, the system will not boot up all the way. After so
many ‘dots’, it just stops. After trying a number of things, I found a way
to make it work but I am not 100 percent sure why. If take out the support
for the floppy, the system boots fine. I don’t believe it has anything do
with the floppy driver except that is making the OS image too large. Is
there a size limit to the OS Image? Is there a way to increase the size?
or is something else ?

This is correct, this image is too large, take a look in the installation
and configuration manual for the limitations, as they should be noted
in there.

Take care.

Erick.



Thanks
David



Build File with Floppy Support


sys/boot
$ 1 boot -v

sys/Proc32
$ 1 Proc32 -l 1

sys/Slib16
$ 1 Slib16

sys/Slib32
$ 1 Slib32

/bin/Fsys
$ 1 Fsys

/bin/Fsys.diskonchip
$ 1 Fsys.diskonchip -n:hd0

/bin/mount
$ 1 mount -p/dev/hd0 /dev/hd0t77 /

/bin/Fsys.floppy
$ 1 Fsys.floppy

/bin/sinit
$ 1 sinit TERM=qansi

Map File for Build File with Floppy Support


sys/boot 01000 for 04000 (16384 bytes) Start 00000 05000 for 02000 ( 8192
bytes)
sys/Proc32 07000 for 1D000 (118784 bytes) Start 00008 24000 for 06000 (24576
bytes)
sys/Slib16 2A000 for 07000 (28672 bytes) Start 05632 31000 for 02000 ( 8192
bytes)
sys/Slib32 33000 for 0D000 (53248 bytes) Start 01052 40000 for 01000 ( 4096
bytes)
/bin/Fsys 41000 for 13000 (77824 bytes) Start 12344 54000 for 06000 (24576
bytes)
/bin/Fsys.diskonchip 5A000 for 17000 (94208 bytes) Start 155B0 71000 for
0D000 (53248 bytes)
/bin/mount 7E000 for 03000 (12288 bytes) Start 01384 81000 for 01000 ( 4096
bytes) 82000 for 01000 ( 4096 bytes)
/bin/Fsys.floppy 83000 for 05000 (20480 bytes) Start 0322C 88000 for 04000
(16384 bytes)
/bin/sinit 8C000 for 05000 (20480 bytes) Start 0219C 91000 for 01000 ( 4096
bytes) 92000 for 01000 ( 4096 bytes)

TOTAL OS SIZE = 442368 code + 155648 data = 598016 bytes

David A. Cerroni
dcerroni@facts-inc.com