Skip navigation.
The QNX Community Portal

View topic - create new boot image and system won't reboot

create new boot image and system won't reboot

For the old QNX2 and QNX4 RTOS

create new boot image and system won't reboot

Postby jargoint » Fri Jan 30, 2009 2:17 am

I did did a re-build of a boot image, but didn't change anything in the build file, and when I put the new boot image in place the system won't re-boot.

When it comes up I get the message ...C, and then it stops.

If I put the original .boot file back in place and then reboot the system comes right up.

I did the exact same process on 2 other nodes and they came right up.

Has anyone heard of this or have any suggestions on what I can do.

The system is running version 4.25 of QNX
Active Member
Posts: 30
Joined: Tue Nov 27, 2007 11:50 pm

RE: create new boot image and system won

Postby Pilotek » Mon Feb 02, 2009 12:45 pm

Maybe your new boot image file comes on your HDD "higher" then boundary 1024th cylinder. What is the size of your HDD? Is the QNX4 partition exceeding 1024th cylinder (if first partition then larger than approx. 8GB)?
Senior Member
Posts: 124
Joined: Thu Jan 25, 2007 3:52 pm

RE: create new boot image and system won

Postby panda » Sat Feb 07, 2009 10:28 pm

Your new bootimage will be placed on the same place as the old one is only if the new one is smaller or equal in size. If your new bootimage is larger than the old one there is a possibility that it is placed above 1024th cylinder. But this is only possible if youre filesystem has approx 8G in use. If your filesystem is beyond 8G your BIOS assumes the harddrive differnet as the QNX4 Fsys.eide do.
Active Member
Posts: 39
Joined: Thu Feb 26, 2004 9:37 am

RE: create new boot image and system won

Postby juanplacco » Sun Feb 08, 2009 3:02 am

From the docs:

You can boot only from OS images that are loaded from within the first 1024 cylinders of the disk. This means that while you may be able to initially install and boot from a partition which extends past the 1024th cylinder, it will someday fail when you go to update the boot image because the location of some of its blocks may change. When this happens you will have a system which is no longer bootable.

Avoid this problem by creating a separate partition to boot from that lies entirely within the first 1024 cylinders of the hard drive, and use a second partition to access the additional space on the drive. (The boot partition may be quite small -- just a few megabytes will suffice.)

This came to me some time ago... Maybe you will want to reinstall a new hard disk with the new boot image, following the mentioned recommendations and transfer old data to the new disk...


1) We usually create a first small boot partition for system's files (let's say 8 GB), and others partitions for large data storage (databases, etc)

2) If those partitions will have more than 40 GB you MUST have updated Fsys, and Fsys.eide to the latest version (this is update your whole system) and when you build your boot image, it's very important that you add "-Hdisk<disk_capacity_in_GB>" to Fsys in order to set the a bigger heap-size than the default (which was enough some years ago, but no nowadays...)

For example: Fsys ... -Hdisk120

You can read more in: ... #Heap_size

I hope you'll find this useful.

Senior Member
Posts: 318
Joined: Wed May 17, 2006 2:30 pm

Return to QNX2 and QNX4

Who is online

Users browsing this forum: No registered users and 1 guest