<?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>Virtualization &#8211; LarryLai</title>
	<atom:link href="https://larrylai.com/category/it/system/cloud/virtualization/feed/" rel="self" type="application/rss+xml" />
	<link>https://larrylai.com</link>
	<description>兼聽則明 偏聽則暗</description>
	<lastBuildDate>Sun, 01 Sep 2019 11:09:46 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://larrylai.com/wp-content/uploads/2017/03/larrylai_com-favicon.png</url>
	<title>Virtualization &#8211; LarryLai</title>
	<link>https://larrylai.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>CentOS VM Client Can&#8217;t Boot Up</title>
		<link>https://larrylai.com/centos-vm-client-cant-boot-up/</link>
					<comments>https://larrylai.com/centos-vm-client-cant-boot-up/#respond</comments>
		
		<dc:creator><![CDATA[larry]]></dc:creator>
		<pubDate>Fri, 30 Aug 2019 15:59:24 +0000</pubDate>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Boot Up]]></category>
		<category><![CDATA[CentOS7]]></category>
		<category><![CDATA[SELINUX]]></category>
		<category><![CDATA[VirtualBox6]]></category>
		<guid isPermaLink="false">http://larrylai.com/?p=3695</guid>

					<description><![CDATA[<p>Issue VirtualBox client CentOS can&#8217;t boot up with error message: [FAILED] Failed to start Virtual Machine and Container Registration Service. [FAILED] Failed to start Login Service. Solution Disable SELINUX config with the following steps during boot up sequence: During Grub boot up stage, press &#039;e&#039; to edit grub sequence; Add systemd.unit=rescue.target to the end of [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://larrylai.com/centos-vm-client-cant-boot-up/">CentOS VM Client Can&#8217;t Boot Up</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3>Issue</h3>
<p>VirtualBox client CentOS can&#8217;t boot up with error message: </p>
<ol>
<li>[FAILED] Failed to start Virtual Machine and Container Registration Service.</li>
<li>[FAILED] Failed to start Login Service.<br />
<img decoding="async" src="http://larrylai.com/wp-content/uploads/2019/08/Screenshot-2019-08-30-at-12.20.17-PM.png" alt="" /></li>
</ol>
<h3>Solution</h3>
<p>Disable SELINUX config with the following steps during boot up sequence:</p>
<ol>
<li>During Grub boot up stage, press <code>&#039;e&#039;</code> to edit grub sequence;</li>
<li>Add <code>systemd.unit=rescue.target</code> to the end of line with linux16 and boot with rescue mode;</li>
<li>Press ctrl+x to continue boot sequence</li>
</ol>
<h3>Config</h3>
<ul>
<li>CentOS 7 3.10</li>
<li>VirtualBox 6.0.10</li>
</ul>
<h3>Tricks</h3>
<ul>
<li>The cause of this boot up issue was difficult to found and the original setting of SELINUX was &#8216;permissive&#8217; not &#8216;enabled&#8217;. However, this issue may also be owing to bugs in VirtualBox 6.</li>
<li>During boot up process, by default the boot up is quiet, i.e. no system message will be displayed, only the boot up progress bar is seen. However, pressing <code>Esc</code> key will let you see the detail boot up messages.</li>
</ul>
<p>The post <a rel="nofollow" href="https://larrylai.com/centos-vm-client-cant-boot-up/">CentOS VM Client Can&#8217;t Boot Up</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://larrylai.com/centos-vm-client-cant-boot-up/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Centos7 Virtualmin Upgrade PHP7 MariaDB</title>
		<link>https://larrylai.com/centos7-virtualmin-upgrade-php7-mariadb/</link>
					<comments>https://larrylai.com/centos7-virtualmin-upgrade-php7-mariadb/#respond</comments>
		
		<dc:creator><![CDATA[larry]]></dc:creator>
		<pubDate>Thu, 28 Feb 2019 14:17:32 +0000</pubDate>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[MariaDB10]]></category>
		<category><![CDATA[PHP7]]></category>
		<guid isPermaLink="false">http://larrylai.com/?p=3604</guid>

					<description><![CDATA[<p>This is my first blog after upgrading to WordPress 5.1 from ver.4.8. Yes, I never tried 5.0 as it&#8217;s always risky to have a major upgrade to ver. x.0. The major difference is using Gutenberg as the post editor other than previous standard one or TinyMCE Advanced. For design of simplicity, Gutenberg is good. Background [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://larrylai.com/centos7-virtualmin-upgrade-php7-mariadb/">Centos7 Virtualmin Upgrade PHP7 MariaDB</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>This is my first blog after upgrading to WordPress 5.1 from ver.4.8. Yes, I never tried 5.0 as it&#8217;s always risky to have a major upgrade to ver. x.0. The major difference is using Gutenberg as the post editor other than previous standard one or TinyMCE Advanced. For design of simplicity, Gutenberg is good.</p>



<h4 class="wp-block-heading">Background</h4>



<p>After installing WP Health, it&#8217;s shown that both MariaDB 5 (a default replacement of MySQL for CentOS7) and PHP5.6 are obsolete, i.e. no more formal support and no security patches will be released. It&#8217;s suggested to upgrade at least to MariaDB10 and PHP7.</p>



<p>Apart from security and support concern, it&#8217;s known that PHP7 has better performance than PHP5. </p>



<h4 class="wp-block-heading">Issue</h4>



<p>After upgrading, either the Virtualmin has problem in displaying submenu on the left panel or there&#8217;re &#8220;Internal Server Error&#8221; on some WordPress sites. It&#8217;s found out that during yum update MariaDB, it&#8217;s required to remove the old MariaDB5, however, for packages dependency needs, yum will at the same time remove Postfix and Virtualmin-base. If these 2 packages are reinstalled after upgrading to MariaDB, then WordPress has problem.</p>



<h4 class="wp-block-heading"> Solution</h4>



<p>Use rpm -e &#8211;nodeps to skip removal of Postfix and Virtualmin-base.</p>



<h4 class="wp-block-heading">Tricks</h4>



<p>After removal PHP5.6, list out all the related packages, e.g. php-mysqlnd, php-gd, etc. depending on my case, there&#8217;re some others. All these have to be reinstalled after installing PHP7.2 base package.</p>



<p>For upgrade of PHP7, never upgrade to the lastest PHP7.3 as some of the PHP packages do not have PHP7.3 compatible rpm, only have PHP7.2 compatible rpm. There&#8217;re many CentOS PHP7 upgrade info. on the web, but some are not good, after try and error, I use <a href="https://tecadmin.net/install-php7-on-centos7/" target="_blank" rel="noopener">TecAdmin.net&#8217;s</a> advice and got no problem.</p>



<h4 class="wp-block-heading">Config</h4>



<ul class="wp-block-list"><li>CentOS: 7.6</li><li>Virtualmin 6.06</li><li>WordPress 5.1</li><li>MariaDB: 10.1</li></ul>
<p>The post <a rel="nofollow" href="https://larrylai.com/centos7-virtualmin-upgrade-php7-mariadb/">Centos7 Virtualmin Upgrade PHP7 MariaDB</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://larrylai.com/centos7-virtualmin-upgrade-php7-mariadb/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>VirtualBox VM Inaccessible on Mac</title>
		<link>https://larrylai.com/virtualbox-vm-inaccessible-mac/</link>
		
		<dc:creator><![CDATA[larry]]></dc:creator>
		<pubDate>Tue, 22 Nov 2016 05:38:15 +0000</pubDate>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Virtualization]]></category>
		<guid isPermaLink="false">http://larrylai.com/?p=2220</guid>

					<description><![CDATA[<p>Issue: &#8220;The selected virtual machine is inaccessible. Please inspect the error message shown below and press the Refresh button if you want to repeat the accessibility check.&#8221; After saving states of all virtual machines of VirtualBox running on Mac, rebooting the Mac host without any issue. Then it was a big surprised that all virtual [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://larrylai.com/virtualbox-vm-inaccessible-mac/">VirtualBox VM Inaccessible on Mac</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Issue:</strong></p>
<p>&#8220;The selected virtual machine is inaccessible. Please inspect the error message shown below and press the <strong>Refresh</strong> button if you want to repeat the accessibility check.&#8221; After saving states of all virtual machines of VirtualBox running on Mac, rebooting the Mac host without any issue. Then it was a big surprised that all virtual machines are inaccessible. Not only the virtual hard disks, but all the virtual machines files.</p>
<p><strong>Solution:</strong></p>
<p>This case was caused by previously renaming the external SSD storing the virtual machine files. After renaming back to original disk name, still have to</p>
<ul>
<li>Remove the virtual machines and Add them back to VirtualBox by going to the VirtualBox application top bar</li>
<li>Choose Machine -&gt; Add</li>
<li>Select the file with .vbox (that&#8217;s the virtual machine file, not the .vdi or .vmdk). In case, the there&#8217;s unexpected quit of VirtualBox, the .vbox may be corrupted, then it is necessary to rename the .vbox-prev to .vbox</li>
</ul>
<p><strong>Tricks:</strong></p>
<ul>
<li>It is not easy to recognise that the issue was caused by renaming the path (in this case, the SSD disk) of the virtual machine as not until restarting VirtualBox, it is not observed there is any error on the virtual machines.</li>
<li>Even after renaming back the path to the original one, VirtualBox still shows inaccessible virtual machine. The suggested solution of clicking the Refresh button located at bottom left cannot fix the problem. (Don&#8217;t know why Oracle is so stupid to suggest this!)</li>
<li>The Machine -&gt; Add appears only at the top bar of VirtualBox application, but not appear at the top bar of Oracle VM VirtualBox Manager</li>
<li>It is easy to misinterpret the error message that it was due to inaccessible storage and it would be tempted to create new VM and access the same original storage, but it is not good in the sense that the virtual hard disk is located under the old VM&#8217;s directory.</li>
<li>Mac users always have TimeMachine backup for the virtual machines, in such case restoring the VM directory is wasting time.</li>
</ul>
<p><strong>Config:</strong></p>
<p>OS X           10.12.1</p>
<p>VirtualBox   5.0.28</p>
<p>The post <a rel="nofollow" href="https://larrylai.com/virtualbox-vm-inaccessible-mac/">VirtualBox VM Inaccessible on Mac</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>VirtualBox Delete Oldest Snapshot</title>
		<link>https://larrylai.com/virtualbox-delete-old-snapshot/</link>
		
		<dc:creator><![CDATA[larry]]></dc:creator>
		<pubDate>Thu, 24 Dec 2015 06:28:57 +0000</pubDate>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[snapshots]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[VirtualBox]]></category>
		<guid isPermaLink="false">http://blog.larrylai.com/?p=2042</guid>

					<description><![CDATA[<p>Issue: Deleting the oldest snapshot of virtual machine in VirtualBox is often difficult, sometimes there is error with detail &#8220;more than one child hard disk&#8221;. Solution: Open VirtualBox control panel, select: File-&#62;Virtual Media Manager click on the Virtual child hard disk within the appropriate virtual machine (don&#8217;t check for other non-appropriate virtual machines) one by [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://larrylai.com/virtualbox-delete-old-snapshot/">VirtualBox Delete Oldest Snapshot</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Issue:</strong></p>
<p>Deleting the oldest snapshot of virtual machine in VirtualBox is often difficult, sometimes there is error with detail &#8220;more than one child hard disk&#8221;.</p>
<p><strong>Solution:</strong></p>
<p>Open VirtualBox control panel, select:</p>
<p>File-&gt;Virtual Media Manager</p>
<p>click on the Virtual child hard disk within the appropriate virtual machine (don&#8217;t check for other non-appropriate virtual machines) one by one, at the lower part of the panel, there are some information about the hard disk, &#8220;Type&#8221;, &#8230; &#8220;Attached to:&#8221;, etc., normally all child hard disk of the same virtual machine should be &#8220;attached to&#8221; the name of the Virtual machine, but at the problem child hard disk, the info. about the &#8220;Attached to&#8221; is Not Attached, then you can select &#8220;Remove&#8221; to take it out, if ask whether to &#8220;Keep&#8221; or &#8220;Remove&#8221;, for safety, you can keep the file, then go back to Snapshots to remove again the snapshot, the error should be gone.</p>
<p><strong>Tricks:</strong></p>
<ul>
<li>Similar error occur only on deleting the oldest snapshot but not recent snapshots.</li>
<li>It is dangerous to just remove the hard disk file stored in the Snapshot directory of the virtual machine, and indeed remove snapshot process of Virtualbox is not just removal of virtual disk file, but some kind of merging the appropriate snapshot content with the current virtual hard disk. Inappropriate removing any snapshot files would be a nightmare to restart the virtual machine.</li>
<li>In many forums, it is known that the error of deleting the first snapshot is a bug of VirtualBox for quite some years since ver. 3.x, but it still exists till this version 5. A shame to the technology giant, Oracle!</li>
</ul>
<p><strong>Config:</strong></p>
<p>VirtualBox  5.0.10r104061</p>
<p>The post <a rel="nofollow" href="https://larrylai.com/virtualbox-delete-old-snapshot/">VirtualBox Delete Oldest Snapshot</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Google Chrome Not Start Only Flicking</title>
		<link>https://larrylai.com/google-chrome-not-start-only-flicking/</link>
		
		<dc:creator><![CDATA[larry]]></dc:creator>
		<pubDate>Sat, 12 Dec 2015 08:49:30 +0000</pubDate>
				<category><![CDATA[Application]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">http://blog.larrylai.com/?p=2026</guid>

					<description><![CDATA[<p>Issue: Starting Chrome in Windows 7 guest from Virtualbox happens to see only flicking windows with flashing rate around 2-4 rounds per sec. Solution: Turn off hardware acceleration in Chrome setting or uncheck 3D acceleration in Virtualbox. Tricks: When flicking occurs, you cannot start Chrome, thus no way to turn off hardware acceleration at setting. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://larrylai.com/google-chrome-not-start-only-flicking/">Google Chrome Not Start Only Flicking</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Issue:</strong></p>
<p>Starting Chrome in Windows 7 guest from Virtualbox happens to see only flicking windows with flashing rate around 2-4 rounds per sec.</p>
<p><strong>Solution:</strong></p>
<p>Turn off hardware acceleration in Chrome setting or uncheck 3D acceleration in Virtualbox.</p>
<p><strong>Tricks:</strong></p>
<p>When flicking occurs, you cannot start Chrome, thus no way to turn off hardware acceleration at setting. Either start Windows in safe mode, then start Chrome and change setting or shutdown windows then uncheck 3D acceleration setting in Virtualbox, and start windows again.</p>
<p><strong>Config:</strong></p>
<ul>
<li>Chrome 47.0.2526.80 m (64-bit) for Windows</li>
<li>Windows 7 Service Pack 1</li>
<li>Virtualbox  5.0.10</li>
</ul>
<p>The post <a rel="nofollow" href="https://larrylai.com/google-chrome-not-start-only-flicking/">Google Chrome Not Start Only Flicking</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Amazon EC2 Total Connection Lost</title>
		<link>https://larrylai.com/amazon-ec2-total-connection-lost/</link>
		
		<dc:creator><![CDATA[larry]]></dc:creator>
		<pubDate>Mon, 22 Apr 2013 08:21:07 +0000</pubDate>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Virtualization]]></category>
		<guid isPermaLink="false">http://blog.larrylai.com/?p=1556</guid>

					<description><![CDATA[<p>Background: Trying to set up another Drupal site on free tier of Amazon cloud, the feeling and setup are all good! After setting up LAMP stack, suddenly received an email from Amazon that I recently reached a limit on the volume of email I was able to send out of SMTP port 25 on my instance. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://larrylai.com/amazon-ec2-total-connection-lost/">Amazon EC2 Total Connection Lost</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Background:</strong></p>
<p>Trying to set up another <a href="http://www.drupal.org" target="_blank" rel="noopener">Drupal</a> site on free tier of Amazon cloud, the feeling and setup are all good! After setting up <a href="http://en.wikipedia.org/wiki/LAMP_(software_bundle)" target="_blank" rel="noopener">LAMP</a> stack, suddenly received an email from Amazon that I recently reached a limit on the volume of email I was able to send out of <a href="http://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol" target="_blank" rel="noopener">SMTP</a> port 25 on my instance. I was shocked on the one hand worrying about if my webserver was compromised and on the other hand questioned why the Security Group pre-set by Amazon EC2 did not work according to my expectation. It led me to enable the firewall of my linux, i.e. CentOS 6.</p>
<p><strong>Issue:</strong></p>
<p>Although open the specific port for <a href="http://www.webmin.com" target="_blank" rel="noopener">webmin</a> on the linux <a href="http://en.wikipedia.org/wiki/Firewall_%28computing%29" target="_blank" rel="noopener">firewall</a>, I forgot to open the <a href="http://www.ssh.com" target="_blank" rel="noopener">SSH</a> port 22, it caused a tragic connection lost to the virtual machine. That is, it could neither be connected through SSH login nor webmin. That may be caused by incorrect set up of the firewall rules such that the specific port for webmin was unexpectedly blocked.</p>
<p><strong>Solution:</strong></p>
<ul>
<li>Terminate the virtual machine and set up a new instance.</li>
<li>Use webmin&#8217;s standard linux firewall rules and add some ports, but not other rules.</li>
</ul>
<p><strong>Configuration:</strong></p>
<ul>
<li>EC2 micro-tier</li>
<li>CentOS 6.4</li>
<li>Webmin 1.620</li>
</ul>
<p>The post <a rel="nofollow" href="https://larrylai.com/amazon-ec2-total-connection-lost/">Amazon EC2 Total Connection Lost</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Migrating Windows Physical Machine to VirtualBox</title>
		<link>https://larrylai.com/migrating-windows-physical-machine-to-virtualbox/</link>
		
		<dc:creator><![CDATA[larry]]></dc:creator>
		<pubDate>Mon, 11 Mar 2013 07:53:06 +0000</pubDate>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Virtualization]]></category>
		<guid isPermaLink="false">http://blog.larrylai.com/?p=1520</guid>

					<description><![CDATA[<p>Background: As more depending on iPad (now iPad mini), few tasks are to be done on my current notebook PC, Acer Aspire 1810Z running Windows 7 Home Premium. Rebuild desktop PC, HP from previous CentOS 5 to OpenSuse, I want to have a virtual Windows for some special situations, e.g. web applications need to run [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://larrylai.com/migrating-windows-physical-machine-to-virtualbox/">Migrating Windows Physical Machine to VirtualBox</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Background:</strong></p>
<p>As more depending on iPad (now iPad mini), few tasks are to be done on my current notebook PC, Acer Aspire 1810Z running Windows 7 Home Premium.</p>
<p>Rebuild desktop PC, HP from previous CentOS 5 to OpenSuse, I want to have a virtual Windows for some special situations, e.g. web applications need to run on MS Internet Explorer. Actually, still most payment gateways connected to the Hong Kong Government&#8217;s agencies need IE to proceed the payment transactions even though some of them allow you to make booking reservation online with other browsers.</p>
<p>Choosing Oracle VirtualBox as the virtualization platform rather than OpenSuse&#8217;s preferred Xen and KVM tools because I used to running my virtualized guest OS&#8217; on VirtualBox for quite some years. My CentOS guest has been running the main webserver Apache on VirtualBox deployed in my Mac Mini for 2 years.</p>
<p>Methodology for the migration is using Windows 7 built-in backup system utilities to backup the whole system to external disk, and made a ISO bootable file to be used as the virtual boot CD in VirtualBox.</p>
<p><strong>Issues:</strong></p>
<ol>
<li>Making VirtualBox to operating properly in OpenSuse was the 1st issue. After installation, only the root user could start it, but not other normal users. I run my desktop as normal user instead of root just for security reasons.</li>
<li>Could not restore the Windows backup image to a new virtual disk with error stating that no valid disk is connected to the system. Actually, by inputing Windows command &#8220;DISKPART&#8221; followed by &#8220;LIST DISK&#8221;, the newly created disk was shown. Even though using Gparted utility to make partition table on the disk and format the disk to ntfs file system. All these did not work.</li>
<li>After recovering from the backup image, still could not kick of the Windows VM. After seeing the Windows 7 logo, total black screen and nothing happened.</li>
</ol>
<p><strong>Solutions:</strong></p>
<ol>
<li>Run VirtualBox as non-root user.
<ol>
<li>Install VirtualBox from Oracle site rather than from OpenSuse software repository. Also install Oracle VirtualBox extension Pack.</li>
<li>Change permission of /dev/vboxdrv to allow other users to access this driver.</li>
</ol>
</li>
<li>Select SATA controller to configure the virtual system disk to run Windows though transferring of files is fine using other types of storage controllers, say IDE. Configure a larger disk, say 160GB. Using a disk with small capacity say 40GB would cause the error mentioned above.</li>
<li>Configure VM with 2 processors instead of 1.</li>
</ol>
<p><strong>Tricks:</strong></p>
<ol>
<li>After installing VirtualBox from Oracle site, still some minor errors occur. Need to install/update some software in OpenSuse to clear the errors.</li>
<li>Even though the windows image is small, say 30GB, but I guess the original disk being backup was 120GB, then the target disk should not be less than 120GB. In case no physical capacity for disk is available. Thin provisioning of disk by selecting dynamic disk space allocation in VirtualBox is good.</li>
<li>I focused on changing the video RAM allocation for the VM and unchecking 3D, 2D acceleration. All these changes suggested on the web could NOT help for this scenario.</li>
</ol>
<p><strong>Config:</strong></p>
<ul>
<li>CPU E8400 dual-core 3GHz, with 4GB memory</li>
<li>OpenSuse 12.2 (x86_64)</li>
<li>VirtualBox 4.2.8 r83876, and VM configuration below:
<ul>
<li>Processor No =2</li>
<li>Memory = 1.5GB</li>
<li>3D and 2D acceleration checked</li>
</ul>
</li>
<li>Windows 7 Home Premium</li>
</ul>
<p>The post <a rel="nofollow" href="https://larrylai.com/migrating-windows-physical-machine-to-virtualbox/">Migrating Windows Physical Machine to VirtualBox</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
