<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Zack of All Trades &#187; linux</title>
	<atom:link href="http://zackofalltrades.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://zackofalltrades.com</link>
	<description>… and master of, um… let me get back to you on that…</description>
	<lastBuildDate>Fri, 01 Apr 2011 14:20:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Changing to a non-xen kernel in CentOS 5 (so you can run VMware Server)</title>
		<link>http://zackofalltrades.com/2008/09/changing-to-a-non-xen-kernel-in-centos-5-so-you-can-run-vmware-server/</link>
		<comments>http://zackofalltrades.com/2008/09/changing-to-a-non-xen-kernel-in-centos-5-so-you-can-run-vmware-server/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 01:11:02 +0000</pubDate>
		<dc:creator>Zack Williams</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://zackofalltrades.com/?p=140</guid>
		<description><![CDATA[Quick instructions for changing your kernel out on CentOS 5 so you can run VMWare Server. ]]></description>
			<content:encoded><![CDATA[<p><a href="http://vmware.com/">VMware</a> conflicts with the <a href="http://www.xen.org/">Xen</a> hypervisor in the Linux kernel, making their use mutually exclusive.  This is because they both use the hardware assisted virtualization features of the processor. </p>
<p>Why would you want to do this, when Xen can offer better performance than VMware?  Portability &#8211; I can run a VMware virtual machine on Mac under VMware Fusion, on Windows under VMware Server, Workstation, or Player.  </p>
<p>In my office, I&#8217;ve got a Dell Poweredge 830 with 8GB RAM, but my desktop computer is a Mac Mini which maxes out at 2GB RAM. It&#8217;s a no brainer to use the Dell for setting up the VM&#8217;s and then moving them to other machines when the time comes. </p>
<p>If your CentOS 5 box is running the xen kernel and try to install <a href="http://vmware.com/beta/server/">VMware Server 2.0</a> (currently in beta), you&#8217;ll get the following error when trying to install the RPM:</p>
<pre> You cannot install VMware Server on a system running a xen kernel</pre>
<p>As a result, you need to switch to a non-xen kernel.</p>
<p>To do this, you first need to install the kernel. <code>yum</code> makes this easy:</p>
<pre>yum install kernel</pre>
<p>Then remove xen and the kernel-xen packages:</p>
<pre>yum remove xen kernel-xen</pre>
<p>Then you have to specify which kernel you want to run in <code>/boot/grub/grub.conf</code>. In that file there&#8217;s a list of kernels available to boot from:</p>
<pre>
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-92.1.10.el5)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.18-92.1.10.el5 ro root=LABEL=/1 rhgb quiet
        initrd /boot/initrd-2.6.18-92.1.10.el5.img
title CentOS (2.6.18-92.1.10.el5xen)
        root (hd0,0)
        kernel /boot/xen.gz-2.6.18-92.1.10.el5
        module /boot/vmlinuz-2.6.18-92.1.10.el5xen ro root=LABEL=/1 rhgb quiet
        module /boot/initrd-2.6.18-92.1.10.el5xen.img
</pre>
<p>The line that says <code>default=</code> specifies which kernel to load, where 0 is the first one listed in the file.  In my case, I had to change the line that says <code>default=1</code> to <code>default=0</code> to specify the non-xen kernel. </p>
<p>Reboot, and you&#8217;re good to go &#8211; the VMware RPM will install, and VMware server runs just fine. </p>
]]></content:encoded>
			<wfw:commentRss>http://zackofalltrades.com/2008/09/changing-to-a-non-xen-kernel-in-centos-5-so-you-can-run-vmware-server/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

