Moving RTP to it's own partition

I have a working RTP system that boots from within a Window98 file system.
I have now created a seperate 2 GB partition with nothing it it.

In addition I have everything downloaded from the Package Installer that I
want on this system.

What must I do to copy all of my current software (including the package
software) to a native QNX4 file system and make this system boot directly
from this partition?

My caviots are:

  1. I want to include all of the currently downloaded software into the
    native QNX file system but
  2. I don’t want to loose the ability to use Package Installer to download
    future updates to this downloaded software
  3. I don’t want to loose the Windows boot option until I have confirmed that
    the native boot partition is working.

Well, you don’t have to worry about it not working the first couple tries
since you can always blow away the two gig partition and start again. I
would say your first step would be to boot into the windows install and
mount the QNX4 partition. After that, you should be able to copy everything
other than special files, etc over (don’t forget .boot and .altboot :wink:.
Then all you need to do is install the qnx bootloader so that it can send
you to windows or the qnx partition. The last step is the one I’m not sure
of - our bootloader gets setup during the install and I’ve never done it by
hand. Perhaps someone else reading can attest to the validity of this plan.
It might be that you just dump the whole image to the new partition and run
with it.

cheers,

Kris

“Bill Caroselli” <qtps@earthlink.net> wrote in message
news:a2pllh$3kn$1@inn.qnx.com

I have a working RTP system that boots from within a Window98 file system.
I have now created a seperate 2 GB partition with nothing it it.

In addition I have everything downloaded from the Package Installer that I
want on this system.

What must I do to copy all of my current software (including the package
software) to a native QNX4 file system and make this system boot directly
from this partition?

My caviots are:

  1. I want to include all of the currently downloaded software into the
    native QNX file system but
  2. I don’t want to loose the ability to use Package Installer to download
    future updates to this downloaded software
  3. I don’t want to loose the Windows boot option until I have confirmed
    that
    the native boot partition is working.

Kris Warkentin <kewarken@qnx.com> wrote:

Well, you don’t have to worry about it not working the first couple tries
since you can always blow away the two gig partition and start again. I
would say your first step would be to boot into the windows install and
mount the QNX4 partition. After that, you should be able to copy everything
other than special files, etc over (don’t forget .boot and .altboot > :wink:> .
Then all you need to do is install the qnx bootloader so that it can send
you to windows or the qnx partition. The last step is the one I’m not sure
of - our bootloader gets setup during the install and I’ve never done it by
hand. Perhaps someone else reading can attest to the validity of this plan.
It might be that you just dump the whole image to the new partition and run
with it.

Doing the bootloader part is easy – just use fdisk /dev/hd0 or whatever
and use the “L” to write the bootloader and then “B” to set the boot partition…

Cheers,
-RK

cheers,

Kris

“Bill Caroselli” <> qtps@earthlink.net> > wrote in message
news:a2pllh$3kn$> 1@inn.qnx.com> …
I have a working RTP system that boots from within a Window98 file system.
I have now created a seperate 2 GB partition with nothing it it.

In addition I have everything downloaded from the Package Installer that I
want on this system.

What must I do to copy all of my current software (including the package
software) to a native QNX4 file system and make this system boot directly
from this partition?

My caviots are:

  1. I want to include all of the currently downloaded software into the
    native QNX file system but
  2. I don’t want to loose the ability to use Package Installer to download
    future updates to this downloaded software
  3. I don’t want to loose the Windows boot option until I have confirmed
    that
    the native boot partition is working.
    \


Robert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Books, Video-based and Instructor-led
Training and Consulting at www.parse.com.
Email my initials at parse dot com.

I don’t want to have to re-install RTP. I have a fully functional RTP
system.

What files need to be copied?


“Kris Warkentin” <kewarken@qnx.com> wrote in message
news:a2ppqf$gmi$1@nntp.qnx.com

Well, you don’t have to worry about it not working the first couple tries
since you can always blow away the two gig partition and start again. I
would say your first step would be to boot into the windows install and
mount the QNX4 partition. After that, you should be able to copy
everything
other than special files, etc over (don’t forget .boot and .altboot > :wink:> .
Then all you need to do is install the qnx bootloader so that it can send
you to windows or the qnx partition. The last step is the one I’m not
sure
of - our bootloader gets setup during the install and I’ve never done it
by
hand. Perhaps someone else reading can attest to the validity of this
plan.
It might be that you just dump the whole image to the new partition and
run
with it.

cheers,

Yes. This much I know from QNX4.

It’s just the package stuff that I’m not clear about. But I think I’m
getting a handle on it.

As now I understand it, a .qfs file is actually a QNX4 filesystem in a
single file. OK, cool. I get that. I have two of these. How do I copy
these to my new partition?

Also, I want the files coming from the package file system to be copied to
the native file system.

“Robert Krten” <nospam91@parse.com> wrote in message
news:a2pq4c$6n3$1@inn.qnx.com

Kris Warkentin <> kewarken@qnx.com> > wrote:
Well, you don’t have to worry about it not working the first couple
tries
since you can always blow away the two gig partition and start again. I
would say your first step would be to boot into the windows install and
mount the QNX4 partition. After that, you should be able to copy
everything
other than special files, etc over (don’t forget .boot and .altboot > :wink:> .
Then all you need to do is install the qnx bootloader so that it can
send
you to windows or the qnx partition. The last step is the one I’m not
sure
of - our bootloader gets setup during the install and I’ve never done it
by
hand. Perhaps someone else reading can attest to the validity of this
plan.
It might be that you just dump the whole image to the new partition and
run
with it.

Doing the bootloader part is easy – just use fdisk /dev/hd0 or whatever
and use the “L” to write the bootloader and then “B” to set the boot
partition…

Cheers,
-RK

cheers,

Kris

“Bill Caroselli” <> qtps@earthlink.net> > wrote in message
news:a2pllh$3kn$> 1@inn.qnx.com> …
I have a working RTP system that boots from within a Window98 file
system.
I have now created a seperate 2 GB partition with nothing it it.

In addition I have everything downloaded from the Package Installer
that I
want on this system.

What must I do to copy all of my current software (including the
package
software) to a native QNX4 file system and make this system boot
directly
from this partition?

My caviots are:

  1. I want to include all of the currently downloaded software into the
    native QNX file system but
  2. I don’t want to loose the ability to use Package Installer to
    download
    future updates to this downloaded software
  3. I don’t want to loose the Windows boot option until I have confirmed
    that
    the native boot partition is working.







    Robert Krten, PARSE Software Devices +1 613 599 8316.
    Realtime Systems Architecture, Books, Video-based and Instructor-led
    Training and Consulting at > www.parse.com> .
    Email my initials at parse dot com.

One thing you might want to try (now that I think about it) is killing off
the package filesystem. All the files on your system are kept in /pkgs and
then mapped out to the regular filesystem. If you kill fs-pkg (assuming
you’re already running everything you need and have ‘cp’ somewhere), you
should be able to just blindly copy everything. I’m still guessing but that
seems to be a possibility. Have the 2gig partition mounted, make sure you
have a copy of ‘cp’ somewhere in your path, slay fs-pkg, cp -RN *
/fs/2gigdrive (may need some different cp flags…), install bootloader,
try it out. Either way, it won’t hurt - you can always try again.

cheers,

Kris

“Bill Caroselli” <qtps@earthlink.net> wrote in message
news:a2ps9o$81f$1@inn.qnx.com

I don’t want to have to re-install RTP. I have a fully functional RTP
system.

What files need to be copied?


“Kris Warkentin” <> kewarken@qnx.com> > wrote in message
news:a2ppqf$gmi$> 1@nntp.qnx.com> …
Well, you don’t have to worry about it not working the first couple
tries
since you can always blow away the two gig partition and start again. I
would say your first step would be to boot into the windows install and
mount the QNX4 partition. After that, you should be able to copy
everything
other than special files, etc over (don’t forget .boot and .altboot > :wink:> .
Then all you need to do is install the qnx bootloader so that it can
send
you to windows or the qnx partition. The last step is the one I’m not
sure
of - our bootloader gets setup during the install and I’ve never done it
by
hand. Perhaps someone else reading can attest to the validity of this
plan.
It might be that you just dump the whole image to the new partition and
run
with it.

cheers,

I have a working RTP system that boots from within a Window98 file system.
I have now created a seperate 2 GB partition with nothing it it.

  • Boot into RTP. (CD boot may be better)
  • dinit the 2GB partition with bootloader
  • Mount the 2GB partition somewhere as qnx4 filesystem, perhaps /fs/hd0-2GB
  • Copy the Windows:\Progra~1\qnx\boot\fs\qnxbase.qfs to /fs/hd0-2GB/boot/fs/qnxbase.qfs
  • Mount your customised partition living in
    Windows:\Progra~1\qnx\boot\fs{watwasithere?}.qfs
    to somewhere, perhaps /fs/hd0-myqnx
  • Copy all the files in /fs/hd0-myqnx/ to /fs/hd0-2GB/
  • touch /fs/hd0-2GB/.diskroot
  • cp Windows:\Progra~1\qnx\boot\fs\qnxbasedma.ifs /fs/hd0-2GB/.boot

** note that I’ve NOT tested out the above instructions **

Now reboot and test it out; selecting QNX from win98 bootselector
should eventually ask which root filesystem (Windows or 2GB) to use.

If the 2GB partition was beyond 504MB, 2GB or 8GB depending on your
BIOS, you may can’t boot into the new QNX. (time for new motherboard)

Installing a bootloader to directly kick the 2GB partition
is a little challenging, which could render machine unbootable in
either OS. Don’t proceed until you have had good study on x86 boot envrionments.


kabe

Thank you Kabe. This is exactly the kind of detailed instructions I was
looking for. I will try this tonight. If I still have any problems I will
should be able to figure it out from here. But I will report back to anyone
else that cares.

Steve Reid, I think this kind of information is useful enough to put in the
documentation. Like I said, if this procedure needs any fine tuning I’ll
comment back here.

Bill Caroselli – 1(626) 824-7983


<kabe@sra-tohoku.co.jp> wrote in message news:a2sfqk$5s0$1@inn.qnx.com

I have a working RTP system that boots from within a Window98 file
system.
I have now created a seperate 2 GB partition with nothing it it.

  • Boot into RTP. (CD boot may be better)
  • dinit the 2GB partition with bootloader
  • Mount the 2GB partition somewhere as qnx4 filesystem, perhaps
    /fs/hd0-2GB
  • Copy the Windows:\Progra~1\qnx\boot\fs\qnxbase.qfs to
    /fs/hd0-2GB/boot/fs/qnxbase.qfs
  • Mount your customised partition living in
    Windows:\Progra~1\qnx\boot\fs{watwasithere?}.qfs
    to somewhere, perhaps /fs/hd0-myqnx
  • Copy all the files in /fs/hd0-myqnx/ to /fs/hd0-2GB/
  • touch /fs/hd0-2GB/.diskroot
  • cp Windows:\Progra~1\qnx\boot\fs\qnxbasedma.ifs /fs/hd0-2GB/.boot

** note that I’ve NOT tested out the above instructions **

Now reboot and test it out; selecting QNX from win98 bootselector
should eventually ask which root filesystem (Windows or 2GB) to use.

If the 2GB partition was beyond 504MB, 2GB or 8GB depending on your
BIOS, you may can’t boot into the new QNX. (time for new motherboard)

Installing a bootloader to directly kick the 2GB partition
is a little challenging, which could render machine unbootable in
either OS. Don’t proceed until you have had good study on x86 boot
envrionments.


kabe

Thank you Kabe. This is exactly the kind of detailed instructions I was
looking for. I will try this tonight. If I still have any problems I will
should be able to figure it out from here. But I will report back to anyone
else that cares.

I guess lots of people had been wanted to do the similar thing
(Try out in FAT, play around, satisfied, now make it native QNX4)

so if you had succeeded, your summary (with instructions perhaps)
should be really appreciated for potential readers around here.
(Makeing a web page is better if you can, as news is not well suited
for archiving docs…)


kabe

Bill Caroselli <qtps@earthlink.net> wrote:
: Thank you Kabe. This is exactly the kind of detailed instructions I was
: looking for. I will try this tonight. If I still have any problems I will
: should be able to figure it out from here. But I will report back to anyone
: else that cares.

: Steve Reid, I think this kind of information is useful enough to put in the
: documentation. Like I said, if this procedure needs any fine tuning I’ll
: comment back here.

I’ve noted it. Thanks for the suggestion.


Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems