Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

Virtual Machines

or how to run Windows on Linux



9:19 pm on Dec 21, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Ok, on request from this thread [webmasterworld.com], some information here about running Windows in a virtual machine. Not exclusively *nix specific, but this seems to be the only OS related forum.

The principle behind a virtual machine is very simple. Your "host" OS runs a program, which emulates all the hardware, including the BIOS where needed, for a "guest" OS. There are currently two commercial solutions available that do this (besides the partial solutions DOSemu and Wine on Linux):

Connectix VirtualPC [connectix.com]: Runs on Windows ME/NT/2000/XP and MacOS 9.x/X as host OS, and is capable of running virtual copies of Windows 3.1/95/98/ME/NT/XP.

Vmware [vmware.com]: Runs on Windows NT/2000/XP and Linux, and is capable of running virtual copies of DOS 6, Windows 3.1/95/98/ME/NT/2000/XP, and Linux 2.

I use Vmware on Linux myself, but both systems appear to be quite similar. VirtualPC has the advantage of cross-OS drag & drop and a more flexible clipboard, while Vmware supports more hardware and works slightly faster.

Why use a virtual system?
Flexibility: You can try out installation options, test software in different environments, and check the browser compatibility of your web pages all from one machine, without ever rebooting the hardware.

Security: This is the reason why I mentioned the topic in the other thread. You can restrict network access for the "guest" OS, so that it can only access the local host. This means, that you'll never have to install any of Microsoft's security patches ever again. If your sandbox web server doesn't reside on the local system, then a forwarding proxy will be trivial to install (and comes preconfigured with most Linux distributions).

Convenience: You will normally install your guest OS in a virtual disk. This is just a normal file in the host's file system. Make the virtual file system as large as you want, the "real" file will only get as big as the actual data stored within. Copy the complete installation to a different machine, and continue working there as if nothing happened. Send it to a partner on the other side of the globe, and they can work with exactly the same environment as you do. And best of all, configure your virtual disk to be "undoable", and you can run any potentially virus ridden software you like, and if you're fed up with it, simply discard the changes, and you're back to the clean system you started with.

Cost effective: Run several OSes next to each other, without the cost and hassle of buying seperate hardware for each of them. All you need is lots of RAM and a big disk, both of which are cheap nowadays.

Oh, and if all this is not enough for you... Vmware also has a server version, which allows to run several guest OSes in parallel without a host OS. Works basically like a Mainframe on standard PC hardware.

Have fun!


12:24 am on Dec 22, 2001 (gmt 0)

WebmasterWorld Senior Member littleman is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Great information Bird! Seems like you would need a pretty heavy duty processor as well? You usually use Linux as your 'host' OS, is it possible to run Vmware on FreeBSD as well? The reason why I'm asking is because I've been reading about how FreeBSD is superb at memory management.


12:29 am on Dec 23, 2001 (gmt 0)

10+ Year Member

This is very cool. I have just installed "VmWare" on Redhat 7.2. Pretty simple installation, Loaded windows 98 in the Virtual machine. I have had the system up for the last three hours working between Windows and Linux.
I had running on virtual windows; Dreamweaver,homesite,eudora,opera,ie 5.0, netscape 6.2 and Apache server.
I had open in Linux; (KDE Desktop) KD Mail, Mozilla and a terminal window. While working in Linux I couldn't feel any slow down. My mouse started to get a little jumpy in windows.

I can't believe I haven't crashed the system yet :)

VmWare has a thirty day trial. I thought I would just play with this, but it is making me think serious about it.


4:47 am on Dec 23, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Seems like you would need a pretty heavy duty processor as well?

I'm running this on a 330 Mhz machine. Of course, this isn't blindingly fast, but I have no problem working with the combined system for software testing. The real bottleneck are my 256 MB or RAM, so I have to restart the leaking Netscape once in a while. I made the mistake back then of buying a machine that requires horribly expensive EDO dimms, so I'll rather eventually buy a new machine than to upgrade the old one.

is it possible to run Vmware on FreeBSD as well?

I don't think so. FreeBSD is primarily known for network speed and security, which is why many hosting companies use it. But it covers such a small market compared to Linux that it's probably not worth the effort for Vmware.

While working in Linux I couldn't feel any slow down. My mouse started to get a little jumpy in windows.

Linux is a genuine multitasking system, so it would take a lot more to make you feel anything there. The situation when you can see a jumpy cursor in the Windows box is most often during heavy disk access, possibly on a Samba mount, because this means that both worlds are busy at the same time (and have to wait for each other's results).


5:28 pm on Dec 27, 2001 (gmt 0)

10+ Year Member


Really an interesting thing..one of my friends was asking me abt the possibility of such a virtual PC thing...guess...its here...

Okay...can i run linuxOS as guestOS under Windown98 as hostOS..using vmware...??



Featured Threads

Hot Threads This Week

Hot Threads This Month