I recently decided to make the leap from Ubuntu and open source MythTV to the professional product, Microsoft's Windows Media Center. Why you may ask? Well to be honest I moved and lost my Freeview reception, then came to the conclusion that without that I no longer had any real use for the machine. But also I have recently become a Windows developer and and using Linux less and less. My Windows partitions on my other machines are getting booted more and more, and with windows 7 out (and getting my hands on a couple of copies) I thought it a good time to change focus and try another media PC software out.

So now we have the why out of the way, lets look at some of the things I wanted to say, the reason for this post. Lets start with the more general point.

Using Windows 7 with Linux ext2/ext3 Partitions

Anyone who has dual-booted a machine has come to the point where they need to access their Windows files from their Linux OS, and are glad there is NTFS support in Linux. But of course the other situation arises where you actually needed that file that is currently in the Linux partition, but you need it in Windows now, and you don't want to have to reboot to get at it. You need to be able to access your Linux Partition (ext2/ext3 or even ext4) from Windows, But the disk format is not natively supported.

Several utilities are currently available to solve this problem, ext2Ifs, fs-driver... and a few others. I have up till this point been using ext2Ifs with my Windows XP/Ubuntu and Windows Vista/Ubuntu machines for a while and found it really good. It allows read/write access to ext2, and read for ext3. It even works with Windows 7, though it needs to be installed and used in Vista Compatibility mode, which is great for most cases. Problem solved.

Unfortunately, the lasted version of Ubuntu is now formating it's ext3 partitions using an inode size of 256-byte, where it used to use a size of 128-byte. It would seem that such a small change has not been considered when the utilities for ext* partitions in Windows were built. That is to say, that ext2Ifs, my trusted partition reader, does not work with my new Ubuntu partition that is using the 256-byte version.

I did find a solution in the form of ext2Fsd. This utility can and does support the new inode size, and I can now read my media from my old MythTV install in my new Windows 7 Media Center install.

Windows Media Center and Codecs

Media comes in all shapes and sizes, or should I say codecs and containers. Normally in these situations, when media player doesn't play a particular codec, I install some version of Windows_*_codec_pack and that solves the problem, or rinse and repeat. But luckily today I stumbled upon a post from Chris Lanier from 2007 that points the general punter in the correct direction. His recommendation on codec packs is "While a very few of them are built nicely, the majority of built by pirates who know little to nothing about what they are doing".

His advice is two parts. Install something to handle the containers, and Install something else to handle the codecs. The first thing is Haali Media Splitter and the second is ffdshow. Ffdshow is familiar to me, because it is what i have been using with MythTV as my codecs of choice.

The full article can be found here.

So there you have it, with that completed I can watch my media from my ext3 hard drive in Windows Media Center under Windows 7. The next step with the Media PC saga will be to move again to get better Freeview HD reception, or buy a satellite and new PVR card and go the Freeview Satellite approach. Time will tell.