MythTV on a Virtual Machine
You want to setup MythTV so you can get DVR service to your home network, but do not want to dedicate a single computer. This guide will show you how you can leverage your Windows PC to run MythTV on a Virtual Machine using VitualBox. You could also do this just for testing out MythTV functionality then move it to a dedicated PC if it works for you. These same principles can be used to try out any operating system on your windows box.
We have a full guide on how to get TV with DVR capabilities on your network utilizing an HDHOMRUN with cable card or over the air antenna. You can see that here.
Let’s get started.
- MythTV – A free DVR service that runs on Linux – We suggest Mythbuntu as it is optimized for MythTV out of the box.
- VirtualBox – A free Oracle VM software package
Download the software
Mythbuntu iso file
Here are the system requirements for Mythbuntu.
Minimum System Requirements (SD content):
- 1.0 GHz x86 or x86_64 Processor
- 512 MB of system memory (RAM)
- 2 GB of disk space (Frontend Role)
- 10GB + 1.5GB/hour for storage of SD material (Backend Role)
- Graphics card capable of 1024×768 resolution (if using VDPAU, 256MB minimum)
- Supported TV Tuner Card (Backend Role)
- 2.0 Ghz x86 or x86_64 Processor (2+ cores)
- 2GB MB of system memory (RAM)
- 10 GB disk space (Frontend Role)
- 10GB + 5GB/hour for storage of HD material (Backend Role)
- nVidia GT 4xx+ 512MB+ Graphics Card
- Supported TV Tuner Card (Backend Role)
I should also note that this works flawlessly with HDHomerun or other network based tuners. You will have a super hard time at best if you try to do this with an integrated tuner card.
VirtualBox Virtual Machine Setup
Install VirtualBox, open it, and create a virtual machine
Name it, set the type to Linux, and version “other linux (64-bit)
Set the memory size to 512MB or 2048MB depending if you want HD min requirements or not.
You will want to create a virtual hard drive which will partition some of you physical drive specifically for MythTV.
Choose Virtualbox Disk Image
I used “Fixed size” for my storage type.
Here you need to set your storage size. You would probably want to add a 500GB or 1TB drive to your box so you have plenty of DVR space.
- Keep in mind – 10GB + 5GB/hour for storage of HD material (Backend Role)
Now we have the virtual box ready to install Mythbuntu.
Right click on the instance and go to the storage settings. Click the disk + button.
This is where we can select the Mythbuntu Iso you downloaded earlier by selecting “Choose Disk”
You will see the iso under the controller
Next go to the “Network” header on the left.
Ok that then start the machine.
Boot to the Mythbuntu setup
A windows will open up where you can now walk through the Mythbuntu setup.
The first screen will ask you to select your language
Erase disk and install Mythbuntu: Remember this is the virtual disk you created earlier so your windows installation and directors are safe.
Add your location
Keyboard layout preferences
You will want to name your virtual box and login automatically
Depending on your needs you will select one of the following options. I suggest the first instance. You are going to use this box as the “backend” so other TV’s can access for TV and DVR. The first option will also allow you to test if everything is working within your virtual environment.
I would add all the following check boxes for additional services. This way you can access the virtual box from multiple services. The MythTV Service needs to be selected.
I didn’t setup a remote as I will use the remote for my other XBMC Kodi boxes around the house, not on the virtual machine that will be used as a backend. So to be clear, you will be able to use your phone for instance as a remote on your TV’s even though you select “No Additional Remote Support” on this screen.
It will install and complete.
Setting up MythTV
At this point you will want to use the Mythbunut setup guide on our XBMC Kodi Live TV HDHOMERUN Prime MythTV Cox Cable Card Setup post. This will help you get everything talking from the cable card/Antenna -> HDHOMERUN -> MythTV.
Once you have the Mythbuntu setup in the other blog, you can use the MythTV Frontend app within your virtual server to see if you are getting TV signal. I would do this to ensure everything is working before you move on to connecting your XBMC/Kodi boxes to it.
Under applications in the top left hand corner you will see “MythTV Frontend”. When you open it you can go to “Watch TV” and make sure everything is working. Again, you have to setup the backend first before this will work which is described in the blog link above.
If all is good you will have TV!
So again, this is for those of you that
- Want to test out this setup before buying a dedicated PC for MythTV
- Those that have a multi-purpose windows pc/server they want to add this functionality too