Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Learning is a "practical use"... now you can run more than one VM on your box at the same time... see if you can network them. Normally you'd need to buy more hardware to learn about this
I have a VMWare image with Windows for Workgroups 3.11 for some work I did for my son's school. They still have a couple of boxes running some old stuff I did for them and I don't want to have a box set up just for the occasional call I get from them.
I also use it for Linux From Scratch installs and testing package builds for my Slackware installs. I also have one image that is non-persistent so I can test software that might do bad things to my box and recover just by re-starting.
Not practical? Uh, yes they are. I've got Slackware running as the host on my laptop and I've got VMWare installed and running two clients, Windows XP and CentOS. I use the Windows client when I run into weird crap like a Webex session that won't run in Linux. Instead of having to reboot into Windows, I just start the virtual machine and I'm off and running. The CentOS VM is used for a project I'm working on where it will be the underlying OS. We'll be distributing the final product as a VM, making installation on the customer end absolutely trivial.
They are also HIGHLY practical from a security standpoint. If you run a webserver, run it in a VM so if you get cracked, you simply replace the image and you're back to where you were.
Distribution: Ubuntu 7.10, OpenSUSE 10.3, Linux Mint, Arch
Posts: 92
Original Poster
Rep:
It is true, what you say. I have for example use VirtualBox to test out distros... But I think it's kinda overkill.
But it's good for the CD budget, and you can feel good that you have saved some plastictrees...
I've been playing around with virtual machines, I don't see any real pracical use for it for me, but they are fun to play with.
I find it to be very practical. I use a virtual instance of win xp for photoshop and a couple of other apps for which I haven't been able to find linux equivalents.
I have to say that they are practical. I have a Win2K VM in VirtualBox that's almost a clone of my original. I have a Win98 VM just for fun. I didn't make one for Win3.11 because I already did in DOSBox. I have Ubuntu and Fluxbuntu VMs because my dad got started with Ubuntu and it's useful to help answer some of his questions. I have a Slackware-1.1.2 VM just for fun. And I have a SLED10 VM for experimenting with to learn the SuSE way of things.
It can also be useful for testing bootable floppy and cd images without rebooting the host computer. It can be useful to test questionable software before installing it on the host. And a VM is completely self-contained inside one or two files. If you're using a Windows VM and it gets a virus it won't infect the host (unless you share infected files).
Quote:
Originally posted by ComputerGreek
I run Windows XP under QEMU (KVM) and it works faster than the native XP. At least that is how I experience it.
My Win2K seems faster, too, even with all the security stuff loaded. I think it's because everything runs inside a single file so there's little-to-no fragmentation and disk thrashing.
I think it's because everything runs inside a single file so there's little-to-no fragmentation and disk thrashing.
There would be less disk thrashing because the files are restricted to within a single file (the image), but this would be much like restricting the files to a separate partition.
It still uses the NTFS filesystem to distribute (bits of) files throughout the image, so I would imagine that fragmentation would be as usual.
I would guess that the basic IO and file manipulation routines are more efficient in Linux.
I really don't know what makes it seem to run better. It shouldn't, because Qemu/KVM only gets 1GB of RAM and Windows gets the full 2GB.
I would say its practical as long as you have the hardware to do it, if you have a pentium 1 with 64 mb of ram, its obviously not going to be practical, but if you have a modern machine with 1-2 gb of ram it would be pretty practical. According to Theo de Raat(I think thats his name) of Open BSD its not that secure because if the host machine gets compromised then all the virtual machines are at risk
According to Theo de Raat(I think thats his name) of Open BSD its not that secure because if the host machine gets compromised then all the virtual machines are at risk
The idea is that the host machine is never at risk because access to it is severely limited. Admins only essentially. Any more general access is through the VM and it should be almost impossible to crack through the VM to the host. I'm certainly interested in hearing about VM breaches, but I can't say I've ever come across one. And I also view Theo de Raat with a touch of suspicion. He has a fairly long history of saying some pretty inflammatory things just to stir the pot.
The idea is that the host machine is never at risk because access to it is severely limited. Admins only essentially. Any more general access is through the VM and it should be almost impossible to crack through the VM to the host. I'm certainly interested in hearing about VM breaches, but I can't say I've ever come across one. And I also view Theo de Raat with a touch of suspicion. He has a fairly long history of saying some pretty inflammatory things just to stir the pot.
True enough, he does seem to like to stir things up alot, but I thought I would just put that in to see what you guys thought of it
Sure I find them extremely practical, there is a lot of wasted resources on the vast majority of machines out there so use them up. [market_this_as_green]Save the planet and all that good stuff.[/market_this_as_green] I was able to remove quite a few physical machines this year and make them virtual guests on my more powerful desktop. I have 3 running now on a Slackware machine myself.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.