How do I create a boot floppy that can fdisk and dinit?

I have a DIMM-PC 486 card with 16M of RAM and 16M of IDE hard disk
(unremovable IDE Flash drive).

On my Host System I can create a bootable image that contains fdisk and
dinit using mkifs - I can then send it to a floppy with dinit and boot my
Target System with it. However, when I boot this image there’s no
/dev/hd0t77 or /dev/hd0 device for me to fdisk. How do I create the
necessary /dev/hdxxx device files for me to fdisk/dinit?

I’m obviously not a *nix guru or I’d probably know how to get around this
catch-22. Any help would be appreciated.

Jason A. Farqué
jasonf_at_pigging_dot_com

“Jason A. Farque’” wrote:

I have a DIMM-PC 486 card with 16M of RAM and 16M of IDE hard disk
(unremovable IDE Flash drive).

On my Host System I can create a bootable image that contains fdisk and
dinit using mkifs - I can then send it to a floppy with dinit and boot my
Target System with it. However, when I boot this image there’s no
/dev/hd0t77 or /dev/hd0 device for me to fdisk. How do I create the
necessary /dev/hdxxx device files for me to fdisk/dinit?

I’m obviously not a *nix guru or I’d probably know how to get around this
catch-22. Any help would be appreciated.

Is the hard disk driver running/loaded?
On a bootable stiffy, chances are this driver is not part of the
boot image or subsequently loaded.
Post your boot script.

My basic problem is this: In a QNX system that has a minimal /dev directory:

#ls /dev
con1 con3 console mem shmem tty
con2 con4 kbd null text zero

How do I establish the fact to QNX that there is an IDE hard disk in the
system and create a special file in /dev equivalent to /dev/hd0? fdisk
requires an argument of /dev/xxxxxx to start - so what happens prior to
running fdisk? Note that the above list was performed on a PC compatible
machine that started from a floppy disk, and yet there is not a file similar
to /dev/fd0. I’m baffled by this stuff. :slight_smile:

The flash drive that I’m using does not require a driver - the interface is
in hardware and the flash looks like a small but standard IDE hard disk to
all software. I have verified this by installing DOS on to the machine and
formatting, etc. the flash disk.

I will post my startup script shortly, I’m not at the appropriate machine.

Jason

“Alex” <acellarius@systems104.co.za> wrote in message
news:3B1A3D00.AC085BBD@systems104.co.za

“Jason A. Farque’” wrote:

I have a DIMM-PC 486 card with 16M of RAM and 16M of IDE hard disk
(unremovable IDE Flash drive).

On my Host System I can create a bootable image that contains fdisk and
dinit using mkifs - I can then send it to a floppy with dinit and boot
my
Target System with it. However, when I boot this image there’s no
/dev/hd0t77 or /dev/hd0 device for me to fdisk. How do I create the
necessary /dev/hdxxx device files for me to fdisk/dinit?

I’m obviously not a *nix guru or I’d probably know how to get around
this
catch-22. Any help would be appreciated.

Is the hard disk driver running/loaded?
On a bootable stiffy, chances are this driver is not part of the
boot image or subsequently loaded.
Post your boot script.

Hi Jason,

Looks like all you have to do is run the driver.
Try running ‘devb-eide &’

Regards,

Joe

Jason A. Farque’ <jasonf@pigging.com> wrote:

My basic problem is this: In a QNX system that has a minimal /dev directory:

#ls /dev
con1 con3 console mem shmem tty
con2 con4 kbd null text zero

How do I establish the fact to QNX that there is an IDE hard disk in the
system and create a special file in /dev equivalent to /dev/hd0? fdisk
requires an argument of /dev/xxxxxx to start - so what happens prior to
running fdisk? Note that the above list was performed on a PC compatible
machine that started from a floppy disk, and yet there is not a file similar
to /dev/fd0. I’m baffled by this stuff. > :slight_smile:

The flash drive that I’m using does not require a driver - the interface is
in hardware and the flash looks like a small but standard IDE hard disk to
all software. I have verified this by installing DOS on to the machine and
formatting, etc. the flash disk.

I will post my startup script shortly, I’m not at the appropriate machine.

Jason

“Alex” <> acellarius@systems104.co.za> > wrote in message
news:> 3B1A3D00.AC085BBD@systems104.co.za> …
“Jason A. Farque’” wrote:

I have a DIMM-PC 486 card with 16M of RAM and 16M of IDE hard disk
(unremovable IDE Flash drive).

On my Host System I can create a bootable image that contains fdisk and
dinit using mkifs - I can then send it to a floppy with dinit and boot
my
Target System with it. However, when I boot this image there’s no
/dev/hd0t77 or /dev/hd0 device for me to fdisk. How do I create the
necessary /dev/hdxxx device files for me to fdisk/dinit?

I’m obviously not a *nix guru or I’d probably know how to get around
this
catch-22. Any help would be appreciated.

Is the hard disk driver running/loaded?
On a bootable stiffy, chances are this driver is not part of the
boot image or subsequently loaded.
Post your boot script.