<?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>TechWandering &#187; Linux</title>
	<atom:link href="http://www.techwandering.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techwandering.com</link>
	<description>wandering the world of technology</description>
	<lastBuildDate>Tue, 20 Dec 2011 21:41: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>How to run MythTV on Windows using andLinux</title>
		<link>http://www.techwandering.com/2008/02/24/how-to-run-mythtv-on-windows-using-andlinux/</link>
		<comments>http://www.techwandering.com/2008/02/24/how-to-run-mythtv-on-windows-using-andlinux/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 21:45:04 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[Computer Software]]></category>
		<category><![CDATA[Home Theater]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.techwandering.com/2008/02/24/how-to-run-mythtv-on-windows-using-andlinux/</guid>
		<description><![CDATA[In a previous post I&#8217;d talked about how to run MythTV, the very popular multimedia software, under Microsoft Windows (you can find that post here). The basic problem is that MythTV only runs under Linux &#8212; there&#8217;s no such thing as a port of that application to Windows. That previous post talks about how it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://mythtv.org/themes/Myth_bb2/images/mythtv-logo.jpg" class="left off" alt="mythtvlogo" /><a href="http://www.flickr.com/photos/49704885@N00/2280561692/" title="andlinuxlogo.png"><img src="http://static.flickr.com/2293/2280561692_fb944b156d.jpg" class="right off" alt="andlinuxlogo.png" border="0" height="73" width="73" /></a></p>
<p>In a previous post I&#8217;d talked about how to run MythTV, the very popular multimedia software, under Microsoft Windows (you can find that post <a href="http://www.techwandering.com/2007/01/03/how-to-run-mythtv-on-windows/" title="How to run MythTV on Windows">here</a>).  The basic problem is that MythTV only runs under Linux &#8212; there&#8217;s no such thing as a port of that application to Windows.  That previous post talks about how it&#8217;s possible to use a virtual machine to set up a Linux virtual machine within a Windows OS so that Windows users can run MythTV, with a few caveats.</p>
<p>Now that I&#8217;ve been using andLinux I wanted to see if it was possible to run MythTV on a Windows installation without having to use a virtual machine.  It is &#8212; and here&#8217;s how.</p>
<p><span id="more-67"></span></p>
<h3>The Basics</h3>
<p>First of all, of course, you have to have andLinux installed on your Windows OS.  If you&#8217;re not really sure what andLinux is or how it&#8217;s different that a virtual machine you should read my previous post, &#8220;<a href="http://www.techwandering.com/2008/02/20/andlinux-an-easy-way-to-run-linux-applications-right-on-your-windows-desktop/" title="andLinux — an easy way to run Linux applications right on your Windows desktop">andLinux — an easy way to run Linux applications right on your Windows desktop</a>&#8220;.</p>
<h3>Installing MythTV</h3>
<p>Once you have your andLinux installation up and running you can install MythTV just like you&#8217;d install any other Linux application &#8212; using Synaptic (for a GUI installer) or using apt-get (from the command line).  Once MythTV is installed remember that you first have to run the &#8220;mythtv-setup&#8221; script, just like you would with any other installation of MythTV.</p>
<h3>Some Caveats</h3>
<p>Using andLinux to run MythTV under Windows has the same set of limitations that we ran into when we ran MythTV under a virtual machine.  Those limitations are a result of the way that andLinux (or our VMWare virtual machine) see the hardware we have in our Windows system.</p>
<h5>TV Tuner</h5>
<p>The MythTV application running under andLinux has the same problem as it would running under the virtual machine &#8212; it has no way of seeing a TV tuner card in your PC.  The solution to the problem is the same as it was when we used a virtual machine &#8211;use a tuner card which is located on the network instead of a tuner card which is located in a PC.  In my case I use the HDHomeRun by Silicon Dust.  You can find a more detailed description of that tuner in a post that I&#8217;d written <a href="http://www.techwandering.com/2006/12/12/hdhomerun-because-hdtv-isnt-just-for-tvs/" title="HDHomeRun - Because HDTV isn’t just for TV’s">here</a>.</p>
<h5>Watching Video</h5>
<p>Just like the problem with the tuner card, watching video through the MythTV front-end running under andLinux suffers from the same problem as running MythTV from within a virtual machine.  In both cases the problem is that the Linux OS isn&#8217;t using your graphics card directly; instead, it&#8217;s using either a virtual graphics card (in the case of the virtual machine) or an X-Server (in the case of andLinux).  In either case there just isn&#8217;t enough graphics horsepower to be able to display full-motion video with no choppiness.</p>
<p>There are other ways to view shows which are recorded in MythTV though, and I cover some of the more popular solutions in the <a href="http://www.techwandering.com/2007/01/03/how-to-run-mythtv-on-windows/" title="How to run MythTV on Windows">previous article I&#8217;d written about running MythTV under windows</a>.  These solutions may not be as simple as using the MythTV front-end but they will do the job.</p>
<h3>Conclusion</h3>
<p>Using andLinux to run MythTV is certainly a viable alternative to running MythTV within a virtual machine, especially with the simplified Linux installation made possible by using andLinux. If you&#8217;re a Windows user who&#8217;s interested in checking our MythTV I think that using andLinux is the simplest way to see what all of the fuss is about.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techwandering.com/2008/02/24/how-to-run-mythtv-on-windows-using-andlinux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>andLinux &#8212; an easy way to run Linux applications right on your Windows desktop</title>
		<link>http://www.techwandering.com/2008/02/20/andlinux-an-easy-way-to-run-linux-applications-right-on-your-windows-desktop/</link>
		<comments>http://www.techwandering.com/2008/02/20/andlinux-an-easy-way-to-run-linux-applications-right-on-your-windows-desktop/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 22:18:48 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[Computer Software]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.techwandering.com/2008/02/20/andlinux-an-easy-way-to-run-linux-applications-right-on-your-windows-desktop/</guid>
		<description><![CDATA[In the past I&#8217;ve shown how easy it can be to run a full Linux operating system from inside of Windows (see my previous posts VMWare: See How the Other Half Lives and How to Create Your Own Virtual Machine Using VMWare Player). In both of those examples the Linux OS runs inside of a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/49704885@N00/2280561692/" title="andlinuxlogo.png"><img src="http://static.flickr.com/2293/2280561692_fb944b156d.jpg" class="right off" alt="andlinuxlogo.png" border="0" height="73" width="73" /></a>In the past I&#8217;ve shown how easy it can be to run a full Linux operating system from inside of Windows (see my previous posts <a href="http://www.techwandering.com/2006/05/28/tech-tip-vmware/" title="See How the Other Half Lives">VMWare: See How the Other Half Lives</a> and <a href="http://www.techwandering.com/2006/11/22/how-to-create-your-own-virtual-machine-using-vmware-player/" title="How to Create Your Own Virtual Machine Using VMWare Player">How to Create Your Own Virtual Machine Using VMWare Player</a>).  In both of those examples the Linux OS runs inside of a &#8220;virtual machine&#8221; where an entire virtual computer is created through software, right down to a virtual CPU, network card, graphics card, sound card, and disk.  The Linux installation runs within this virtual machine and the virtual machine runs within Windows.  This solution works but it makes a clear distinction between the Linux applications which are running in the virtual machine&#8217;s window and the Windows applications which are running natively on the desktop.</p>
<p>Recently I&#8217;ve been experimenting with a piece of software named andLinux which allows me to run my Linux application from within Windows without using a virtual machine or any other type of emulation.  Let&#8217;s check it out.<span id="more-66"></span></p>
<h3>The Promise</h3>
<p><a href="http://www.andlinux.org" title="andLinux">andLinux</a> is an application which gives you the ability to run Linux applications right on your Windows desktop.  To understand how it does that we&#8217;ll first have to look at another piece of software which is at the core of andLinux.  That core piece of software is name coLinux.</p>
<h3>The Foundation</h3>
<p><a href="http://www.colinx.org" title="coLinux">coLinux</a> is a port of the Linux kernel which has been compiled to run on Windows.   That means that it doesn&#8217;t have have rely on a virtual machine to be able to run on Windows &#8212; the kernel itself runs like any other Windows application.   Because it&#8217;s a Windows application that means that it has access to your system&#8217;s CPU, memory, and hard drives.  Don&#8217;t worry, though &#8212; coLinux was written to run cooperatively with Windows, not as a competitor.   You choose how much of your physical memory you want coLinux to be able to use and what type of access (if any) to your hard drive you&#8217;d like to grant to it.</p>
<h3>The Packaging</h3>
<p>andLinux takes this coLinux kernel, bundles in a bunch of Linux applications, and wraps it into an easy-to-install package.   For instance, the basic coLinux installation doesn&#8217;t include any type of graphical display ability.  That means that if you had installed only coLinux and wanted to be able to use something other than the console (command line) you&#8217;d have to install and configure either some type of X-server (to run the apps locally in some sort of GUI) or a VNC server (to connect remotely and run the apps in a VNC desktop).  andLinux saves you all of that trouble and automatically installs and configures the XMing X-Server.  It also handles configuring its own connection to your PC&#8217;s network adapter by installing a virtual network adapter (called TAP-win32) and its own connection to your PC&#8217;s sound card using a utility called <a href="http://www.pulseaudio.org" title="PulseAudio website">PulseAudio</a>.</p>
<h3>Running your Linux Applications</h3>
<p>Once you&#8217;ve installed andLinux you can open any of the bundled Linux applications just like you would open any of your Windows applications (your Linux applications don&#8217;t appear under the Windows &#8220;Start&#8221; menu &#8212; they&#8217;re started from the andLinux KDE icon running in the system tray).  <a href="http://www.flickr.com/photos/49704885@N00/2280203923/" title="andLinux_screenshot_small.png"><img src="http://static.flickr.com/2351/2280203923_c6efc4763b.jpg" class="left off" alt="andLinux_screenshot_small.png" border="0" height="281" width="351" /></a>If there are additional Linux applications you&#8217;d like to install you can just use the included Synaptic installation program, just like you would use in any other &#8220;normal&#8221; KDE Linux installation.  Nothing special need to be done to install or configure those additional applications (with very few exceptions).  Open Synaptic, choose the application you&#8217;d like to install, and Synaptic will do the rest.</p>
<h3>Accessing your Windows files</h3>
<p><a href="http://www.flickr.com/photos/49704885@N00/2280339843/" title="install-02.png"><img src="http://static.flickr.com/2275/2280339843_e022f47b05.jpg" alt="install-02.png" border="0" /></a></p>
<p>It&#8217;s up to you to decide how much of your Windows file system you&#8217;d like to expose to andLinux.  By default your Linux applications won&#8217;t be able to see any of the Windows files or directories on your hard drive.  If you&#8217;d like to be able to easily copy files between Windows and your Linux apps you can use the included COFS or Samba packages to access your Windows shares from within your Linux OS.</p>
<h3>Where&#8217;s the OS?</h3>
<p>andLinux uses a kind of virtual file system to store the Linux OS and all of the Linux applications.  This virtual file system is located under the Windows directory where you&#8217;ve installed andLinux.  The file &#8220;base.drv&#8221; contains the OS and the applications (about 4GB when you initially install andLinux) and the file swap.drv contains the swap file used by the Linux OS.  As you add and remove applications the size of the base.drv file changes accordingly. The Linux applications can only see this file system, not your Windows file system.</p>
<h3>Benefits of andLinux</h3>
<p>There are a number of ways to run Linux applications under a Windows OS.  As I&#8217;d mentioned before, you can use VMWare to create a complete virtual machine and run your Linux OS within that machine.  Alternatively, you can use a tool called <a href="http://www.cygwin.com" title="Cygwin home page">Cygwin</a> which acts as a kind of emulator and will translate many of your Linux OS calls to their equivalent Windows OS calls.</p>
<p>While both of these solutions are effective, neither can match andLinux in the areas of speed and simplicity.  andLinux is lightning-fast because it doesn&#8217;t have to go through the emulation or translation steps required by VMWare or Cygwin to execute its Linux calls.  Remember &#8212; the Linux kernel which it uses is already a Windows executable.</p>
<p>Not only is andLinux fast &#8212; it&#8217;s also easy to set up and use.  The installation package only asks you a few questions and handles everything else on its own.  Once you&#8217;ve installed andLinux your Linux apps are right there on your desktop, not in their own virtual machine or VNC connection.  Need to edit a file?  Now you can simply choose between Notepad or WordPad or their KDE equivalents, KWrite and Kate.  Want to open a browser?  You can choose between IE or the KDE browser, Konqueror.  andLinux allows your Windows applications and your Linux applications to run side-by-side on your Windows desktop.</p>
<h3>Conclusion</h3>
<p>So that&#8217;s andLinux.  If you&#8217;re a Windows user and you&#8217;d like a simple way to play around with Linux give andLinux a shot.  Who knows &#8212; you just might find some Linux applications that work better than their Windows counterparts, or even some interesting applications which don&#8217;t have any Windows counterparts.  If you&#8217;re a Linux user who&#8217;s forced to use a Windows machine this may be just what you need to run those Linux applications without having to go through the hassle of dual-booting or installing a virtual machine.</p>
<p>andLinux is free, it&#8217;s fast, it&#8217;s simple, and it works.  Check it out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techwandering.com/2008/02/20/andlinux-an-easy-way-to-run-linux-applications-right-on-your-windows-desktop/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to run MythTV on Windows</title>
		<link>http://www.techwandering.com/2007/01/03/how-to-run-mythtv-on-windows/</link>
		<comments>http://www.techwandering.com/2007/01/03/how-to-run-mythtv-on-windows/#comments</comments>
		<pubDate>Thu, 04 Jan 2007 00:26:57 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[Computer Hardware]]></category>
		<category><![CDATA[Computer Software]]></category>
		<category><![CDATA[Home Theater]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.techwandering.com/2007/01/03/how-to-run-mythtv-on-windows/</guid>
		<description><![CDATA[<img alt="mythtvlogo" src="http://mythtv.org/themes/Myth_bb2/images/mythtv-logo.jpg" />
<p>You may have heard of <a href="http://www.mythtv.org/">MythTV</a>, the free TiVo-like application that can handle just about all of your multimedia needs.  It can record and play back TV shows, including HDTV programming.  It can be used to view your pictures, your weather forecast, and your favorite RSS feeds.  It can rip and play back your music CD's and your DVD's.  It can even display the list of movies you have in your NetFlix queue.</p>

<p>And it only runs on Linux.</p>

<p>So what if you're a Windows user who wants to find out what MythTV is all about?  Up until recently your couldn't, but now you can.  Here's how.</p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://mythtv.org/themes/Myth_bb2/images/mythtv-logo.jpg" class="left off" alt="mythtvlogo" /></p>
<p>You may have heard of <a href="http://www.mythtv.org/">MythTV</a>, the free TiVo-like application that can handle just about all of your multimedia needs.  It can record and play back TV shows, including HDTV programming.  It can be used to view your pictures, your weather forecast, and your favorite RSS feeds.  It can rip and play back your music CD&#8217;s and your DVD&#8217;s.  It can even display the list of movies you have in your NetFlix queue.</p>
<p>And it only runs on Linux.</p>
<p>So what if you&#8217;re a Windows user who wants to find out what MythTV is all about?  Up until recently you couldn&#8217;t, but now you can.  Here&#8217;s how.</p>
<p><span id="more-41"></span></p>
<p class="ad"><script type="text/javascript"><!--
google_ad_client = "pub-0993830588196832";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0060FF";
google_color_text = "000000";
google_color_url = "808080";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<h3>The Background</h3>
<p>While it&#8217;s true that MythTV only runs on Linux, that doesn&#8217;t mean that you&#8217;re out of luck if you only have a Windows box.  Now that virtual machines are easy to install (not to mention free) we can run a Linux virtual machine on a Windows PC and we can install MythTV into that Linux OS. (If you&#8217;re not familiar with virtual machines you can <a href="http://www.techwandering.com/category/virtualization/"> find my previous posts on the subject here</a>.  I&#8217;d start with <a href="http://www.techwandering.com/2006/05/28/tech-tip-vmware/">this one</a>.)</p>
<p>The problem with running MythTV this way has to do with the way virtual machines handle physical hardware.  The OS running within the virtual machine doesn&#8217;t see the actual hardware you have &#8212; it sees an abstracted view of your hardware.  For example, let&#8217;s say that you have ATI&#8217;s latest-and-greatest graphics card on the PC in which you&#8217;ve installed VMWare.  If you ask the OS running within VMWare what graphics card it&#8217;s using it will report back that it&#8217;s using a graphics card called &#8220;VMWare SVGA II PCI Display Adapter&#8221;.  Now, in reality, there is no graphics card named that, but that&#8217;s how VMWare works its magic.  The same kind of abstraction takes place for all of your physical hardware, including the CPU, the sound card &#8212; even the BIOS is abstracted (it looks like the old Intel 440BX chipset).</p>
<p>The benefit of this abstraction is that a virtual machine that&#8217;s created on a PC running Windows can be run on any other machine with VMWare installed, even if it&#8217;s running a different OS.  To the OS running within the virtual machine nothing has changed.  The BIOS seen by that OS is still the Intel 440BX and the graphics card is still the VMWare SVGA II PCI adapter.</p>
<p>The downside of that abstraction layer is that all of that high-end graphics processing power that you have in your card can&#8217;t be used by the OS running within that virtual machine.  Forget playing games in that virtual machine, unless you&#8217;re planning on playing Solitaire.</p>
<p>The abstraction layer also presents problems for running MythTV within a virtual machine.  The hardware seen within the virtual machine won&#8217;t include your PC&#8217;s TV tuner card so your MythTV won&#8217;t be able to record any shows.  To make matters worse, even if you could record shows your abstracted graphics card probably isn&#8217;t powerful enough to play video back smoothly.  Fortunately there are ways around both of those problems.</p>
<h3>The Trick</h3>
<p>So how are we going to use MythTV running within a virtual machine to record TV programming when it can&#8217;t see our PC&#8217;s TV tuner card?  We&#8217;re going to use a TV tuner that&#8217;s not in our PC &#8212; it&#8217;s on the network.  <a href="http://silicondust.com">Silicon Dust</a> has released a small device called the HDHomeRun (<a href="http://www.techwandering.com/2006/12/12/hdhomerun-because-hdtv-isnt-just-for-tvs/">read my review of what it is, how it works, and how to use it here</a>).  In a nutshell, the HDHomeRun contains two HDTV tuners and outputs its video onto your home network. Fortunately, the latest versions of MythTV contain support for using the video stream that the HDHomeRun sends across your network as a video source, just like you&#8217;d use your PC&#8217;s TV tuner card as a video source.</p>
<p>Now we have everything we need to run MythTV on Windows.</p>
<h3>The Pieces</h3>
<p>Here&#8217;s what you&#8217;ll need to be able to run MythTV on your Windows PC:</p>
<ul>
<li>A PC running Windows</li>
<li>VMWare&#8217;s free VMWare Player</li>
<li>Silicon Dust&#8217;s HDHomeRun</li>
<li>A Linux distribution</li>
<li>MythTV</li>
</ul>
<h3>The Architecture</h3>
<p>The MythTV software has two main components: the &#8220;Backend&#8221; and the &#8220;Frontend&#8221;.  The Backend contains the &#8220;guts&#8221; of MythTV.  It&#8217;s the Backend that&#8217;s responsible for recording, storing, and retrieving shows.  The Frontend is what the typical Myth user uses to schedule and view recorded shows, listen to music, access the weather &#8212; basically any type of interaction with Myth can happen through the Frontend.  In our example the Backend is mandatory and the Frontend is optional.</p>
<h3>The Steps</h3>
<p>Rather than going into excruciatingly detailed step-by-step instructions I&#8217;m just going to list the basic steps and point you to other places which contain excruciatingly detailed step-by-step instructions.</p>
<p><strong>Step 1: Download and install the VMWare Player.</strong>  You can get the <a href="http://www.vmware.com/products/player/">VMWare Player here</a>.</p>
<p><strong>Step 2: Create a virtual machine.</strong>  I&#8217;m using Ubuntu Linux version 6.10 as the OS within my virtual machine.  The installation of Ubuntu is straight-forward and installing MythTV on Ubuntu is simpler than on some other Linux distributions.  You can read my <a href="http://www.techwandering.com/2006/11/22/how-to-create-your-own-virtual-machine-using-vmware-player/">step-by-step guide to creating an Ubuntu virtual machine here</a>.</p>
<p><strong>Step 3: Install the MythTV Backend into your virtual machine.</strong>  You can find good <a href="https://help.ubuntu.com/community/MythTV">instructions for installing MythTV on Ubuntu here</a>. Optionally, you can also install the Frontend.</p>
<p><strong>Step 4: Configure your MythTV backend to use the HDHomeRun as its video input.</strong>  Silicon Dust provides <a href="http://www.silicondust.com/forum/viewtopic.php?t=2317">detailed instructions on how to do that here</a>.</p>
<h3>Viewing the Results</h3>
<p>Now that we can record TV shows using our virtualized MythTV Backend we need some way to view those shows.  Most users of MythTV use the MythTV Frontend to watch recorded shows on their Linux boxes.  Earlier I&#8217;d mentioned that the way in which virtualization abstracts our hardware means that a virtual OS probably won&#8217;t be able to play our recorded show smoothly.  Fortunately there are other ways to watch our recorded shows without using the MythTV Fontend.</p>
<p><strong>MythTV Player</strong></p>
<p><a href="http://sudu.dk/mythtvplayer/">MythTV Player</a> is a Windows application which can play the programs you&#8217;ve recorded using MythTV.  It&#8217;s not designed to be a full Windows-based replacement for the MythTV Frontend but it will allow you to watch recorded shows.</p>
<p><strong>UPnP</strong></p>
<p>The latest versions of MythTV include a UPnP server.  If you have a UPnP client such as Nero&#8217;s Showtime you can browse and watch your recorded shows on your PC.  There are also some newer DVD players such as the DLink DSM320/520 which are capable of acting as UPnP clients.</p>
<p><strong>Roku HD1000</strong></p>
<p>If you have a Roku HD1000 hooked to your television you can use the MythRoku application to watch your recorded shows.  MythRoku doesn&#8217;t provide a full-featured replacement for the Frontend but it allows you to play back video that&#8217;s been recorded with your MythTV Backend.</p>
<p><strong>XBMCMythTV</strong></p>
<p>If you&#8217;ve modified your XBox into an <a href="http://xboxmediacenter.com">XBMC</a> you can use the <a href="http://sourceforge.net/projects/xbmcmythtv/">XBMCMythTV</a> script to view your recorded shows.  While it&#8217;s not a full-fledged replacement for the Frontend it allows you to schedule recordings as well as to view recorded shows.</p>
<p><strong>WinMyth</strong></p>
<p><a href="http://winmyth.sourceforge.net/">WinMyth</a> is a Windows version of the MythTV Frontend but it&#8217;s not up to date with the latest version of the protocol that MythTV uses.  When WinMyth is updated it should also be able to stream back recorded shows.</p>
<p><strong>Samba Shares</strong></p>
<p>While not quite as elegant as the other solutions you could always use Samba to set up an SMB share on the directory in your virtual machine which contains the recorded shows.  You&#8217;d see the raw filenames of the recorded shows rather than the &#8220;nice&#8221; names (&#8220;2100_20061213221800.mpg&#8221; instead of &#8220;Lost&#8221;) but you&#8217;d be able to view the recorded .mpg files using any device or program which can see network shares.</p>
<h3>Other Notes</h3>
<p>Here are some things to keep in mind if you&#8217;re considering setting up a MythTV installation following these steps.</p>
<p><strong>MythTV Versions</strong></p>
<p>Be careful about which version of the MythTV Backend you download and install, especially if you&#8217;re planning on using other 3rd-party software which is expecting a particular version of the Backend.  As of today the latest version of MythTV available through CVS is using Protocol 32.  If you&#8217;re planning on using that version make sure that the 3rd-party apps you&#8217;re going to use know how to speak using that protocol.</p>
<p><strong>MythTV Frontend</strong></p>
<p>You&#8217;re going to need some way to tell your MythTV which shows you want to record.  One way is to install a copy of the MythTV Frontend into the same virtual machine that&#8217;s running your Backend.  While it&#8217;s true that you probably won&#8217;t be able to use that Frontend to view recorded shows because of its abstracted hardware you can still use it to set up recordings.  Even if you have some other means of setting up your recordings, like using the XBMCMythTV script on your XBox, you can still use the Frontend for other things, like viewing the weather reports or reading your RSS feeds.</p>
<p>If you&#8217;d rather not install a Frontend you could just always just use the web-based interface to set up your recordings.</p>
<p><strong>Disk Space</strong></p>
<p>Recordings from MythTV can be big.  Very big.  If you&#8217;re planning on recording HDTV programming they&#8217;ll be even bigger. You need to make sure that you have enough disc space allocated to handle those recordings.  If you&#8217;re planning on storing the records on your virtualized MythTV Backend make sure that you allocate enough space when you create the virtual machine.  Alternatively, you can set up your Backend to save its records somewhere other than in the virtual machine by setting up a mount point which points to a share on another server or NAS.</p>
<h3>The Conclusion</h3>
<p>For years Windows users have had to use alternatives to MythTV because there just wasn&#8217;t any way to run Myth outside of Linux.  Technically speaking that&#8217;s still the case, but now, with the capabilities of virtual machines and Silicon Dust&#8217;s HDHomeRun, Windows users can use a little magic to crash the Myth party.</p>
<p>Now get in there and see what you&#8217;ve been missing.</p>
<p><em>Update: I&#8217;ve found another way to run MythTV under Windows by using a piece of software named andLinux.  You can find a post about that <a href="http://www.techwandering.com/2008/02/24/how-to-run-mythtv-on-windows-using-andlinux/" title="How to run MythTV on Windows using andLinux">here</a>.</em></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-0993830588196832";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0060FF";
google_color_text = "000000";
google_color_url = "808080";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.techwandering.com/2007/01/03/how-to-run-mythtv-on-windows/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>How to Create Your Own Virtual Machine Using VMWare Player</title>
		<link>http://www.techwandering.com/2006/11/22/how-to-create-your-own-virtual-machine-using-vmware-player/</link>
		<comments>http://www.techwandering.com/2006/11/22/how-to-create-your-own-virtual-machine-using-vmware-player/#comments</comments>
		<pubDate>Thu, 23 Nov 2006 01:22:45 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.techwandering.com/2006/11/22/how-to-create-your-own-virtual-machine-using-vmware-player/</guid>
		<description><![CDATA[<img class="left off" alt="virtualization graphic" src="http://www.techwandering.com/wp-content/uploads/2006/11/virtualization.jpg" />
<div><!--adsense#skyscraper--></div>
<p>The free <a href="http://www.vmware.com/products/player/">VMWare Player</a> is a very powerful and simple way to run virtual machines on your PC.  You install the VMWare Player software, download some pre-configured virtual machines, and can run just about any other operating system from the comfy confines of your favorite operating system (Windows or Linux) without ever having to worry about messing up your favorite operating system.  (You can read a more in-depth description of the VMWare Player from one of my previous posts, "<a href="http://www.techwandering.com/2006/05/28/tech-tip-vmware/">VMWare: See How the Other Half Lives</a>")</p>

<p>VMWare also makes the VMWare Server software, which gives you a lot more control over your virtual machines, including a wizard that you can use to create your own virtual machine.  VMWare Server is also free but may be a bit too complex for the user who simply wants to try out a different OS.<br />
</p>

<p>That leaves us with the choice between the simple VMWare Player, which you use to run pre-configured virtual machines, and the more complicated VMWare Server, which allows you to create your own virtual machines.  But what if a user wants the simplicity of the VMWare Player<i> and </i>the ability create their own virtual machines from scratch?  It's actually quite easy to do.<br />
</p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://farm3.static.flickr.com/2216/2112779838_7bc4512190_o_d.jpg" class="left off" alt="virtualization graphic" /></p>
<p>The free <a href="http://www.vmware.com/products/player/">VMWare Player</a> is a very powerful and simple way to run virtual machines on your PC.  You install the VMWare Player software, download some pre-configured virtual machines, and can run just about any other operating system from the comfy confines of your favorite operating system (Windows or Linux) without ever having to worry about messing up your favorite operating system.  (You can read a more in-depth description of the VMWare Player from one of my previous posts, &#8220;<a href="http://www.techwandering.com/2006/05/28/tech-tip-vmware/">VMWare: See How the Other Half Lives</a>&#8220;)</p>
<p>VMWare also makes the VMWare Server software, which gives you a lot more control over your virtual machines, including a wizard that you can use to create your own virtual machine.  VMWare Server is also free but may be a bit too complex for the user who simply wants to try out a different OS.</p>
<p>That leaves us with the choice between the simple VMWare Player, which you use to run pre-configured virtual machines, and the more complicated VMWare Server, which allows you to create your own virtual machines.  But what if a user wants the simplicity of the VMWare Player<em> and </em>the ability create their own virtual machines from scratch?  It&#8217;s actually quite easy to do.</p>
<p><span id="more-38"></span></p>
<p class="ad"><script type="text/javascript"><!--
google_ad_client = "pub-0993830588196832";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0060FF";
google_color_text = "000000";
google_color_url = "808080";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>In simplified terms the VMWare Player is really just the VM runtime component of the VMWare Server, including all of the abstracted hardware components that the virtual machine needs in order to be able to run.  That means that the Player uses the same configuration file as the Server, and <em>that </em>means that you can use the VM creation wizard from the Server to create a configuration file that will also work with the Player.</p>
<p>If you don&#8217;t have the Server application you can still create the configuration file  &#8212; you&#8217;ll just have to do it manually.  The configuration file that VMWare uses for both their Player and Server is just a text file.  As long as you know what settings are required to define and run the virtual machine you can use a simple text editor to create a configuration file that will work with the Player.  So, in reality you&#8217;ve always been able to create your own VM&#8217;s to be used with VMWare Player, as long as you understand what to put into that configuration file.  Or, you can take the easy way out.  In this case that would be the <em>EasyVMX</em> way out.</p>
<p><a href="http://www.easyvmx.com">EasyVMX</a> is a website which provides a simple way to create that configuration file without having to understand everything that it contains.  There&#8217;s nothing that the EasyVMX website does that you couldn&#8217;t accomplish  by creating and editing that configuration file with a simple text editor &#8212; it just makes it much easier, not to mention reducing the chance of errors in your configuration file.</p>
<p>The site gives you three different ways to create your VM configuration file using three configuration screen targeted to users with different technical needs:</p>
<ul>
<li>&#8220;Super Simple Edition&#8221; &#8211; you pick the name of the VM that you&#8217;re creating, choose the type of OS, and the amount of memory and drive space you&#8217;d like the VM to have.   That&#8217;s it.</li>
<li>EasyVMX! (normal) &#8211; in addition to the choices provided in the Super Simple Edition you also have an opportunity to modify settings such as network and disk configurations.</li>
<li>Expert &#8211; all options which are available in a VMWare configuration file.</li>
</ul>
<p>Let&#8217;s walk through a practical example.  I already have VMWare Player installed on my Windows OS and I&#8217;d like to create a virtual machine so that I can try out the latest version of the Ubuntu operating system.</p>
<h3>Step-by-step Walkthrough</h3>
<p>The first thing I have to do is download the Ubuntu installation CD image (.iso) file from <a href="http://www.ubuntu.com/download">here</a>.  I&#8217;ll store the file right on the root of my &#8220;C:\&#8221; drive.  If I was installing Ubuntu onto a &#8220;real&#8221; machine I&#8217;d have to take the downloaded file and burn it onto a CD or DVD before I could use it but since we&#8217;re going to be using a virtual machine we can skip that step.  If you&#8217;d like to burn it to a CD you can do that, too &#8212; just skip the step below which talks about adding the 2nd CD-ROM drive.</p>
<p><img src="http://farm3.static.flickr.com/2290/2112001139_a21a0e6775_o_d.jpg" /></p>
<p>The next step is to set up our VMWare Player configuration file.  Go the EasyVMX website and choose the &#8220;EasyVMX!&#8221; link.  In the Basic Configuration section we&#8217;ll assign a name to this virtual machine container, choose the type of OS, the amount of memory the VM is going to be use, and the number of CPU&#8217;s (in the case of VMWare Player you&#8217;re limited to 1).</p>
<p><img src="http://farm3.static.flickr.com/2280/2112779858_bb3f920629_o_d.jpg" /></p>
<p>Next we&#8217;ll have to decide how we&#8217;re going to handle networking.  I like to use the &#8220;Bridged&#8221; setting, which basically means that the virtual machine is to be treated like any other OS you may have running on your network.   That way it will have it&#8217;s own IP address which it will get either from your DHCP server or by static assignment.</p>
<p><img src="http://farm3.static.flickr.com/2339/2112001169_b1de652fe5_o_d.jpg" /></p>
<p>Since we downloaded the .iso image but didn&#8217;t burn it to a CD we&#8217;ll have to tell the VMWare Player what to do.  If you have a physical CD image instead of just an .iso file you can skip this step completely.</p>
<p>By default your PC&#8217;s CD-ROM drive gets mapped as the &#8220;Master&#8221; CD-ROM drive in the virtual machine.  We&#8217;ll add a 2nd CD-ROM drive to the virtual machine and point it to the Ubuntu .iso file we downloaded earlier.  From the virtual machine&#8217;s perspective it will look like a 2nd CD-ROM drive with our Ubuntu disc loaded into it.  (Please note that the file name shown truncated below is the complete file name to the .iso file: &#8220;C:\ubuntu-6.10-desktop-i386.iso&#8221;)  If you plan to use an actual CD to install your VM&#8217;s OS you can skip this step and just use the Master CD-ROM drive.</p>
<p><img src="http://farm3.static.flickr.com/2107/2112001177_0272935254_o_d.jpg" /></p>
<p>Next we tell EasyVMX how large we&#8217;d like the virtual machine&#8217;s hard drive to be.  In this example I&#8217;m going to use a single 4GB drive.  Remember, the virtual machine can&#8217;t see your PC&#8217;s hard drive at all &#8212; all it sees is what you define here.</p>
<p><img src="http://farm3.static.flickr.com/2265/2112001185_dd34e30584_o_d.jpg" /></p>
<p>That&#8217;s about all we need to define in our virtual machine to get Ubuntu up and running.  Now we just tell EasyVMX that we&#8217;re ready to go and it&#8217;ll generate a .zip file containing everything we need to create our virtual machine.   Open up that .zip file and copy the contents to the directory where the virtual machine is going to live.  Remember to make sure that the location you choose for your virtual machine has enough free drive space.  In our example above we told EasyVMX that we wanted to set aside 4GB for this virtual machine so we need to make sure that the directory we use as the location of our virtual machine has at least 4GB of free space available.</p>
<p>Here I&#8217;ve unzipped the file that EasyVMX created for me and copy the contents into my Eds_Ubuntu_Desktop directory.  Although we specified that the virtual machine was going to be 4GB large it isn&#8217;t using more than 1MB of drive space yet.  The files which are used as the VM&#8217;s hard drive will grow as needed up to the 4GB size we specified.</p>
<p><img src="http://www.techwandering.com/wp-content/uploads/2006/11/Directory-Contents-Before.JPG" /></p>
<p>Now we&#8217;re ready to fire up our virtual machine.  You can either double-click on the .vmx file in the virtual machine directory or you can start up VMWare Player (Start -&gt; VMWare -&gt; VMWare Player) and point it to the .vmx file.  You&#8217;ll see VMWare start your virtual machine just like it would start a &#8220;real&#8221; system.  The VM&#8217;s BIOS will first look to the VM&#8217;s hard drive to boot an OS but it won&#8217;t find anything there (remember, we haven&#8217;t actually installed the OS yet).  If you&#8217;re using the .iso file you&#8217;ll have to disable the Master CD-ROM and enable the Slave &#8220;CD-ROM 2&#8243; by clicking on those buttons at the top of the player so the VM will boot from the .iso image and not from the Master CD-ROM drive.  And away it goes&#8230;&#8230;</p>
<p><img src="http://farm3.static.flickr.com/2092/2112001187_46b66f401a_o_d.jpg" /></p>
<p>The Ubuntu CD is a &#8220;live&#8221; CD &#8212; it runs itself from memory instead of from your hard drive in order to give you a chance to check it out.  If you decide that you like what you see you can double-click on the &#8220;Install&#8221; icon on the VM&#8217;s desktop to launch the Ubuntu installer which will install the OS to your hard drive.  The installer will ask you the standard questions (pick your timezone, set up your partitions, etc.) and then will copy its files to your new partition.  Remember, it&#8217;s not installing Ubuntu onto your PC&#8217;s hard drive &#8212; it&#8217;s installing Ubuntu onto the 4GB virtual hard drive that we&#8217;d set up earlier.</p>
<p><img src="http://farm3.static.flickr.com/2282/2112001199_56434f7abc_o_d.jpg" /></p>
<p>Once Ubuntu is installed onto your VM&#8217;s hard drive it will ask you to remove the CD-ROM from the drive and to restart your system.  If you used an actual CD-ROM drive go ahead and eject it, otherwise we need to re-enable the Master CD-ROM drive by clicking on the CD-ROM button at the top of the player.  Once you&#8217;re removed the CD-ROM disc or re-attached the Master CD-ROM drive tell Ubuntu to go ahead and restart the system.  It thinks it rebooting your PC but what it&#8217;s really doing, of course, is restarting your virtual machine.</p>
<p><img src="http://farm3.static.flickr.com/2267/2112001221_c63790f4b3_o_d.jpg" /></p>
<p>The virtual machine restarts and you get to the Ubuntu login screen.</p>
<p><img src="http://farm3.static.flickr.com/2358/2112001231_7e7e44cbcd_o_d.jpg" /></p>
<p>That&#8217;s it &#8212; you have a fully-functional Ubuntu installation running from within your VMWare Player.  Sure, you could&#8217;ve just downloaded a pre-existing Ubuntu virtual machine from the VMWare website but, by doing it this way, you know exactly what&#8217;s in that virtual machine because you&#8217;re the one who put it there.  Besides, there are times when you&#8217;ll need to know how to create your own VM.  For example, you won&#8217;t find any Microsoft Windows VM&#8217;s on VMWare&#8217;s website because of licensing issues.  Using this technique you can create a Windows virtual machine just like we did for our Ubuntu virtual machine.</p>
<p>One additional bonus from running an OS in a virtual machine is thatyou can just shut down the VM and the contents of its memory will be saved as a file, much like putting your PC in Hibernation dumps the contents of its memory to its hard drive.  When you run the VM again the file will be loaded back into the VM&#8217;s memory and you&#8217;ll pick up right where you left off without having to wait for the OS to complete its normal boot process.</p>
<p>VMWare Player makes it easy to run virtual machines on your PC, and EasyVMX makes it easy to create those virtual machines.  Now you, too, can Ubuntu.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-0993830588196832";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0060FF";
google_color_text = "000000";
google_color_url = "808080";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.techwandering.com/2006/11/22/how-to-create-your-own-virtual-machine-using-vmware-player/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Need a small server?  Unleash the Power of the Slug</title>
		<link>http://www.techwandering.com/2006/05/30/need-another-computer-unleash-the-power-of-the-slug/</link>
		<comments>http://www.techwandering.com/2006/05/30/need-another-computer-unleash-the-power-of-the-slug/#comments</comments>
		<pubDate>Tue, 30 May 2006 16:14:49 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[Computer Hardware]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.techwandering.com/?p=6</guid>
		<description><![CDATA[<p><img class="right off" alt="NSLU2 Logo" src="http://www.techwandering.com/wp-content/uploads/2006/06/nslu.thumbnail.gif" />Anyone who's wandered the aisles of their friendly neighborhood big-box computer store has seen the shelves full of hard drives. These basically come in two flavors: internal hard drives, which get mounted inside of your computer, and external hard drives, which connect to your computer through a USB (or FireWire) cable.</p>
<p>You'll also find small devices that allow you to connect your external hard drive to your home network instead of connecting it directly to your computer. One of these devices is made by Linksys, and it goes by the official name of "NSLU2". It's more commonly known by its unofficial name: "The Slug". ]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.techwandering.com/wp-content/uploads/2006/06/nslu.thumbnail.gif" class="right off" alt="NSLU2 Logo" /><br />
Anyone who&#8217;s wandered the aisles of their friendly neighborhood big-box computer store has seen the shelves full of hard drives. These basically come in two flavors: internal hard drives, which get mounted inside of your computer, and external hard drives, which connect to your computer through a USB (or FireWire) cable.</p>
<p>You&#8217;ll also find small devices that allow you to connect your external hard drive to your home network instead of connecting it directly to your computer. One of these devices is made by Linksys, and it goes by the official name of &#8220;NSLU2&#8243;. It&#8217;s more commonly known by its unofficial name: &#8220;The Slug&#8221;. <span id="more-6"></span></p>
<p class="ad_left"><!--adsense#skyscraper--></p>
<p>The Slug is nothing more than a very small computer. It has an Intel processor, a little bit of memory (32MB), and it runs a flavor of Linux as its OS. Since it uses Linux the nice people at Linksys, in order to be compliant with Linux licensing, had to publish the modifications which they made to Linux in order to get it to run within the Slug, Once those modifications became publicly known it was only a matter of time before some enterprising hackers figured out how to extend the Slug beyond it originally intended purpose.</p>
<p>In a nutshell you can run all types of applications &#8212; web servers, FTP servers, SSH servers, music servers, web cams &#8212; through this little device which is just a hair bigger than a deck of cards. It&#8217;s not exactly a super-computer but it does OK for itself, especially considering that it&#8217;s original purpose was to mount a USB hard drive onto a home network. Oh, and it still serves that purpose, even while running all of the other applications.</p>
<p>If you have a small website or a low-volume SSH or FTP server that you run at home and you&#8217;d rather not have a server running all of the time consider installing and modifying a Slug to handle the job for you. It&#8217;ll set you back about $80 but you&#8217;ll be able to turn off your &#8220;real&#8221; server, not to mention having that external hard drive mounted on your network.</p>
<p>Just don&#8217;t pour salt onto it.</p>
<p>For a detailed look at how to hack the Slug and great step-by-step instructions on how to install Slug-compatible applications visit <a href="http://www.nslu2-linux.org" title="nslu2-linux.org">nslu2-linux.org</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techwandering.com/2006/05/30/need-another-computer-unleash-the-power-of-the-slug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

