Hello,
I am trying to embed a self made neutrino/qnx boot image but it seems
that my BIOS does not recognize the QNX loader
I have two disk drives /dev/hd0 (pri master) and /dev/hd1 (pri slave).
The first disk has full RTP installation. I want to boot from my own
image my_boot_image.ifs.
From RTP booted on /dev/hd0 I:
dd if=/dev/zero of=/dev/hd1 bs=1 seek=510 count=2 ( erase the
partition info )
fdisk -f /dev/hd1 add qnx 16 ( create a partition of size 16cyl =
125MB )
fdisk /dev/hd1 boot ( make partition bootable )
dinit -h -fmy_boot_image.ifs /dev/hd1t77 ( format the
partition and install my boot image )
shutdown
From BIOS I exclude C: (the RTP drive) from the boot sequence.
At boot up after BIOS runs it cannot find a bootable disk
(i.e Missing Operating System)
Why does my BIOS not recognize the QNX loader
installed on the hd by fdisk?
Can anyone help me with this?
Should I use the -d flag with dinit?
fdisk /dev/hd1 info
Physical disk characteristics: (/dev/hd1)
Disk type : Direct Access (0)
Disk flags : (0x0030)
Cylinders : 1826
Heads : 255
Sectors/Track : 63
Bytes/Sector : 512
Total Sectors : 29336833
Warning: total sectors field does not agree with
cylinderssectors/trackheads!! (29336833 vs 29334690)
Partition table information:
0: (0) beg(h=0,s=0,c=0) end(h=0,s=0,c=0) off=0, size=0
1: (0) beg(h=0,s=0,c=0) end(h=0,s=0,c=0) off=0, size=0
2: (0) beg(h=0,s=0,c=0) end(h=0,s=0,c=0) off=0, size=0
3: (77) beg(h=1,s=1,c=0) end(h=254,s=63,c=15) off=63, size=256977
Loader: QNX
signature1=0x55, signature2=0xAA
fdisk /dev/hd1 show
OS Start End _Number Size
Boot
name type Cylinder Cylinder Cylinders
Blocks
- QNX ( 77) 0 15 16 256977 125 MB
- ------ (—) ----- ----- ----- --------
- ------ (—) ----- ----- ----- --------
- ------ (—) ----- ----- ----- -------- -----
Michel
Saab Communication
Stockholm, Sweden