Archive:Install XBMC on Apple TV 1 (Linux): Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Norwix
No edit summary
>Davesouth
(added byte-size flag to dd command to reduce copying time by a factor of 2^16)
Line 31: Line 31:
# Enter these commands in your Terminal window, in sequence:
# Enter these commands in your Terminal window, in sequence:
#: <pre>diskutil umountDisk /dev/disk1</pre>
#: <pre>diskutil umountDisk /dev/disk1</pre>
#: <pre>dd if=USB.img of=/dev/rdisk1</pre>
#: <pre>dd if=USB.img of=/dev/rdisk1 bs=16384</pre>
# Wait for the process to finish. It may take a while.
# Wait for the process to finish. It may take a while.
# Remove the USB drive and stick it into the ATV1, then power the ATV1 on (or reboot it).
# Remove the USB drive and stick it into the ATV1, then power the ATV1 on (or reboot it).
Line 46: Line 46:
# Enter these commands in your Terminal window, in sequence:
# Enter these commands in your Terminal window, in sequence:
#: <pre>diskutil umountDisk /dev/disk1</pre>
#: <pre>diskutil umountDisk /dev/disk1</pre>
#: <pre>dd if=installer.img of=/dev/rdisk1</pre>
#: <pre>dd if=installer.img of=/dev/rdisk1 bs=16384</pre>
# Wait for the process to finish. It may take a while.
# Wait for the process to finish. It may take a while.
# Remove the USB drive and take it to the Apple TV 1, along with a USB hub and a USB keyboard
# Remove the USB drive and take it to the Apple TV 1, along with a USB hub and a USB keyboard

Revision as of 01:31, 12 June 2012

Template:XBMC wiki toc Inline

See also: Apple TV 1 and HOW-TO:Install XBMC on Apple TV 1 (original OS)

Apple TV 1 (silver) is no longer available from Apple, but can be purchased from alternative sources (eBay, kijiji, craigslist, etc.).

It is highly recommended that you replace the WiFi card with a Broadcom Crystal HD to enable playback of HD videos.

Before installing a replacement OS

Template:ATV1 linux warning

Crystalbuntu

See also: Crystalbuntu

Crystalbuntu is probably the best and easiest option for running a linux-based OS with XBMC on the Apple TV 1. The system updates itself and boots directly into XBMC.

Installing from Linux or Windows

If you are using a Linux or Windows computer to prepare your USB install drive, you can use the GUI installer

Installing from Mac OS X

If you are using Mac OS X to prepare your USB install drive, use the following install guides:


To run off a USB drive and not touch the internal HDD:

Great for dual booting if you want to still use original ATV OS features, or to just test Crystalbuntu out.

  1. Download http://download.stmlabs.com/atv-images/ubuntu/hardy/usb/USB.img.gz
  2. Open Terminal, navigate to the downloaded file, and enter the following command followed by return:
    gunzip USB.img.gz
  3. Once back to the command prompt, continue with:
    diskutil list
  4. This will list all connected memory devices. Look for the one that is your USB stick. Normally, with no other USB drives connected, it is listed as disk1. If your USB drive shows up as something else then you must replace that number in the instructions below. Failure to do so will likely result in data loss.
  5. Enter these commands in your Terminal window, in sequence:
    diskutil umountDisk /dev/disk1
    dd if=USB.img of=/dev/rdisk1 bs=16384
  6. Wait for the process to finish. It may take a while.
  7. Remove the USB drive and stick it into the ATV1, then power the ATV1 on (or reboot it).
  8. The first time the drive is ran it will do some first-time installation things. This only happens the very first time the new USB drive is ran.
  9. The ATV1 should now reboot itself, and you should be now using XBMC via Crystalbuntu via USB drive.


To make an install USB drive that will erase the internal hard drive and install Crystalbuntu:

  1. Download http://download.stmlabs.com/atv-images/installer/installer.img.gz
  2. Open Terminal, navigate to the downloaded file, and enter the following command followed by return:
    gunzip installer.img.gz
    diskutil list
  3. This will list all connected memory devices. Look for the one that is your USB stick. Normally, with no other USB drives connected, it is listed as disk1. If your USB drive shows up as something else then you must replace that number in the instructions below. Failure to do so will likely result in data loss.
  4. Enter these commands in your Terminal window, in sequence:
    diskutil umountDisk /dev/disk1
    dd if=installer.img of=/dev/rdisk1 bs=16384
  5. Wait for the process to finish. It may take a while.
  6. Remove the USB drive and take it to the Apple TV 1, along with a USB hub and a USB keyboard
  7. Plug in the USB hub into the Apple TV 1, and then plug the USB drive and USB keyboard into the hub
  8. Boot the Apple TV 1 and wait until it gives you an error.
  9. Log-in using atv as both the username and password
  10. Enter the following command:
    sudo -s
  11. You will be asked for a password, again, which is still atv
  12. Enter the following commands:
    cd /
    echo ubuntu > .distro
    reboot
  13. Wait for the initial installation process to finish. It will ask you to remove the USB drive and reboot. Do so.
  14. Wait for the rest of the installation process to finish and soon you will be using XBMC via Crystalbuntu on the internal hard drive

Alternative guides


OpenELEC

Incomplete.png INCOMPLETE:
This page or section is incomplete. Please add information or correct uncertain data which is marked with a ?
See also: OpenELEC

Make sure to select the Apple TV build.

Manual installations