Home > QNX > QNX 6.3.2 on Parallels 3.0

QNX 6.3.2 on Parallels 3.0

January 3rd, 2008 Leave a comment Go to comments

I spent some time getting QNX working on [Parallels](http://www.parallels.com/ “Virtual pc, virtual machine and multiple operating system solutions by Parallels, Inc.”) 3.0. Its working well with the exception of video which I know can work, I just haven’t spent the time to get it going yet. If you get it working please comment on this post with how to do it.

First off, why use Parallels now that [VMWare](http://www.vmware.com/ “VMware: Virtualization, Virtual Machine & Virtual Server Consolidation – VMware”) is working? I use Parallels instead of VMWare because it is much faster for what I use it for. I have all my work on my mac and export that folder using nfs to my virtual machines. On my virtual machines I do builds as well as run and test my code. I did a quick test comparing QNX 6.3.2 building the multimedia engine and it took 9.5 minutes on VMWare Fusion 1.1, it took Parallels slightly less than 3 minutes to do the same thing. I also find a significamarknt difference in performance while running my application also.

# Issues:
There are 3 issues with QNX 6.3.2 running on Parallels out of the box:
1. Kernel doesn’t work
2. Network driver (ne2000) doesn’t work
3. Graphics detect vga mode only

There is only one issue with running QNX 6.3.2 on VMWare Fusion out of the box:
1. USB doesn’t work

I’ve got problems one and two fixed for Parallels, here are the steps to get yourself a QNX 6.3.2 virtual machine running on Parallels 3.0 build 5582. There are two floppy images you’ll need to get for this off my server:

1. *Boot floppy*: [http://www.mediatype.ca/wp-content/uploads/parallels/QNX632ParallelsBoot.fdd](http://www.mediatype.ca/wp-content/uploads/parallels/QNX632ParallelsBoot.fdd “”)
2. *Installation floppy*: [http://www.mediatype.ca/wp-content/uploads/parallels/QNX632ParallelsInstall.fdd](http://www.mediatype.ca/wp-content/uploads/parallels/QNX632ParallelsInstall.fdd “”)

# Create the virtual machine:
1. get the [QNX 6.3.2 ISO](http://www.qnx.com/download/feature.html?programid=16783 “QNX Downloads: Documents and Software”)
2. open Parallels
3. click file | new
4. choose custom. OS type: Other OS Version: Other
5. Choose the amount of RAM to give QNX. I choose 300.
6. Create a new hard disk image. I make mine 3000GB expanding.
7. Shared networking
8. Give it a name
9. Optimize for VM
10. Click more options, then select ISO image, then choose the image you got from step 1.
11. uncheck “start guest operating system”
12. Click menu item “Edit” then “Virtual Machine…”
13. Click “Add…” I add a usb adapter
14. Click “Options” Then click the “Booting” tab on the right. Choose “Floppy, Hard Disk, CDROM”
15. Click “Floppy” on the left. Check the “Connect at startup” checkbox. Click the “…” for the image file and choose the QNX632ParallelsInstall.fdd file.
16. Click OK. Then start the VM.

# Install QNX:
Follow the steps on the screen. You’ll need your license key to perform the installation. Make sure to install to the complete hard drive. Myself I install all the tools and GPL utilities. When it asks you to reboot, just turn off the virtual machine by hitting the red stop button on the top right.

# Prepare the VM for regular booting:
1. Click “Edit” | “Virtual Machine…”
2. Click Floppy
3. Check the “…” for the image file and choose QNX632ParallelsBoot.fdd
4. Click OK. Start the virtual machine.
5. This part you need to do quickly. While the virtual machine is booting, click on the black part where the VM text will come up to put your cursor into it. Then when it asks if you want to enter boot options by hitting the space key, hit the space key on your keyboard.
6. Press F5 to have it drop to a shell during boot
7. Type these commands in the shell to replace the stock 6.3.2 network driver with one that works included in the boot image:
cd /lib/dll
/bin/cp devn-ne2000.so devn-ne2000.so.bak
/bin/cp /proc/boot/devn-ne2000.so devn-ne2000.so
8. Hit CTRL-D twice
9. It should continue booting. Only the vga option will present itself at first, continue using these settings.

Categories: QNX Tags:
  1. James
    January 15th, 2008 at 04:23 | #1

    Thanks! I just ran through the install instructions and I’ve now got a pretty QNX login screen running in Parallels. :-)

  2. Christian C.
    January 23rd, 2008 at 06:19 | #2

    Thanks a million!
    Spent a long time tonight trying to make this work… now back to the good stuff :D

  3. Cee.Kay
    January 28th, 2008 at 19:47 | #3

    you might set the following under graphics / advanced…

    io-graphics -dvesabios vid=0,did=0,index=0,photon,xres=1024,yres=768,bitpp=16 -photon

    and should get colorful accelerated hi-res graphics ;-)

  4. Kevin
    May 7th, 2008 at 21:05 | #4

    What are the issues with getting QNX to boot in Parallels?

    Thanks
    Kevin

  5. Miguel
    May 14th, 2008 at 16:02 | #5

    Hi… How do you install QNX in VMWare Fusion? You mention that there is only one issue, but I do not seem to be able to install the OS in VMWare Fusion. Any pointers? Thanks.

  6. May 14th, 2008 at 18:37 | #6

    I didn’t have any issues installing on VMWare. I’m using VMWare Fusion 1.1. What errors/problems do you get when you try to install?

    Once running USB won’t work without a patch, but I think anyone can download that now.

  7. Miguel
    May 14th, 2008 at 21:58 | #7

    Hi Dan…

    Thanks again. I am using VmWare Fusion 1.2, and I wonder if this is the issue. In Fusion, when I try to get QNX loaded, it says that there is no operating system. I have tried both to load from a bootable CD and with a CD with the .iso image in there. No dice in either case. If you have it working with Fusion 1.1, I’ll try with this one to see what I can do. Thanks.

    Regards… Miguel.

  8. Kevin
    June 3rd, 2008 at 22:50 | #8

    I’m using a Macbook Pro and I love it. I develop software on QNX and I’m just starting to get my environment set up. I sure would LOVE to have QNX Momentics IDE and all the tools running on Mac OS X.

    Do you think QNX might do something like this. I SO want to cut my ties with Windows and I don’t like Linux all that much…

  9. June 6th, 2008 at 14:20 | #9

    Hi Kevin,

    I’ve been successful in getting a lot of the command line tools working (not all). I don’t use the IDE much myself so I haven’t put too much effort into getting it going but it should be a simple mater of replacing the licensing plugin with a darwin native one.

    Here is one discussion where you can build your own command line toolchain:

    http://community.qnx.com/sf/discussion/do/listPosts/projects.toolchain/discussion.coredevelopmenttools.topc1141

    Right now there are no plans to provide a mac os x based momentics install. I personally like the idea, if there are others please post on the qnx forums or this blog to show interest

  10. August 15th, 2008 at 15:28 | #10

    The commands in step 7 on preparing the VM don’t seem to work. There is no bin directory in /lib/dll/.

  11. August 16th, 2008 at 23:37 | #11

    Hi Craig,

    Those should be separate commands. I think the blog formatting makes it difficult to read. Try this:

    cd /lib/dll

    /bin/cp devn-ne2000.so devn-ne2000.so.bak

    /bin/cp /proc/boot/devn-ne2000.so devn-ne2000.so

  12. August 29th, 2008 at 14:13 | #12

    How does one modify the floppy boot disk to use the SMP kernel? Should I mount the floppy image and replace .boot with the SMP version of the kernel or is there more to this particular boot floppy?

    So far, things are working well. Thank you for taking the time to put this together.

    Regards,
    Kevin

  13. September 1st, 2008 at 16:30 | #13

    Hi Kevin,

    You need the procnto-smp kernel that supports Parallels. Parallels to my knowledge doesn’t support SMP anyways, so I don’t think there is a benefit to doing this.

    QNX 6.4.0 will ship with a kernel that supports Parallels so when it comes out you could grab that one.

    You can even grab a pre-release version now:
    http://community.qnx.com/sf/wiki/do/viewPage/projects.community/wiki/SDP_6.4.0

    If you keep the install disk I have here, and want to create your own 6.4.0 parallels boot disk then you need to take the devn-ne2000.so driver from the /proc/boot/ directory of the disks I have here. Then take the 6.4.0 kernel.

  14. Mathew
    September 27th, 2008 at 18:19 | #14

    I copied ‘/.boot’ from the boot floopy into ‘/.boot’ at the filesystem in parallels, and I am able to boot from hdd.

  15. Parallels 4.0?
    April 15th, 2009 at 11:43 | #15

    Has anyone tried this with parallels 4.0? It seems the boot floppy might not work here . . . am I missing something?

  1. No trackbacks yet.