Xbox Install using E Images

From MythTV

Jump to: navigation, search

The Xebian frontend environment was setup using the instructions at http://www.xbox-linux.org/wiki/MythTV_on_Xebian_HOWTO which installed xebian on a gamesave partition. Then the files in E:\debian were copied from the XBOX and compressed.

Contents

Assumptions

  1. Xbox has been modded
  2. Ability to put files on E:\
  3. Using standard composite or RGBs scart out.
  4. Remote isn't the generic Chinese variety (if so see http://www.xbox-linux.org/wiki/LIRC section cheap remotes). The 0.20 images and up should have a fix for this, already.
  5. Backend is setup for remote access: http://mythtv.org/docs/mythtv-HOWTO-9.html#ss9.1

Instructions

  1. Download exactly ONE of the following E images below (please help seed)
    1. Mythtv 0.21 (about 310MB, use this one unless you know what you are doing):
    2. Mythtv 0.20.2 (about 450MB):
    3. Mythtv 0.20.2 (about 744MB, this one can be used also to recompile myth from SVN, contains the devel packages):
    4. Mythtv 0.20 (about 350MB):
    5. Mythtv 0.19 (about 300MB):
  2. Extract the files (a little over 2GB)
  3. If you're on linux you can edit the config files before you ftp them across. After you've extracted them
    1. cd to the folder containing the rootfs file
    2. make a folder xebian - $mkdir xebian
    3. mount the rootfs partition (you may have to be root to do this) #mount -o loop rootfs xebian
    4. remove the nfs mount point from /etc/fstab, this will cause the boot to hang for a long time before timing out.
      • 192.168.1.10:/export/storm/hellanzb /export/videos nfs defaults 0 0
    5. edit the ip address by changing the file /etc/network/interfaces
    6. edit the /etc/resolv.conf file and point it to your DNS if you aren't using DHCP
    7. edit the location of the mythbackend /home/live/.mythtv/mysql.txt
    8. unmount the rootfs #umount xebian
  4. FTP them to the xbox (make sure you put them on E:\debian) if you put them elsewhere, I think you might need to modify some files before ftping them over
  5. To load linux-
    1. From your dashboard run E:\debian\default.xbe, or
    2. use xromwell to boot, or
    3. write the enclosed (in the bittorrent version) file boot_fatx_e.iso and boot off the cd-rw disk
  6. Once booted the x11vnc will run allowing you to VNC into the desktop
  7. Also the frontend should start
  8. If you have trouble playing recorded shows, make sure the times are sync'd properly to the master backend. Also make sure your timezones are set right. Run tzconfig as root to setup your timezone. If you are in the US, you might need to update your timezone information. I did this by just copying the appropriate zoneinfo file from a system with a later distribution.
  9. In one of the older images, i may have forgotten to turn on swap. Please check to make sure swap is working, else it will suck.

Logins/Passwords: root/xebian, live/live

The default IP is either 192.168.1.230 or 192.168.1.231.

You should be able to ssh or vnc into the box (root, xebian). MythTV frontend should start automatically and prompt you for some configuration parameters. If it doesn't, ssh in and delete the /home/live/.mythtv/mysql.txt file. Then kill the frontend, it should restart automatically a couple seconds later, then the frontend should prompt you to configure it. Also, there might be another mysql file in /etc/mythtv/mysql.txt but this is not used. Alternatively, you can ssh in and edit these files to point them to your backend and change attributes in these files to point it to the correct backend. It is pointing to 192.168.1.10 out of the box.

  1. If you have problems, email me using the address on my wiki profile page or post a message on the mythtv-users list. I usually scan it for xbox related topics.

Upgrading to 0.20

I'll assume that you are using the images from above.

  1. Simply ssh into the xbox.
  2. As root, execute
apt-get update
apt-get install mythtv-frontend
  1. Restart the mythtvfrontend. You can do this by killing the process: killall -9 mythfrontend

This thread might be useful if you run into issues: http://www.gossamer-threads.com/lists/mythtv/users/223440?search_string=xbox%200.20;#223440

  1. If you are looking for the mythtv debian packages, they should be here:
deb http://alexfisher.me.uk/debian sarge main

Upgrading to 0.20.2

These are the mythtv precompiled deb packages for the xbox xebian 1.1.4.

Simple instructions:

  1. Append this to your /etc/apt/sources.list file:
deb http://yoeu.net/debian sarge main
deb http://debian-multimedia.fx-services.com/ sarge main
  1. Replace all sable or unstable with sarge
  2. apt-get update
  3. apt-get install mythtv-frontend

(if you are pulling down too many packages, you are doing something wrong) Do the same for the other packages that you want to upgrade.

Upgrading to 0.21

These are the mythtv precompiled deb packages for the xbox xebian 1.1.4.

Simple instructions:

  1. Append this to your /etc/apt/sources.list file:
deb http://alexfisher.me.uk/debian xebian main
  1. apt-get update
  2. apt-get install libmyth-0.21 mythtv-frontend mythtv-common

(if you are pulling down too many packages, you are doing something wrong) Do the same for the other packages that you want to upgrade.

Configuring system to shutdown from frontend

If you are running as root, it should just work, however, if running as live you can do the following:

chmod +s /sbin/halt

Then in mythfrontend: settings->general->halt command->/sbin/halt

Other Stuff

List of misc other stuff I found on xbox and mythtv.

  1. Here is yet another xbox mythtv frontend image. It isn't the same as the image provided above, but may work for you. I found this link in the mythtv mailing list. http://thepiratebay.org/tor/3544849/mythtv_0.20_xebia1.1.4_xbox_1.4
  2. Another torrent in a slightly different format, http://www.mininova.org/tor/245909 (260Mb rar)
  3. Need xbox help, try querying the mailing list for xbox: http://www.gossamer-threads.com/lists/engine?list=mythtv&do=search_results&search_forum=forum_1&search_string=xbox&search_type=AND


Link back to Xbox_Frontend

Personal tools