Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - How did you get QNX 4.25 running under VMWare?: Page 1 of 2 (11 Items)
   
How did you get QNX 4.25 running under VMWare?  
Seems simple, right? After 20 or so hours of trying it just won't work for me.

QNX2 and QNX6 are both running fine in VMWare but QNX4 just won't work.

I've tried every combination of VMWare 4/5/6/6.5, small or large disk size, different BIOS settings (DOS vs. Other large
 disk access methods), etc. on three different machines including older dell single core P4 desktops, a newer dell dual 
core P4 desktop (allocating a single core to QNX4), and a dell dual core laptop (again, one core for QNX4).

All installs have been done in safe mode with 16 color VGA. Photon comes up and the GUI installer progresses normally, 
but...

Two problems always occur. First, it can never read the license floppy. I used 'license' to copy licenses from a working
 QNX4 system to a new floppy and it still can't read them.

OK, if the license floppy can't be read it should still boot, right?

Nope. The boot loader starts, the entire series boot progression dots appear (no weird bad block characters or anything)
 and then it just stops without displaying any error.

What's the trick here?
Re: How did you get QNX 4.25 running under VMWare?  
Hi Ken,

Your floppy is the old style license correct?  What happens if you take that floppy and create a raw image of it on 
another QNX system using dd

dd if=/dev/fd0 of=/tmp/floppy.img

Then under vmware configuration point the floppy disk to that floppy image.  That may help.  I too thought that it 
should boot past the loader even if no licenses were found, it seems odd that it didn't.  Try to get the license thing 
worked out first using the floppy image.  Another thing to try is the new installation CD:

http://www.qnx.com/download/feature.html?programid=18115

Its pretty much exactly the same as the June 2003 CD, however it adds support for SATA drives via the Fsys.atapi driver,
 plus its an ISO that you can download.

Best regards,

Erick

P.S. Kudos for getting QNX2 on Vmware.  I admit that has been a burning curiosity of mine for a while, however I just 
haven't had the time to test it.

> Seems simple, right? After 20 or so hours of trying it just won't work for me.
> 
> 
> QNX2 and QNX6 are both running fine in VMWare but QNX4 just won't work.
> 
> I've tried every combination of VMWare 4/5/6/6.5, small or large disk size, 
> different BIOS settings (DOS vs. Other large disk access methods), etc. on 
> three different machines including older dell single core P4 desktops, a newer
>  dell dual core P4 desktop (allocating a single core to QNX4), and a dell dual
>  core laptop (again, one core for QNX4).
> 
> All installs have been done in safe mode with 16 color VGA. Photon comes up 
> and the GUI installer progresses normally, but...
> 
> Two problems always occur. First, it can never read the license floppy. I used
>  'license' to copy licenses from a working QNX4 system to a new floppy and it 
> still can't read them.
> 
> OK, if the license floppy can't be read it should still boot, right?
> 
> Nope. The boot loader starts, the entire series boot progression dots appear (
> no weird bad block characters or anything) and then it just stops without 
> displaying any error.
> 
> What's the trick here?


Re: How did you get QNX 4.25 running under VMWare?  
> Hi Ken,
> 
> Your floppy is the old style license correct?  

My original license is a 720k floppy from QNX 4.01. Our sales rep sent us the QNX 4.25 2003 upgrade package that came 
with a 1.4 floppy disk that was labeled "Bootable Install License Disk" and it had a bar code sticker on the back with a
 serial number and password. When that floppy didn't work the sales rep sent us a second package and the second floppy 
didn't work either. At first I chalked it up to being on a laptop with a USB floppy but licensing didn't work on two 
desktop machines that had built in floppy drives either.

>What happens if you take that 
> floppy and create a raw image of it on another QNX system using dd
> 
> dd if=/dev/fd0 of=/tmp/floppy.img
> 
> Then under vmware configuration point the floppy disk to that floppy image.  
> That may help.  I too thought that it should boot past the loader even if no 
> licenses were found, it seems odd that it didn't.  Try to get the license 
> thing worked out first using the floppy image.

That's a good idea, I'll give it a try.

> Another thing to try is the 
> new installation CD:
> 
> http://www.qnx.com/download/feature.html?programid=18115
> 
> Its pretty much exactly the same as the June 2003 CD, however it adds support 
> for SATA drives via the Fsys.atapi driver, plus its an ISO that you can 
> download.
> 
> Best regards,
> 
> Erick

Thanks, I'll try that too.

