I will explain how to install the server XBMC in the Raspberry Pi with Arch Linux. To know how to install Arch Linux in a Raspberry Pi you can look at my previous tutorial here!.
First we increase the clock frequency of our Raspberry Pi for this we modify the file /boot/config.txt and we uncomment the section Turbo at the end of the file looking like this:
## Turbo arm_freq = 1000 core_freq = 500 sdram_freq = 500 over_voltage = 6
As long as we do not raise the clock frequency of 1GHz, guarantee is not lost as we can read the website of Raspberry Pi here!.
Increasing the processor clock frequency is not mandatory but in my case the XBMC without him overclocking I find it slow.
We install the necessary packages for the XBMC:
pacman -S xbmc xorg-server
We execute the following command to add permissions to the XBMC:
echo 'SUBSYSTEM=="vchiq",GROUP="video",MODE="0660"' > /etc/udev/rules.d/10-vchiq-permissions.rules
Now we are going to add the user XBMC to the necessary groups:
usermod -a -G audio,storage,power,video,users xbmc
You just need to enable the service XBMC:
systemctl enable xbmc
With this we already have our XBMC at our Raspberry Pi, when we connect it to a television by HDMI the demon will throw XBMC.
On some television screens such as mine, you do not see anything at all. HDMI and you have to force Raspberry Pi to connect, for this we modify the file /boot/config.txt and uncomment the following line:
Finally we add a HDD external connected by USB where we will put the files to play. We execute Fdisk to know the correct device and create a folder where to mount the HDD:
Now we add the HDD editing our / etc / fstab being in my case like this:
/dev/sda1 /mnt/Datos ext4 defaults,user 0 0
It only remains to mount the partition with:
And we already have our server XBMC and our HDD ready.
I hope you find it useful.