LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-29-2005, 09:34 AM   #1
Ed_999
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware RedHat Fedora
Posts: 27

Rep: Reputation: 15
virtualization Xen Slackware10


Has anyone done any virturalization of Slackware 10
using Xen or UML or any other free virtualiztion
software? I'd like to use a virtual environment to test
some software and just for the fun of it.
I have an AMD Athlon 2500 with a gig of memory so
resources should not be a problem ( I hope ).
Any advice would be most welcome since I have no
experience in virtualizaiton.
 
Old 06-05-2005, 07:58 AM   #2
GlowGlow
Member
 
Registered: Jun 2005
Posts: 111

Rep: Reputation: 15
It is certainly possible to use Xen on Slackware. You have to:

* Install and configure GRUB (GRUB is needed to start the Xen monitor).
* Compile the Xen tools
* Make a patched kernel for the administrative domain.

The process of doing this is described in the Xen documentation. IIRC they have a fairly easy build script that will automatically create a patched kernel, etc. 1GB is enought to tinker with Xen.
 
Old 12-08-2005, 09:52 PM   #3
mrjshum
LQ Newbie
 
Registered: Sep 2005
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
can Slackware 10.2 be used with Xen 3.0 as dom0 the host OS?
I've found some documentation on setting up slack as domU.
any references would be appreciated. thanks...
 
Old 05-09-2006, 01:26 PM   #4
pendraco
LQ Newbie
 
Registered: May 2006
Posts: 1

Rep: Reputation: 0
I just recently got my first domU up on Slackware 10.x and am now [finally] moving forward with server consolidation at my organization.

For the most part, (assuming a "full install"), setting up Slackware as a dom0 host is relatively straightforward, following the Xen installation instructions. For this, I found the README in the source distribution more relevant than the Xen User Guide. To get Xen up and running on Slackware I:

* downloaded the Xen 3.0.2 source distribution and per step '3' of the instructions in the included README ("Quick Start Guide"), executed 'make world' (er, after 'cd [source-dir]' 'natch ). Note that this was necessary since the binary package zonks the console in Slackware and causes miscellaneous other minor issues. :-p

[[ Don't bother trying to build separate 'xen0' and 'xenU' kernels since: a) these are "primarily for developers working on Xen"; b) imaging domUs easier from a single '/lib/modules' source (IMO); and c) didn't work for me, anyway :-p (though, I gave it only a passing try). ]]

At this point, you should have a default, modularized, 2.6.16-xen kernel. If you have special driver needs, have an existing 2.6 kernel you want to reconfigure from (copy over '.config' and "make linux-2.6-xen-config CONFIGMODE=oldconfig"), or want to trim some module fat, proceed with step '5'... I recommend going through this step and ensuring that at least your disk and filesystem support is "compiled in". The recompile was worth it to me (only another 26 minutes on my AthlonXP 2800+ w/1GB).

When done, "make install" your Slackware ready "Xen".

* Installed grub (hint: 'swaret --install grub'; http :// swaret.sf.net). Using 'grubconfig' sets up an initial grub configuration. Then edit /boot/grub/menu.lst per step '2' of the README's "Pre-built..." section.

* Rebooted into Xen...

Set up your domUs per the Xen User Guide. However, note that bridge scripts do not completely set up the bridge in Slackware, since only the domU's virtual interface ('vifX.Y') is added to the bridge (hair puller!). To get this resolved, write a wrapper script to start your domain(s) and execute "brctl addif <bridge> ethX".

Voila, XenSlack!
 
Old 05-09-2006, 04:02 PM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116
Quote:
Originally Posted by Ed_999
Has anyone done any virturalization of Slackware 10
using Xen or UML or any other free virtualiztion
software?
I use QEMU a lot, not per se because I prefer it over Xen, but rather because it does not alter the host by requiring kernel patches, and on top of that, it allows unpatched guests in the Virtual Machine.

This means, you can run Windows inside QEMU.

I use QEMU to test software; to build all my Slackware packages in a clean environment; and to have access to Windows while running Slackware on my desktop.

Some pointers:
Eric
 
Old 05-09-2006, 05:44 PM   #6
danieldk
Member
 
Registered: Aug 2002
Posts: 150

Rep: Reputation: 15
Quote:
Originally Posted by Alien Bob
I use QEMU a lot, not per se because I prefer it over Xen, but rather because it does not alter the host by requiring kernel patches, and on top of that, it allows unpatched guests in the Virtual Machine.
To add to that: VMWare Player and VMWare Server are also free (as in beer). I like VMWare, because it has pretty good tools, and Workstation and Server can also make snapshots, suspend virtual machines, etc.
 
Old 05-09-2006, 06:12 PM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116
Quote:
Originally Posted by danieldk
To add to that: VMWare Player and VMWare Server are also free (as in beer). I like VMWare, because it has pretty good tools, and Workstation and Server can also make snapshots, suspend virtual machines, etc.
Heya Daniel :-)

I must add (without atarting a pissing contest of sorts) that QEMU is also able to make snapshots, and suspend VM's (and save state into a file) and much much more. QEMU has a console/monitor where you can query the VM's state, and mess with it in all sorts of ways. It also has a built-in VNC server so your virtual machine's console/Xsession is accessible outside your local machine.
Daniel is right though - VMware has a long history and a lot of man-years of programming invested - after all it is a commercial tool. It is stable and has a lot of management tools to support it.

Cheers, Eric
 
Old 05-10-2006, 02:21 AM   #8
danieldk
Member
 
Registered: Aug 2002
Posts: 150

Rep: Reputation: 15
Hey Eric,

It's been a while since I tried qemu, it is nice to hear that it can suspend VMs now . I'll give it another spin!

Thanks,
Daniel
 
Old 05-13-2006, 08:23 AM   #9
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
I used to be an VMWare addict but this thread got me interested in qemu. I tried it before but I didn't like it too much. Now I've given it a new try and I must say it has come a long way. I don't know about Windows but FreeBSD 6.1, NetBSD 3.0 and all Linux distros I tried just run fine with the version I tried.

Thanks Eric for both the information and the up-to-date packages.
 
  


Reply

Tags
xen


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Application virtualization pisanlov General 1 11-04-2005 10:58 AM
What is Xen TSHF-Megsy Linux - Software 2 10-31-2005 02:05 PM
Power5 - virtualization question (SAN) touny AIX 3 09-14-2005 12:41 AM
about xen kpachopoulos Linux - General 6 09-03-2005 09:46 AM
XEN performance gravesb SUSE / openSUSE 3 08-10-2005 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:40 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