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.
I have used VMware before and understand the basic concept of Virtual Machines. So I always thought you need to install that VMsoftware first, and then make a special installation of the OS you want...
well I read some articles lately and am confused a bit now.
my question is basically, can you run two "old" or already installed Linux distros in parallel by adding some VM software. (like Xen for example)
or lets put it in another way,
I have a Debian Woody system which has been running for a long time. I got a new HD and installed Slackware 10.0 on it. so now I have the choice in lilo which one to boot.
Is there a possibility that I install Xen or something like it, on a new partition or whatever, and then run my Slackware on hda and my debian on hdb in parallel?
yes you can run two or more already installed distros with XEN. I have SuSE 9.2,
Debian (Sarge) and Fedora 3. Those were already installed. I did not want
to use VMware Workstation. Then I read about XEN and decided to
give it a try. I installed the XEN kernel in my SuSE Installation and made
the apropriate entry into GRUB menu. (XEN only supports GRUB so far)
Boot Loader so far. If I want to run other distros in virtual machines then
I boot SuSE with the XEN kernel if not then with the default one.
Once booted with the XEN kernel it's easy to start the other, already installed,
distros. However they will not be booted with their default kernels but
with the XEN kernel you have installed in your host partition (in my case SuSE).
For every virtual machine you want to run, you need to create a configuration file.
In that file you specify the location of the kernel which will be located in
the host partition (SuSE in my case) and then the root partition which is equal
to the root partition of your already installed distros => the kernel is separated
from the Guest OS.
In my case everything runs very well.
There are same things you need to know:
- Your Distros will not run with their kernel but with the XEN kernel.
- The only way I could get a graphical output from my guest partitions
is via VNC. But for me it's OK. I boot the guest OS in run level 3 and start
there the VNC serevr.
- You'll have to use GRUB
- You can give direct access to the Hardware and other partitions to your guest partitions
- AND: The Performance is excellent
I saw you poster by means of search the keyword "xen" and I have a question about Xen:
Is it possible for Xen in one machine to run other machines with different hardware via network connection?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.