LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-11-2005, 12:14 PM   #1
Conjurer
Member
 
Registered: Oct 2005
Distribution: Ubuntu, ElemntaryOS, Linux Mint, openSUSE, Xubuntu
Posts: 56

Rep: Reputation: 15
Why Xen to try out new distros?


Hi!

As I would quite like to try out a Debian-based distro while keeping my main distro, it has been suggested to me that I create a virtual machine with Xen and use that for the second distro.
But, what are the advantages - if any - of doing so, as opposed to the old-fashioned method?

As far as I can tell from the Xen docs, you would still have to create a separate partition for the virtual machine.
 
Old 12-11-2005, 01:18 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
I haven't looked into Xen too closely, but with qemu you
can "install" another OS into a file (an image), much like
in VMWare.


Cheers,
Tink
 
Old 12-11-2005, 02:00 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
no, you can run Xen from image files if you want, no need to turn over real disk to it.
 
Old 12-14-2005, 05:34 AM   #4
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
The real advantage of xen is its cost (major expense if you use vmware) and the fact that it allows you to run more than one distro at a time. VMware supports Microsoft Operating Systems whereas, to my knowledge, xen doesn't - this doesn't mean that you can't use wine or codeweavers crossover to run windows apps. However, as in most of the virtual machine systems, high graphics 3D and AGPx8 are not well supported and sometimes impossible to achieve. So really virtualization is not, and has not been, designed with Gamers in mind.

That said, if you have sufficeint RAM, you can set up serious servers on different machines using different and customized distros, kernels and they can all be networked, or not, to try out pre-production systems (on one machine, such as a modern laptop) either for demonstration or development purposes. Most of the guests don't even need a GUI and they can be accessed and controlled from the host (xen dom0). So if you wanted to hide your database server, without internet access, behind a firewall that only allowed access from specific MAC address machines on your intranet, you can do so.

Furthermore, xen allows you to take snapshots of a virtual machine, and it is even possible to transfer a running virtual machine and all its data access from one physical computer to another in a different location. If you know what youy are doing!

I tend to like virtual machines because I don't have to reboot to change distros, I don't have to set up my printer for each and every distro, and I don't have to migrate my email and browser bookmarks and financial records from my main distro - yet they are always, instantly, accessible. It also means that you can happily do crazy things, experimental even, and if and when a machine 'blows up/crashes/panics' you just reload the snapshot (much quicker than reinstalling - usually under 5 minutes) and you try something completely different.

If you want to experience 'no fear' go virtual!

Edit:
PS: I haven't tried qemu, and all my VMware machines were on a Windows host. Since VMware want a separate subscription for a Linux based host I am switching over to xen 64-bit.

Last edited by minrich; 12-14-2005 at 05:38 AM.
 
Old 12-14-2005, 05:56 AM   #5
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
I have two debian sarge running in Xen 3.0, each of them are stored in one file for / of 1Gb and one file for swap of 512Mb.
It took me some time to make it run (problem of the guest OS kernel version and python too old) and now I'm in the phase of tweaking and performance testing. It gives very good results, its amazing.
I've heard that there is a less support/developpment for 64-bit architectures.
 
Old 12-14-2005, 09:16 AM   #6
Conjurer
Member
 
Registered: Oct 2005
Distribution: Ubuntu, ElemntaryOS, Linux Mint, openSUSE, Xubuntu
Posts: 56

Original Poster
Rep: Reputation: 15
I installed Xen just the other day - haven't had time to find a work-a-round for the random ethernet MAC address issue yet, but I'll get there.
Thanks for your replies - they help putting Xen into perspective (now I actually think VMs might be pretty cool )

Anyway, while it's true that Xen won't run Windows at the time of writing, this is apparently possible using the Vanderpool technology from Intel, which is supposed to be implemented in their next-gen CPUs... so, in a relatively near future, it will run Windows too. I came across an article on it - can't remember where though, but you can just google it.
 
Old 12-14-2005, 01:34 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
as i understand it, Xen isn't supposed to be about compatability with existing architectures, it's about making the best virtual architecture the developers can for performance and reliability and such. If you want to make somethign like Xen be commonplace within enterprise level systems, you don't hack away at it to make it observe all of the i386's silliest quirks, or any other architecture, you say that you demand the right to be worth developing specifically for... so Xen doesn't emulate intel, or p series, it just is itself. well that's my take at least.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is Xen TSHF-Megsy Linux - Software 2 10-31-2005 01:05 PM
about xen kpachopoulos Linux - General 6 09-03-2005 08:46 AM
Does Xen have a gui? Homer Glemkin Linux - Software 1 08-25-2005 08:27 AM
XEN performance gravesb SUSE / openSUSE 3 08-10-2005 04:37 PM
anyone tried Xen in suse-9.3? greythorne SUSE / openSUSE 1 06-26-2005 06:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration