Skip navigation.
Home
The QNX Community Portal

View topic - .boot file contents

Page 1 of 1

.boot file contents

PostPosted: Thu Dec 31, 2015 12:56 pm
by Tice
Dear All,

Is there any way to get information on a pre-built .boot file (v4.25)?
I would like to know what programs are included, and what is in the init script.

Is it possible to somehow decompile the .boot file?

Regards,
Tice

Re: .boot file contents

PostPosted: Thu Jan 14, 2016 9:55 am
by luan0ma
yes. try

dumpifs -bx .boot

This is to uncompress ifs file to the current directory. Just like unzip.

Re: .boot file contents

PostPosted: Thu Jan 14, 2016 6:08 pm
by Tim
I don't believe dumpifs exists in QNX4 so AFAIK it can't be done in QNX4.

Its possible that if you have a QNX6 machine you could use that command to dump the QNX4 image if it follows the same conventions.

Tim

Re: .boot file contents

PostPosted: Mon Jan 18, 2016 2:57 pm
by luan0ma
Yes. Tim is right. dumpifs is not in QNX4.

Re: .boot file contents

PostPosted: Fri Feb 19, 2016 2:44 am
by sieudot
I think the QNX4 .boot file has just only system files (ex Proc32, Slibxx, Fsys, mount..), right?

And, "to know what programs are included, and what is in the init script", you should look into /etc/config/sysinit file.

Re: .boot file contents

PostPosted: Fri May 13, 2016 10:12 am
by Tice
Unfortunately I have the .boot file only, from a now defunct machine.
I just would like to know the version of the system files. And I don't have the corresponding file system, so I can't look into the original sysinit. :-(

Thank you anyway, now I learnt it's impossible to decompile the .boot file.

Re: .boot file contents

PostPosted: Sat May 14, 2016 5:44 pm
by maschoen
Tice wrote:Unfortunately I have the .boot file only, from a now defunct machine.
I just would like to know the version of the system files. And I don't have the corresponding file system, so I can't look into the original sysinit. :-(

Thank you anyway, now I learnt it's impossible to decompile the .boot file.


I would try running "hd" on the beginning of the file. I believe there is a header that tells you what programs are there and how they are run. As explained, there is no start script, but instead the file system must be loaded and the /etc/sysinit file is run.