I recently bought an Home Theater PC (HTPC). It is not a state-of-the-art machine but I am hoping it will ‘do the trick’. In a series of posts on this blog I will explain how to setup a HTPC with XBMC. My HTPC exists of the following components:
|Casing||Fujitsu-Siemens Scaleo E|
|Motherboard||FIC Triton i915G|
|Processor||Intel Pentium 4 651 3.4Ghz x64 (Cedar Mill)|
|Processor cooler||Passive Socket775|
|Memory||4x 512 MB DDR SDRAM PC3200|
|Graphics||Club3D HD5450 512MB DDR3 LowProfile Silent|
|Hard Disk||Samsung EcoGreen F4EG, 2TB 5400rpm|
|Optical Drive||DVD Brander Lite-ON IDE|
|USB Pen Drive||Transcent 8GB JetFlash 300 USB2.0|
I am a Microsoft Windows user and have virtually no experience with Linux based systems. So off course I could take the easy way and install Microsoft Windows 7 and the Windows version of XMBC on it. However, I am not going to take the easy way.
You will need a USB pen drive with of least 2 GB, but a pen drive of 8 GB (or more) is recommended.
Enough chatter; let’s get started!
- Download the XBMC Live CD from http://xbmc.org/download/. The current release is the Dharma version 10.0. It is about 413 MB large
- We are going to prepare the USB disk on another machine (told you I am a Windows fan). Download and install Oracle Virtual Box from http://www.virtualbox.org/wiki/Downloads. Virtual Box lets us create a virtual machine. If you are new to virtualization, don’t worry. I will guide you through it.
- Open Virtual Box and create a new virtual machine using the New-button.
- Choose a suitable name for the Virtual Machine and select the Operating System Unix and Version Ubuntu.
- In the next wizard step we can choose how much memory to assign to the virtual machine. The recommended value is 512 MB, which is already the default value in my case.
- We downloaded a Live version of XBMC, so we don’t need a hard disk. Uncheck the Boot Hard Disk checkbox. Virtual Box will ask for a confirmation to ask whether we are sure we don’t want to add a hard disk. Just press continue.
- Virtual Box will present a summary of the choices. It should look something like this. Press Finish to create the virtual machine.
- After the virtual machine is created, Virtual Box will present the starting screen with the new virtual machine.
- Select the newly created virtual machine and press Settings. Navigate to the Storage tab and select the CD/DVD-Rom icon. Choose for the option to add a Virtual CD/DVD Disk and select the downloaded XCMB image.
- Plug in your USB pen drive (if you didn’t do it already) and navigate to the USB tab. Check the checkbox to enable USB 2.0 and add your USB device.
- Now is it time to boot the virtual machine. Return to the Virtual Box main screen, select the virtual machine and press the Start-button. If you configured everything correct the new virtual machine will show the XBMC boot screen. Select the option Install XBMCLive.
- Select the XBMC default language and your country. I will install XBMC in Dutch because I live in the Netherlands.
- The XBMC installer will automatically detect your hardware, network settings, etc. The next screen will present some choices where you can choose how to partition your USB pen drive. Mine USB pen drive is empty and I do not plan to use it for any other purpose other than running XBMC. Therefor I chose the option Guided – Use Entire Disk. This option will create an ext4 partition for XBMC and a separate swap partition.
- Confirm the USB pen drive by selecting the corresponding disk.
- Warning! The next step will delete any data on the USB pen drive! Select Finish partitioning and write changes to disk.
- The XBMC installer will now partition the USB pen drive and copy the necessary files to USB pen drive. This can take a while so I suggest getting a cup of coffee.
- Supply the XBMC installer with your name, username and password to further personalize your XBMC environment. The installer will continue to make some more adjustments and reboot. Congratulations! XMBC is now installed on a USB pen drive.
Now you can unplug your USB pen drive and use it any machine able to boot from USB. Settings (dand other data) will be saved directly to the USB pen drive. In the next post I will explain how to connect to the internet.