Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title How to create a new QNX4 boot image
Ref. No. QNX.000009539
Category(ies) Configuration
Issue Is there a technote available that describes how to create a boot image?
Solution Changing a System's Boot Image
==============================

Making changes to the way a system boots invloves three steps:

1. Back-up existing configuration files.
2. Edit build file.
3. Create new image.


1. Saving the /boot/build/<build.file> and /.boot files
  ----------------------------------------------------

When making changes to a system's configuration, it is always
recommended that the current configuration be saved.  In the case
of changing a system's boot configuration, this involves saving the
/boot/build/<build.file> and the /.boot files.

-> cp /boot/build/<build.file> /boot/build/<build.file>.bak
-> cp /.boot /.altboot

2. Edit build file
  ---------------

Open the /boot/build/<build.file> file and make the required changes,
making sure to save the file before exitting.


3. Create new image
  ----------------

In order to create the new boot image, go to the /boot directory and run the
'make' utility on the new <build.file>.

-> make b=<build.file>

As a final step, copy the new image to /.boot.

-> cp /images/<build.file> /.boot


The next time the system is re-booted the new boot image will be used.