2013-01-03, 23:14
A guide on how to upgrade an freshly installed XBMC Live 10.1 (Dharma) into Frodo 12.3
(surpasses my earlier posting: [Guide] Upgrade XBMC Live 10.1 (Dharma) installation into Eden)
UPDATED!
This guide will install Frodo Stable 12.3
Background: Were looking forward to install the XBMC Frodo Live-CD (RC2 at writing moment) into my Zotac MAG, only to discover that it didn't work as well as I expected on my box. Had problems with the sound and getting the Nvidia driver to work, resulting in a not so enjoyable Frodo experience. I know that the XBMC Code itself is of excelent quality. But just like the XBMC Eden Live CD, the XBMC Frodo implementation in the Live CD didn't find its way to success for me. The only implementation that really worked for me, were the XBMC Live 10.1 Dharma Live CD. So... Just like I did with Eden, I decided to once again upgrade a Dharma Live CD into Frodo.
And the result were once again just so very Sweet! XBMC is simply da best Media Center for Humans!
My hardware:
I have tested all the steps on my unit several times. Although I make no guarantees, but following all steps exactly will probably make a success to those using a unit with similar specifications as mine. This guide have only been tested from a fresh installation of Dharma, which in turn have been upgraded into Frodo.
I strongly recommend doing this guide via ssh terminal (or putty for windows users) with Copy & Paste, since it's easy to make a typing error on all the commands and parameters written here.
So here's the quide in 28 steps:
1. Download the XBMC 10.1 Live CD and install it on the HTPC harddisk
Link: http://mirrors.xbmc.org/releases/live/xb...1-live.iso
2. Boot the XBMC from the harddisk. Notice the IP address of your box, if you want to login from network later on here.
3. In the XBMC panel, go to the shutdown menu and select "Exit"
4a. Login in to the XBMC. For example, I choosed the Username "mediabox" and Password "pass1234" during installation. So I will use that for login. You will of course use the Username and Password you've entered during your own installation.
4b. If a remote login is to be used, the XBMC box's IP address is needed. For my own example, the box is using "192.168.0.25". Then I used the "ssh" command from a Ubuntu Desktop Computer (or putty for windows users):
(The "#" is not typed. Only for symbolising command input)
(replace the "192.168.0.25" with the IP of your own XBMC box, and "mediabox" with your own username from install)
5. Activate the Root user:
6. Then logout:
7a. Login again as root on the HTPC.
7b. If you are using a remote connection over a network, use the ssh command (or putty for windows users):
(replace the "192.168.0.25" with the IP of your own XBMC box)
8. As a root user, the "sudo" command isn't needed. We need to add a repository that contain some libraries needed by the XBMC Build dependencies:
9. Update the repositories:
10. Install the XBMC Build dependencies:
11. Turn "off" the XBMC-repository, since the XBMC installation will break during an system upgrade:
12. Upgrade the system:
The upgrade will probably halt and need a question answered. Just press the "enter" -key since the suggested "N" is the proper answer:
13. Reboot to start using the newly updated linux kernel:
After the system is up and running again, go to the shutdown menu in the XBMC panel and select "Exit". Then login in to the XBMC again as root, either direct (as in step 7a) or through the ssh terminal (as in Step 7b).
14. Remove the old kernel that came with the Dharma 10.1 installation, just to free up some space on the disk:
15. Remove the rest of the old kernel modules:
16. Now the final step, upgrading the existing Nvidia driver to 304:
17. Then reboot:
After the system is up and running again, go to the shutdown menu in the XBMC panel and select "Exit". Then login in to the XBMC again as root, either direct (as in step 7a) or through the ssh terminal (as in Step 7b).
18. Install Python tools:
19. Now, for the last installations:
20. Clear the apt cache to save diskspace, as we dont't need the downloaded installation files anymore:
21. Download XBMC Source Code and prepare for compilation:
(leave out "-b Frodo" if you want the earlier XBMC versions as well)
22. Compile the Source Code:
23. If the compilation went through without errors, the following message should appear:
24. Before installation of Frodo, deleting all traces of Dharma is a good way to get rid of problems like using wrong Add-ons repositories:
25. Install Frodo:
26. Then reboot:
27. The XBMC Frodo panel should now appear on screen. I would recommend Updating / Refreshing the Add-ons repository in System menu by navigating to the "System/Settings/Add-ons/Get Add-ons" menu and make a "Force Refresh" on the "XBMC.org Add-ons" application. Then you can install Add-ons like the XBMC Subtitles etc.
28. Enjoy!
Proceedure for upgrading / install bugfixes for Frodo later on, with the above previous steps already done once.
1. Boot the XBMC. Notice the IP address of your box, if you want to login from network later on here.
2. In the XBMC panel, go to the shutdown menu and select "Exit"
3a. Login in to the XBMC.
3b. If you are using a remote connection over a network, use the ssh command (replace the IP address with your own):
(The "#" is not typed. Only for symbolising command input)
(replace the "192.168.0.25" with the IP of your own XBMC box)
4. Download the latest GIT and compile the source code:
If the compilation went through without errors, the following message should appear:
5. Install Frodo:
You probably need to re-setup the Remote Control drivers, since some configuration files are copied from the sources.
6. Reboot the HTPC:
The XBMC panel with the updated Frodo should now appear on screen.
7. Enjoy!
(surpasses my earlier posting: [Guide] Upgrade XBMC Live 10.1 (Dharma) installation into Eden)
UPDATED!
This guide will install Frodo Stable 12.3
Background: Were looking forward to install the XBMC Frodo Live-CD (RC2 at writing moment) into my Zotac MAG, only to discover that it didn't work as well as I expected on my box. Had problems with the sound and getting the Nvidia driver to work, resulting in a not so enjoyable Frodo experience. I know that the XBMC Code itself is of excelent quality. But just like the XBMC Eden Live CD, the XBMC Frodo implementation in the Live CD didn't find its way to success for me. The only implementation that really worked for me, were the XBMC Live 10.1 Dharma Live CD. So... Just like I did with Eden, I decided to once again upgrade a Dharma Live CD into Frodo.
And the result were once again just so very Sweet! XBMC is simply da best Media Center for Humans!
My hardware:
- Zotac MAG
- Intel Atom Dual Core 330
- NVIDIA ION Chipset
- 2GB RAM
- 160 GB HDD
I have tested all the steps on my unit several times. Although I make no guarantees, but following all steps exactly will probably make a success to those using a unit with similar specifications as mine. This guide have only been tested from a fresh installation of Dharma, which in turn have been upgraded into Frodo.
I strongly recommend doing this guide via ssh terminal (or putty for windows users) with Copy & Paste, since it's easy to make a typing error on all the commands and parameters written here.
So here's the quide in 28 steps:
1. Download the XBMC 10.1 Live CD and install it on the HTPC harddisk
Link: http://mirrors.xbmc.org/releases/live/xb...1-live.iso
2. Boot the XBMC from the harddisk. Notice the IP address of your box, if you want to login from network later on here.
3. In the XBMC panel, go to the shutdown menu and select "Exit"
4a. Login in to the XBMC. For example, I choosed the Username "mediabox" and Password "pass1234" during installation. So I will use that for login. You will of course use the Username and Password you've entered during your own installation.
4b. If a remote login is to be used, the XBMC box's IP address is needed. For my own example, the box is using "192.168.0.25". Then I used the "ssh" command from a Ubuntu Desktop Computer (or putty for windows users):
(The "#" is not typed. Only for symbolising command input)
Code:
# ssh 192.168.0.25 -l mediabox
5. Activate the Root user:
Code:
# sudo passwd root
[sudo] password for mediabox: (your password)
Enter new UNIX password: (enter new password for the root user)
Retype new UNIX password: (enter the new password for the root user again)
passwd: password updated successfully
6. Then logout:
Code:
# exit
7a. Login again as root on the HTPC.
7b. If you are using a remote connection over a network, use the ssh command (or putty for windows users):
Code:
# ssh 192.168.0.25 -l root
8. As a root user, the "sudo" command isn't needed. We need to add a repository that contain some libraries needed by the XBMC Build dependencies:
Code:
# add-apt-repository ppa:lucid-bleed/ppa
9. Update the repositories:
Code:
# apt-get update
10. Install the XBMC Build dependencies:
Code:
# apt-get build-dep xbmc -y
11. Turn "off" the XBMC-repository, since the XBMC installation will break during an system upgrade:
Code:
# mv /etc/apt/sources.list.d/xbmc.list.list /etc/apt/sources.list.d/xbmc.list.list.off
# mv /etc/apt/sources.list.d/xbmc-svn.list.list /etc/apt/sources.list.d/xbmc-svn.list.list.off
# apt-get update
12. Upgrade the system:
Code:
# apt-get dist-upgrade -y
The upgrade will probably halt and need a question answered. Just press the "enter" -key since the suggested "N" is the proper answer:
Code:
Configuration file `/etc/lsb-release'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : background this process to examine the situation
The default action is to keep your current version.
*** lsb-release (Y/I/N/O/D/Z) [default=N] ? (press 'Enter')
13. Reboot to start using the newly updated linux kernel:
Code:
# reboot
After the system is up and running again, go to the shutdown menu in the XBMC panel and select "Exit". Then login in to the XBMC again as root, either direct (as in step 7a) or through the ssh terminal (as in Step 7b).
14. Remove the old kernel that came with the Dharma 10.1 installation, just to free up some space on the disk:
Code:
# apt-get purge '.*-2.6.32-29-*' -y
15. Remove the rest of the old kernel modules:
Code:
# rm -R /lib/modules/2.6.32-29-generic
16. Now the final step, upgrading the existing Nvidia driver to 304:
Code:
# apt-add-repository ppa:ubuntu-x-swat/x-updates
# apt-get update
# apt-get install nvidia-current nvidia-settings -y -q
# rm /etc/apt/sources.list.d/ubuntu-x-swat-x-updates-*.list*
# apt-get update
17. Then reboot:
Code:
# reboot
After the system is up and running again, go to the shutdown menu in the XBMC panel and select "Exit". Then login in to the XBMC again as root, either direct (as in step 7a) or through the ssh terminal (as in Step 7b).
18. Install Python tools:
Code:
# apt-get install python-software-properties pkg-config -y
19. Now, for the last installations:
Code:
# apt-get install libtinyxml-dev swig libssh-dev libmp3lame-dev libcap-dev -y
# apt-get install openjdk-6-jre-headless -y
# apt-cache search jdk
20. Clear the apt cache to save diskspace, as we dont't need the downloaded installation files anymore:
Code:
# apt-get clean
21. Download XBMC Source Code and prepare for compilation:
Code:
# mkdir ~/setup
# cd ~/setup
# git clone git://github.com/xbmc/xbmc.git -b Frodo
22. Compile the Source Code:
Code:
# cd xbmc
# git reset --hard 12.3-Frodo
# git clean -xfd
# make -C lib/libnfs && make -C lib/libnfs install
# make -C lib/taglib && make -C lib/taglib install
# ./bootstrap ; ./configure --prefix=/usr --enable-vdpau --disable-pulse --disable-crystalhd
# make -C $HOME/setup/xbmc/lib/addons/script.module.pil
# make -j4
(prepare for a long relax during this last step)
23. If the compilation went through without errors, the following message should appear:
Code:
-----------------------
XBMC built successfully
-----------------------
24. Before installation of Frodo, deleting all traces of Dharma is a good way to get rid of problems like using wrong Add-ons repositories:
Code:
# rm -R /usr/share/xbmc
# rm -R /usr/lib/xbmc
# rm -R /home/xbmc/.xbmc
25. Install Frodo:
Code:
# make install prefix=/usr
# make distclean
26. Then reboot:
Code:
# reboot
27. The XBMC Frodo panel should now appear on screen. I would recommend Updating / Refreshing the Add-ons repository in System menu by navigating to the "System/Settings/Add-ons/Get Add-ons" menu and make a "Force Refresh" on the "XBMC.org Add-ons" application. Then you can install Add-ons like the XBMC Subtitles etc.
28. Enjoy!
Proceedure for upgrading / install bugfixes for Frodo later on, with the above previous steps already done once.
1. Boot the XBMC. Notice the IP address of your box, if you want to login from network later on here.
2. In the XBMC panel, go to the shutdown menu and select "Exit"
3a. Login in to the XBMC.
3b. If you are using a remote connection over a network, use the ssh command (replace the IP address with your own):
(The "#" is not typed. Only for symbolising command input)
Code:
# ssh 192.168.0.25 -l root
4. Download the latest GIT and compile the source code:
Code:
# cd ~/setup
# rm -r xbmc
# git clone git://github.com/xbmc/xbmc.git -b Frodo
# cd xbmc
# make distclean
# git reset --hard 12.3-Frodo
# git clean -xfd
# make -C lib/libnfs && make -C lib/libnfs install
# make -C lib/taglib && make -C lib/taglib install
# ./bootstrap ; ./configure --prefix=/usr --enable-vdpau --disable-pulse --disable-crystalhd
# make -C $HOME/setup/xbmc/lib/addons/script.module.pil
# make -j4
If the compilation went through without errors, the following message should appear:
Code:
-----------------------
XBMC built successfully
-----------------------
5. Install Frodo:
Code:
# make install prefix=/usr
# make distclean
You probably need to re-setup the Remote Control drivers, since some configuration files are copied from the sources.
6. Reboot the HTPC:
Code:
# reboot
The XBMC panel with the updated Frodo should now appear on screen.
7. Enjoy!