alt booting

I have a general question about .boot vs .altboot :

Normally, .boot is loaded and then /etc/system/sysinit is run.
When I press ESC at boot time it executes .altboot. But does it also run
/etc/system/sysinit? Or will it run an alternate sysinit if available?

(In QNX4 pressing ESC at boot time loads.altboot AND runs altsysinit.)

I’ve searched the newsgroups and the knowledge base and online docs and
can’t find an answer.

Thanks,

Ed Theobald
edtheobald@starband.net

Ed Theobald <edtheobald@starband.net> wrote:

I have a general question about .boot vs .altboot :

This belongs in the QNX4 newsgroup, rather than RTP.

Normally, .boot is loaded and then /etc/system/sysinit is run.
When I press ESC at boot time it executes .altboot. But does it also run
/etc/system/sysinit? Or will it run an alternate sysinit if available?

(In QNX4 pressing ESC at boot time loads.altboot AND runs altsysinit.)

This is documented.

From the docs: QNX 4.25, Installation & Configuration book, Basic Installation
Chapter, The System Initialization File subsection:

During a normal boot, sinit tries to boot from the /etc/config/sysinit.node
file. During an alternate boot (from local disk only), sinit tries to boot
from the /etc/config/altsysinit file. If it can’t boot from either of those
files, sinit will try to boot from the /etc/config/sysinit file.

-David

QNX Training Services
dagibbs@qnx.com

David, I think he is asking “is there an alternate sysinit on RTP” :slight_smile:

I think the answer is NO. However, in which ever boot, diskroot
give you a chance to press space, and the “F2: F1 plus use safe rc file”,
which will run /pkgs/base/safe-config/etc/system/sysinit instead.

-xtang

David Gibbs <dagibbs@qnx.com> wrote:

Ed Theobald <> edtheobald@starband.net> > wrote:
I have a general question about .boot vs .altboot :

This belongs in the QNX4 newsgroup, rather than RTP.

Normally, .boot is loaded and then /etc/system/sysinit is run.
When I press ESC at boot time it executes .altboot. But does it also run
/etc/system/sysinit? Or will it run an alternate sysinit if available?

(In QNX4 pressing ESC at boot time loads.altboot AND runs altsysinit.)

This is documented.

From the docs: QNX 4.25, Installation & Configuration book, Basic Installation
Chapter, The System Initialization File subsection:

During a normal boot, sinit tries to boot from the /etc/config/sysinit.node
file. During an alternate boot (from local disk only), sinit tries to boot
from the /etc/config/altsysinit file. If it can’t boot from either of those
files, sinit will try to boot from the /etc/config/sysinit file.

-David

QNX Training Services
dagibbs@qnx.com