> 
> P.S. Kudos for getting QNX2 on Vmware.  I admit that has been a burning 
> curiosity of mine for a while, however I just haven't had the time to test it.

QNX2 came up easy on a desktop with a 5.25" drive. The hard part was getting all my old QNX2 stuff moved from an ancient
 desktop with arcnet over to the VMWare session. Mitchell Shoenbrun helped a lot by donating his QNX2 parallel port ZIP 
driver to the cause.

> 
> 
> > Seems simple, right? After 20 or so hours of trying it just won't work for 
> me.
> > 
> > 
> > QNX2 and QNX6 are both running fine in VMWare but QNX4 just won't work.
> > 
> > I've tried every combination of VMWare 4/5/6/6.5, small or large disk size, 
> 
> > different BIOS settings (DOS vs. Other large disk access methods), etc. on 
> > three different machines including older dell single core P4 desktops, a 
> newer
> >  dell dual core P4 desktop (allocating a single core to QNX4), and a dell 
> dual
> >  core laptop (again, one core for QNX4).
> > 
> > All installs have been done in safe mode with 16 color VGA. Photon comes up 
> 
> > and the GUI installer progresses normally, but...
> > 
> > Two problems always occur. First, it can never read the license floppy. I 
> used
> >  'license' to copy licenses from a working QNX4 system to a new floppy and 
> it 
> > still can't read them.
> > 
> > OK, if the license floppy can't be read it should still boot, right?
> > 
> > Nope. The boot loader starts, the entire series boot progression dots appear
>  (
> > no weird bad block characters or anything) and then it just stops without 
> > displaying any error.
> > 
> > What's the trick here?
> 
> 


Re: How did you get QNX 4.25 running under VMWare?  
No joy.

The installation process with the 2003 CD behaved identically with the mapped license floppy image as it did with the 
disk in the floppy drive - it spins for awhile and then says no license found on disk.

The 2008 CD changed a little. It still couldn't read the license from the drive or mapped image, and it still wouldn't 
boot, but instead of hanging after a progression of ..... dots during boot it gave a nice colorful and corrupted video 
display before hanging.

Observing the installation steps it sort of seems like only licensed products will get installed - so if it can't read 
the license it won't install any packages. If that's the case it would explain why it hangs during boot.
RE: How did you get QNX 4.25 running under VMWare?  
Can you install it on real machine? If so do it then afterward you should be able to make an "image" of that disk with 
some of the VMware tools.

-----Original Message-----
From: Ken Schumm [mailto:community-noreply@qnx.com] 
Sent: June 2, 2009 11:26 AM
To: qnx4-community
Subject: Re: How did you get QNX 4.25 running under VMWare?

No joy.

The installation process with the 2003 CD behaved identically with the mapped license floppy image as it did with the 
disk in the floppy drive - it spins for awhile and then says no license found on disk.

The 2008 CD changed a little. It still couldn't read the license from the drive or mapped image, and it still wouldn't 
boot, but instead of hanging after a progression of ..... dots during boot it gave a nice colorful and corrupted video 
display before hanging.

Observing the installation steps it sort of seems like only licensed products will get installed - so if it can't read 
the license it won't install any packages. If that's the case it would explain why it hangs during boot.

_______________________________________________
QNX4 Community Support
http://community.qnx.com/sf/go/post30591

Re: RE: How did you get QNX 4.25 running under VMWare?  
Maybe. 

The old QNX4 machine could probably be imaged but its hard drive is a lot smaller than I'd like.

> Can you install it on real machine? If so do it then afterward you should be 
> able to make an "image" of that disk with some of the VMware tools.
> 
> -----Original Message-----
> From: Ken Schumm [mailto:community-noreply@qnx.com] 
> Sent: June 2, 2009 11:26 AM
> To: qnx4-community
> Subject: Re: How did you get QNX 4.25 running under VMWare?
> 
> No joy.
> 
> The installation process with the 2003 CD behaved identically with the mapped 
> license floppy image as it did with the disk in the floppy drive - it spins 
> for awhile and then says no license found on disk.
> 
> The 2008 CD changed a little. It still couldn't read the license from the 
> drive or mapped image, and it still wouldn't boot, but instead of hanging 
> after a progression of ..... dots during boot it gave a nice colorful and 
> corrupted video display before hanging.
> 
> Observing the installation steps it sort of seems like only licensed products 
> will get installed - so if it can't read the license it won't install any 
> packages. If that's the case it would explain why it hangs during boot.
> 
> _______________________________________________
> QNX4 Community Support
> http://community.qnx.com/sf/go/post30591
> 

