Skip navigation.
Home
The QNX Community Portal

View topic - Making USB stick and CF cards Bootable

Making USB stick and CF cards Bootable

For the old QNX2 and QNX4 RTOS

Making USB stick and CF cards Bootable

Postby bhaskara-r » Wed Dec 17, 2014 11:21 am

For making the CF card as Bootable. I am doing the following steps from the QNX website

The card needs to be prepared like a standard boot media, like a hard drive or a memory stick. However this also means that one needs to boot a QNX desktop system at one point. The easiest way would be to boot the x86 CD and install a desktop system on the CF card. This can be done on the host as well as on the target.

Alternatively you could boot the x86 Neutrino CD and initialize the CF as a QNX boot media, using 'dinit' and 'dloader' to make the drive bootable and get the boot image onto the device.

Here's a simple procedure that can get you going quickly:
1. From a native QNX system go to /boot/build
2. Build a default OS image: mkifs bios.build bios.ifs
3. Create a partition on the card or USB stick if there isn't one yet like this:
# fdisk /dev/<device name>
Create a partition of type 77,78 or 79 and make it bootable.
4. Initialize the partition and copy the image to it:
dinit -hq -f /boot/build/bios.ifs /dev/<device>t<partition>
5. Install the loaders:
dloader /dev/hd10 pc1
dloader /dev/hd10t77 pc2
Reboot the system and the card should boot.
http://www.qnx.com/support/knowledgebas ... 000000Smi2

But still my CF card is not booting. It is booting from my harddisk.

i am unable to find in which step i am doing mistake.. I tried for several times. Please clarify me.
bhaskara-r
Active Member
 
Posts: 44
Joined: Tue Jul 22, 2014 10:55 am

Re: Making USB stick and CF cards Bootable

Postby Tim » Wed Dec 17, 2014 5:50 pm

You need to modify the boot order in your BIOS. It must be selecting the Hard drive before the CF card.

Tim
Tim
Senior Member
 
Posts: 1388
Joined: Wed Mar 10, 2004 12:28 am


Return to QNX2 and QNX4

Who is online

Users browsing this forum: No registered users and 1 guest