<?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>Ionut's WebSpace &#187; Virtualization</title>
	<atom:link href="http://www.vioan.ro/wp/category/virtualization/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vioan.ro/wp</link>
	<description>Exploring Creativity Is My Passion</description>
	<lastBuildDate>Wed, 05 Oct 2011 14:28:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>VMWare Workstation 6.5.1 on OpenSUSE 11.1</title>
		<link>http://www.vioan.ro/wp/2009/03/02/vmware-workstation-651-on-opensuse-111/</link>
		<comments>http://www.vioan.ro/wp/2009/03/02/vmware-workstation-651-on-opensuse-111/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 21:00:43 +0000</pubDate>
		<dc:creator>ionut</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.vioan.ro/wp/?p=327</guid>
		<description><![CDATA[


Finally, I received my new hdd (the previos one died) so I decided to install OpenSUSE 11.1.  VMWare refused to work. I tried to install VMware-server-1.0.8  but without any success, and in the case of VMware-server-2.0.0 I don&#8217;t like the new management interface (they didn&#8217;t keep the old vmware-console, you will need to manage [...]]]></description>
			<content:encoded><![CDATA[<p>Finally, I received my new hdd (the previos one died) so I decided to install OpenSUSE 11.1.  VMWare refused to work. I tried to install VMware-server-1.0.8  but without any success, and in the case of VMware-server-2.0.0 I don&#8217;t like the new management interface (they didn&#8217;t keep the old vmware-console, you will need to manage your virtual machines using firefox) so, finally I said ok, let&#8217;s try workstation. And here is what I did:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">ionut<span style="color: #000000; font-weight: bold;">@</span>vaio:~<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">uname</span> <span style="color: #660033;">-a</span>
Linux vaio 2.6.27.19-<span style="color: #000000;">3.2</span>-default <span style="color: #666666; font-style: italic;">#1 SMP 2009-02-25 15:40:44 +0100 x86_64 x86_64 x86_64 GNU/Linux</span>
ionut<span style="color: #000000; font-weight: bold;">@</span>vaio:~<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>SuSE-release
openSUSE <span style="color: #000000;">11.1</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>x86_64<span style="color: #7a0874; font-weight: bold;">&#41;</span>
VERSION = <span style="color: #000000;">11.1</span>
ionut<span style="color: #000000; font-weight: bold;">@</span>vaio:~<span style="color: #000000; font-weight: bold;">&gt;</span></pre></td></tr></table></div>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">ionut<span style="color: #000000; font-weight: bold;">@</span>vaio:~<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">755</span> VMware-Workstation-6.5.1-126130.x86_64.bundle
ionut<span style="color: #000000; font-weight: bold;">@</span>vaio:~<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> .<span style="color: #000000; font-weight: bold;">/</span>VMware-Workstation-6.5.1-126130.x86_64.bundle
Extracting VMware Installer...done.
You must accept the EULA to continue.  Press enter to proceed.
.....<span style="color: #7a0874; font-weight: bold;">&#91;</span>skip<span style="color: #7a0874; font-weight: bold;">&#93;</span>....
Path to Eclipse directory <span style="color: #000000; font-weight: bold;">for</span> use with Integrated Virtual Debugger
<span style="color: #7a0874; font-weight: bold;">&#40;</span>optional<span style="color: #7a0874; font-weight: bold;">&#41;</span>:
&nbsp;
The product is ready to be installed.  Press enter to begin
installation or Ctrl-C to cancel.
&nbsp;
Installing VMware Workstation 6.5.1
    Configuring...
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #666666; font-style: italic;">######################################################################] 100%</span>
Installation was successful</pre></td></tr></table></div>

<p>Let&#8217;s see if it is working:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">ionut<span style="color: #000000; font-weight: bold;">@</span>vaio:~<span style="color: #000000; font-weight: bold;">&gt;</span> vmware
Logging to <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>vmware-ionut<span style="color: #000000; font-weight: bold;">/</span>setup-13622.log
modinfo: could not <span style="color: #c20cb9; font-weight: bold;">find</span> module vmmon
modinfo: could not <span style="color: #c20cb9; font-weight: bold;">find</span> module vmnet
modinfo: could not <span style="color: #c20cb9; font-weight: bold;">find</span> module vmblock
modinfo: could not <span style="color: #c20cb9; font-weight: bold;">find</span> module vmci
modinfo: could not <span style="color: #c20cb9; font-weight: bold;">find</span> module vsock
modinfo: could not <span style="color: #c20cb9; font-weight: bold;">find</span> module vmmon
modinfo: could not <span style="color: #c20cb9; font-weight: bold;">find</span> module vmnet
modinfo: could not <span style="color: #c20cb9; font-weight: bold;">find</span> module vmblock
modinfo: could not <span style="color: #c20cb9; font-weight: bold;">find</span> module vmci
modinfo: could not <span style="color: #c20cb9; font-weight: bold;">find</span> module vsock
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>vmware: line <span style="color: #000000;">31</span>: <span style="color: #000000;">13622</span> Segmentation fault      <span style="color: #ff0000;">&quot;<span style="color: #007800;">$BINDIR</span>&quot;</span><span style="color: #000000; font-weight: bold;">/</span>vmware-modconfig <span style="color: #660033;">--appname</span>=<span style="color: #ff0000;">&quot;VMware Workstation&quot;</span> <span style="color: #660033;">--icon</span>=<span style="color: #ff0000;">&quot;vmware-workstation&quot;</span>
ionut<span style="color: #000000; font-weight: bold;">@</span>vaio:~<span style="color: #000000; font-weight: bold;">&gt;</span></pre></td></tr></table></div>

<p>TO FIX IT:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>vmware<span style="color: #000000; font-weight: bold;">/</span>modules<span style="color: #000000; font-weight: bold;">/</span>binary <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>vmware<span style="color: #000000; font-weight: bold;">/</span>modules<span style="color: #000000; font-weight: bold;">/</span>binary_old</pre></td></tr></table></div>

<p>and now run vmware as root and it will build the modules again and everything will work fine.</p>
<p>If after reboot vmware will not start, then check if vmware service is running:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>vmware status
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>vmware restart</pre></td></tr></table></div>

<p>Enjoy</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vioan.ro/wp/2009/03/02/vmware-workstation-651-on-opensuse-111/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Chrome in Wine on OpenSUSE</title>
		<link>http://www.vioan.ro/wp/2008/09/04/chrome-in-wine-on-opensuse/</link>
		<comments>http://www.vioan.ro/wp/2008/09/04/chrome-in-wine-on-opensuse/#comments</comments>
		<pubDate>Thu, 04 Sep 2008 14:04:19 +0000</pubDate>
		<dc:creator>ionut</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[wine]]></category>

		<guid isPermaLink="false">http://www.vioan.ro/wp/?p=139</guid>
		<description><![CDATA[Yes, it is running &#8230;
here is what you have to do:
Get the latest Wine (&#62;= 1.1.3) from the Emulators:Wine repository.
wget http://gpdl.google.com/chrome/install/149.27/chrome_installer.exe
winetricks riched20 riched30
wine chrome_installer.exe
... click away crashes and terminate it ...
cd ~/.wine/drive_c/windows/profiles/*/*/*/Google/Chrome/Application
wine chrome.exe --new-http --in-process-plugins
And, a screenshot:

Thanks to Marcus.
]]></description>
			<content:encoded><![CDATA[<p>Yes, it is running &#8230;</p>
<p>here is what you have to do:<br />
Get the latest Wine (&gt;= 1.1.3) from the Emulators:Wine repository.</p>
<pre class="code">wget http://gpdl.google.com/chrome/install/149.27/chrome_installer.exe
winetricks riched20 riched30
wine chrome_installer.exe
... click away crashes and terminate it ...
cd ~/.wine/drive_c/windows/profiles/*/*/*/Google/Chrome/Application
wine chrome.exe --new-http --in-process-plugins</pre>
<p>And, a screenshot:</p>
<p><a href="http://www.vioan.ro/wp/wp-content/uploads/2008/09/chrome_in-wine.png"><img class="aligncenter size-thumbnail wp-image-140" title="chrome_in-wine" src="http://www.vioan.ro/wp/wp-content/uploads/2008/09/chrome_in-wine-150x150.png" alt="" width="150" height="150" /></a></p>
<p>Thanks to <a href="http://marcusmeissner.livejournal.com/21567.html">Marcus</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vioan.ro/wp/2008/09/04/chrome-in-wine-on-opensuse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using KVM and Qemu</title>
		<link>http://www.vioan.ro/wp/2008/05/12/using-kvm-and-qemu/</link>
		<comments>http://www.vioan.ro/wp/2008/05/12/using-kvm-and-qemu/#comments</comments>
		<pubDate>Mon, 12 May 2008 21:33:49 +0000</pubDate>
		<dc:creator>ionut</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.vioan.ro/wp/?p=117</guid>
		<description><![CDATA[1. check if you have a processor  that supports virtualization:

egrep '^flags.*(svm&#124;vmx)' /proc/cpuinfo

2. create the image to hold the guest OS (10G size in this case):

qemu-img create -f qcow opensuse.img 10G

3. insert KVM kernel modules in the kernel if you compiled them as modules

sudo modprobe kvm
sudo modprobe kvm-intel (for intel processors)
sudo modprobe kvm-amd  (for [...]]]></description>
			<content:encoded><![CDATA[<p>1. check if you have a processor  that supports virtualization:</p>
<pre class="code">
egrep '^flags.*(svm|vmx)' /proc/cpuinfo
</pre>
<p>2. create the image to hold the guest OS (10G size in this case):</p>
<pre class="code">
qemu-img create -f qcow opensuse.img 10G
</pre>
<p>3. insert KVM kernel modules in the kernel if you compiled them as modules</p>
<pre class="code">
sudo modprobe kvm
sudo modprobe kvm-intel (for intel processors)
sudo modprobe kvm-amd  (for amd processors)
</pre>
<p>4. copy opensuse dvd/cd on your hard disk:</p>
<pre class="code">
dd if=/dev/cdrom of=/home/user/opensuse.iso (for cd)
dd if=/dev/dvd of=/home/user/opensuse.iso (for dvd)
</pre>
<p>5. install the quest:</p>
<pre class="code">
qemu-system-x86_64 -boot d -cdrom /home/user/opensuse.iso -hda opensuse.img
</pre>
<p>6. start your new installed system:</p>
<pre class="code">
qemu-system-x86_64 opensuse.img
</pre>
<p>Do you want more?<br />
* use <strong>-m</strong> parameter to specify the ammount of RAM for virtual machine (default 128MB)<br />
* use <strong>-incoming [protocol:params]</strong> if you want to move your virtual machine<br />
on the other machine<br />
* check <strong>http://kvm.qumranet.com</strong> for documentation</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vioan.ro/wp/2008/05/12/using-kvm-and-qemu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to clone an OpenVZ virtual machine</title>
		<link>http://www.vioan.ro/wp/2007/07/30/how-to-clone-an-openvz-virtual-machine/</link>
		<comments>http://www.vioan.ro/wp/2007/07/30/how-to-clone-an-openvz-virtual-machine/#comments</comments>
		<pubDate>Mon, 30 Jul 2007 21:54:15 +0000</pubDate>
		<dc:creator>ionut</dc:creator>
				<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.vioan.ro/wp/?p=5</guid>
		<description><![CDATA[ I need sometimes to clone a vps in an openvz environment, so here you can find three methods to do this task:
first option:
# vzctl stop 101
Stopping VE ...
VE was stopped
VE is unmounted
# cp -r /vz/private/101 /vz/private/202
# cp /etc/vz/conf/101.conf /etc/vz/conf/202.conf
# vzctl start 202
Starting VE ...
Initializing quota ...
VE is mounted
Setting CPU units: 1000
VE start in progress...
the [...]]]></description>
			<content:encoded><![CDATA[<p> I need sometimes to clone a vps in an openvz environment, so here you can find three methods to do this task:</p>
<p>first option:</p>
<pre><code># vzctl stop 101
Stopping VE ...
VE was stopped
VE is unmounted
# cp -r /vz/private/101 /vz/private/202
# cp /etc/vz/conf/101.conf /etc/vz/conf/202.conf
# vzctl start 202
Starting VE ...
Initializing quota ...
VE is mounted
Setting CPU units: 1000
VE start in progress...</code></pre>
<p>the second option:</p>
<pre><code>#mkdir /vz/private/new_VEid
#cd /vz/private/old_VEID
#tar cf - * | ( cd /vz/private/new_VEid tar xfp -)
#cp old_VEID.conf new_VEID.conf</code></pre>
<p>and the third option:</p>
<pre><code># OLDVE=222 NEWVE=333 # Just an example
# vzctl stop $OLDVE
# mkdir /vz/root/$NEWVE
# cp /etc/vz/conf/$OLDVE.conf /etc/vz/conf/$NEWVE.conf
# cp -a /vz/private/$OLDVE /vz/private/$NEWVE
# vzctl start $NEWVE; vzctl start $OLDVE</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.vioan.ro/wp/2007/07/30/how-to-clone-an-openvz-virtual-machine/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