Re: RE: How did you get QNX 4.25 running under VMWare?  
Ahh however what you could do is then create a new virtual drive boot with the two on the virtual machine and use our 
friend QNX_drive_copy

http://quics.qnx.com/cgi-bin/search/usr/free/?srch=QNX_drive_copy&submit=submit&select=1

to copy the contents of the smaller imaged drive to the newly created larger drive.

Best regards,

Erick

> Maybe. 
> 
> The old QNX4 machine could probably be imaged but its hard drive is a lot 
> smaller than I'd like.
> 
> > Can you install it on real machine? If so do it then afterward you should be
>  
> > able to make an "image" of that disk with some of the VMware tools.
> > 
> > -----Original Message-----
> > From: Ken Schumm [mailto:community-noreply@qnx.com] 
> > Sent: June 2, 2009 11:26 AM
> > To: qnx4-community
> > Subject: Re: How did you get QNX 4.25 running under VMWare?
> > 
> > No joy.
> > 
> > The installation process with the 2003 CD behaved identically with the 
> mapped 
> > license floppy image as it did with the disk in the floppy drive - it spins 
> 
> > for awhile and then says no license found on disk.
> > 
> > The 2008 CD changed a little. It still couldn't read the license from the 
> > drive or mapped image, and it still wouldn't boot, but instead of hanging 
> > after a progression of ..... dots during boot it gave a nice colorful and 
> > corrupted video display before hanging.
> > 
> > Observing the installation steps it sort of seems like only licensed 
> products 
> > will get installed - so if it can't read the license it won't install any 
> > packages. If that's the case it would explain why it hangs during boot.
> > 
> > _______________________________________________
> > QNX4 Community Support
> > http://community.qnx.com/sf/go/post30591
> > 
> 


Re: RE: How did you get QNX 4.25 running under VMWare?  
Thanks, I'll try fiddling around with that this weekend. My QNX box is at home and it's a monster that I don't want to 
haul around.

Thanks for the ideas, I didn't know that VMWare had the ability to image a remote drive.


> Ahh however what you could do is then create a new virtual drive boot with the
>  two on the virtual machine and use our friend QNX_drive_copy
> 
> http://quics.qnx.com/cgi-bin/search/usr/free/?srch=QNX_drive_copy&submit=
> submit&select=1
> 
> to copy the contents of the smaller imaged drive to the newly created larger 
> drive.
> 
> Best regards,
> 
> Erick
> 
> > Maybe. 
> > 
> > The old QNX4 machine could probably be imaged but its hard drive is a lot 
> > smaller than I'd like.
> > 
> > > Can you install it on real machine? If so do it then afterward you should 
> be
> >  
> > > able to make an "image" of that disk with some of the VMware tools.
> > > 
> > > -----Original Message-----
> > > From: Ken Schumm [mailto:community-noreply@qnx.com] 
> > > Sent: June 2, 2009 11:26 AM
> > > To: qnx4-community
> > > Subject: Re: How did you get QNX 4.25 running under VMWare?
> > > 
> > > No joy.
> > > 
> > > The installation process with the 2003 CD behaved identically with the 
> > mapped 
> > > license floppy image as it did with the disk in the floppy drive - it 
> spins 
> > 
> > > for awhile and then says no license found on disk.
> > > 
> > > The 2008 CD changed a little. It still couldn't read the license from the 
> 
> > > drive or mapped image, and it still wouldn't boot, but instead of hanging 
> 
> > > after a progression of ..... dots during boot it gave a nice colorful and 
> 
> > > corrupted video display before hanging.
> > > 
> > > Observing the installation steps it sort of seems like only licensed 
> > products 
> > > will get installed - so if it can't read the license it won't install any 
> 
> > > packages. If that's the case it would explain why it hangs during boot.
> > > 
> > > _______________________________________________
> > > QNX4 Community Support
> > > http://community.qnx.com/sf/go/post30591
> > > 
> > 
> 
> 


Re: RE: How did you get QNX 4.25 running under VMWare?  
> Thanks for the ideas, I didn't know that VMWare had the ability to image a 
> remote drive.

and.. apparently it doesn't have this ability without VMWare tools on the remote machine. To be expected I guess.

[...]
Re: RE: How did you get QNX 4.25 running under VMWare?  
Line 68 of that script needs the -b option appended to the [add] command to fdisk.