boot image

Hi,

Who can I rebuild and install new /.boot and /.altboot ?

Vasilii

Hi Vasilii,

You can make new image by mkifs utilite. Read help on mkifs in order to get
details about this utilite and build scripts. Copy new image as /.altboot
then reboot system and press Esc.
Note you must be root.

Regards,
Eduard.

vasa <vv40in@mail.ru> wrote in article <9kpq2q$k64$1@inn.qnx.com>…

Hi,

Who can I rebuild and install new /.boot and /.altboot ?

Vasilii

Hi,

I’m sorry, my question was not correct.

Indeed my problem as follows:

I compiled image with mkifs but I cannot to copy it to /.altboot or /.boot.
I tryed:
cp base.img /.altboot
It was error message was:
cp: (base.img,.altboot) Resource is busy
or like that.

Thus, I cannot understand how to install boot image.

Vasilii

Eduard Kromskoy <ed1k@yahoo.com>

Hi Vasilii,

You can make new image by mkifs utilite. Read help on mkifs in order to get
details about this utilite and build scripts. Copy new image as /.altboot
then reboot system and press Esc.
Note you must be root.

Regards,
Eduard.

vasa <> vv40in@mail.ru> > wrote in article <9kpq2q$k64$> 1@inn.qnx.com> >…
Hi,

Who can I rebuild and install new /.boot and /.altboot ?

Vasilii

Hi,

That seems to work for me :slight_smile:. I have copied file under Midnight Commander
and without Photon running. What version QRPT are you using? And Is it
partition installation or in FAT?

May be, the Chris McKillop’s article gives you useful hints. Check
http://qdn.qnx.com/articles/jan1901/boot.html

Regards,
Eduard.

Eduard Kromskoy <ed1k@yahoo.com>

That seems to work for me > :slight_smile:> . I have copied file under Midnight Commander
and without Photon running. What version QRPT are you using? And Is it
partition installation or in FAT?

I have installed QNXRTP 6.1 on hard disk partition (IDE,20Mb).
I tryed to copy it by command cp as in my previouse letter.

May be, the Chris McKillop’s article gives you useful hints. Check
http://qdn.qnx.com/articles/jan1901/boot.html

I see it. I tryed to copy but it failed!

Vasilii

Hi Vasilii,

vasa <vv40in@mail.ru> wrote in article <9kuspq$oja$1@inn.qnx.com>…
[snip]

I have installed QNXRTP 6.1 on hard disk partition (IDE,20Mb).

That’s baby’s size :wink: You are really?

I tryed to copy it by command cp as in my previouse letter.

Unfortunately I’m currently under Windows. I’ll try it at home tonight and
I’ll able to reply only after weekend. I’m really unaware what’s cause for
your problem.

Good luck,
Eduard.

I have installed QNXRTP 6.1 on hard disk partition (IDE,20Mb).

That’s baby’s size > :wink: > You are really?

I am sorry :slight_smile:
Really disk size is 20Gb and QNX partition size is 3Gb.

Vasilii

this size sounds really strange …

Eduard Kromskoy schrieb:

Hi Vasilii,

vasa <> vv40in@mail.ru> > wrote in article <9kuspq$oja$> 1@inn.qnx.com> >…
[snip]
I have installed QNXRTP 6.1 on hard disk partition (IDE,20Mb).

That’s baby’s size > :wink: > You are really?

I tryed to copy it by command cp as in my previouse letter.

Unfortunately I’m currently under Windows. I’ll try it at home tonight and
I’ll able to reply only after weekend. I’m really unaware what’s cause for
your problem.

Good luck,
Eduard.

Dr. Jörg Kampmann - IBK-Consult for Real-Time and Embedded Systems
D-31228 Peine - Tel.:+49-177-276-3140 - Fax: +49-5171-13385
http://www.ibk-consult.de
===== QNX is the better Choice for Real-Time: http://www.qnx.com ====

Hi Vasilii,

It’s a pity, but I can not help you. There are no problems to rewrite the
file /.altboot in my QNX RTP 6.1 GA (upgrade from 6.0 release).
Indifferently it is done by cp, under MC, in Photon’s pterm or without
Photon. I had no found any process locks the file. Check out the file
attributes. Look through pidin’s output. Repeat your question if you will
not have a luck. Write in the message what exactly you see on the screen
when you are trying copy the file. Screenshot for uname -a will be useful
also.

Regards,
Eduard.

<<<<<<<<<<<<<
Young programmer believes there are 1000 bytes in a kilobyte,
Old programmer knows there are 1024 meters in a kilometer.

I have seen that problem before when trying to copy a newer version of an
executable over one that is running. Try copying with the force flag.
cp -fv base.img /.altboot

May not be the best approach but it seems to work. May want to do a cksum
after the copy to verify file.
Hope that helps.

Jeff Weaver

“vasa” <vv40in@mail.ru> wrote in message news:9ks93f$6l3$1@inn.qnx.com

Hi,

I’m sorry, my question was not correct.

Indeed my problem as follows:

I compiled image with mkifs but I cannot to copy it to /.altboot or
/.boot.
I tryed:
cp base.img /.altboot
It was error message was:
cp: (base.img,.altboot) Resource is busy
or like that.

Thus, I cannot understand how to install boot image.

Vasilii

Eduard Kromskoy <> ed1k@yahoo.com
Hi Vasilii,

You can make new image by mkifs utilite. Read help on mkifs in order to
get
details about this utilite and build scripts. Copy new image as
/.altboot
then reboot system and press Esc.
Note you must be root.

Regards,
Eduard.

vasa <> vv40in@mail.ru> > wrote in article <9kpq2q$k64$> 1@inn.qnx.com> >…
Hi,

Who can I rebuild and install new /.boot and /.altboot ?

Vasilii

I tried, but it faild.

The only way I found is:
mkifs xxx.build /.boot

It works !

I think it is package file system related.

Thank You.


Respectfully Yours,
Vasilii


Eduard Kromskoy <ed1k@yahoo.com>

Hi Vasilii,

It’s a pity, but I can not help you. There are no problems to rewrite the
file /.altboot in my QNX RTP 6.1 GA (upgrade from 6.0 release).
Indifferently it is done by cp, under MC, in Photon’s pterm or without
Photon. I had no found any process locks the file. Check out the file
attributes. Look through pidin’s output. Repeat your question if you will
not have a luck. Write in the message what exactly you see on the screen
when you are trying copy the file. Screenshot for uname -a will be useful
also.

Regards,
Eduard.


Young programmer believes there are 1000 bytes in a kilobyte,
Old programmer knows there are 1024 meters in a kilometer.

Hi Vasilii,

vasa <vv40in@mail.ru> wrote in article <9l9l50$i40$1@inn.qnx.com>…

I tried, but it faild.

The only way I found is:
mkifs xxx.build /.boot

It works !

It seems to be strange. Looks like cp fails, but I don’t see why does mkifs
work. The same conditions for mkifs to write output file…

I think it is package file system related.

I have a doubt. Why does cp without any switches work in my system?

Good luck,
Eduard

<<<<<<<<<<<<<
Command shutdown makes a morning.