Archive:Crystalbuntu/Install from Mac

From Official Kodi Wiki
Revision as of 08:15, 12 July 2020 by Karellen (talk | contribs) (Karellen moved page Crystalbuntu/Install from Mac to Archive:Crystalbuntu/Install from Mac without leaving a redirect: Obsolete.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Time.png THIS PAGE IS OUTDATED:

see http://crystalbuntu.com

This page only applies to the older Crystalbuntu 1.0. For Crystalbuntu 2.0 and all future instructions, see http://crystalbuntu.com

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
    sudo dd if=USB.img of=/dev/rdisk1 bs=16384
  6. It will ask you for your Mac OS X password; enter it and press enter.
  7. Wait for the process to finish. It may take a while.
  8. After it is done Mac OS X might show a message saying that there is a disk inserted that it cannot read. This is because the USB drive has a Linux format that Mac OS X doesn't normally read. Ignore the message.
  9. Remove the USB drive and stick it into the ATV1, then power the ATV1 on (or reboot it).
  10. 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.
  11. 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
    sudo dd if=installer.img of=/dev/rdisk1 bs=16384
  5. It will ask you for your Mac OS X password; enter it and press enter.
  6. Wait for the process to finish. It may take a while.
  7. After it is done Mac OS X might show a message saying that there is a disk inserted that it cannot read. This is because the USB drive has a Linux format that Mac OS X doesn't normally read. Ignore the message.
  8. Remove the USB drive and take it to the Apple TV 1, along with a USB hub and a USB keyboard
  9. Plug in the USB hub into the Apple TV 1, and then plug the USB drive and USB keyboard into the hub
  10. Boot the Apple TV 1 and wait until it gives you an error.
  11. Log-in using atv as both the username and password
  12. Enter the following command:
    sudo -s
  13. You will be asked for a password, again, which is still atv
  14. Enter the following commands:
    cd /
    echo ubuntu > .distro
    chmod 777 .distro
    reboot
  15. Wait for the initial installation process to finish. It will ask you to remove the USB drive and reboot. Do so.
  16. Wait for the rest of the installation process to finish and soon you will be using XBMC via Crystalbuntu on the internal hard drive