Skip navigation.
Home
The QNX Community Portal

View topic - .boot file contents

.boot file contents

For the old QNX2 and QNX4 RTOS

.boot file contents

Postby Tice » Thu Dec 31, 2015 12:56 pm

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
Tice
New Member
 
Posts: 2
Joined: Wed Aug 23, 2006 2:33 pm

Re: .boot file contents

Postby luan0ma » Thu Jan 14, 2016 9:55 am

yes. try

dumpifs -bx .boot

This is to uncompress ifs file to the current directory. Just like unzip.
luan0ma
New Member
 
Posts: 5
Joined: Wed Jan 13, 2016 3:30 pm

Re: .boot file contents

Postby Tim » Thu Jan 14, 2016 6:08 pm

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
Tim
Senior Member
 
Posts: 1388
Joined: Wed Mar 10, 2004 12:28 am

Re: .boot file contents

Postby luan0ma » Mon Jan 18, 2016 2:57 pm

Yes. Tim is right. dumpifs is not in QNX4.
luan0ma
New Member
 
Posts: 5
Joined: Wed Jan 13, 2016 3:30 pm

Re: .boot file contents

Postby sieudot » Fri Feb 19, 2016 2:44 am

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.
sieudot
Active Member
 
Posts: 45
Joined: Thu Mar 17, 2005 8:14 am
Location: VietNam

Re: .boot file contents

Postby Tice » Fri May 13, 2016 10:12 am

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.
Tice
New Member
 
Posts: 2
Joined: Wed Aug 23, 2006 2:33 pm

Re: .boot file contents

Postby maschoen » Sat May 14, 2016 5:44 pm

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.
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm


Return to QNX2 and QNX4

Who is online

Users browsing this forum: No registered users and 2 guests

cron