[LINUX] Apple TV Crystalbuntu (Ubuntu Linux and Crystal HD) Disk Image for Apple TV

  Thread Rating:
  • 15 Votes - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
scorneil Offline
Junior Member
Posts: 27
Joined: Jun 2010
Reputation: 0
Post: #211
pin87a Wrote:I put together a minimal xbmcbuntu install on a usb drive over the weekend. If someone can host it I would be glad to upload it.

Functionality-wise it's the same as Sam's, but it runs a bit lighter since there are less services running and no desktop. I also used the xbmc-live package to autostart xbmc so if it crashes it just loads back up again.

nice. interested to see the menu response with fanart enabled. alaska skin was way too laggy with it enabled under Sam's image.
find
pin87a Offline
Senior Member
Posts: 179
Joined: Mar 2004
Reputation: 5
Post: #212
xbmc old school Wrote:Awesome pin87a!!! Has the img been uploaded anywhere yet?

Sam offered to host it for everyone, but i haven't had a chance to upload yet. Will upload tonight.

scorneil Wrote:nice. interested to see the menu response with fanart enabled. alaska skin was way too laggy with it enabled under Sam's image.

You probably won't notice much of a difference with this. Fanart is still a bit slow.
find
matpol Offline
Member
Posts: 94
Joined: May 2008
Reputation: 0
Location: bournemouth, uk
Post: #213
Actually I would be interested in knowing how to make one of these.

Is is basically using a livecd image on the usb stick with atv-bootloader or is there more to it?
find
oezkan12 Offline
Junior Member
Posts: 15
Joined: Jan 2010
Reputation: 0
Post: #214
Crystalbuntu works smoother than the osx one on the atv.

My hd tv-rips are stuttering also here .

I recognized that when xbmc crashes here or i make an restart that i come to a login ubuntu window and that was it.
I could not login because i do not have a keyboard....
I have to plug the atv out and try again. any idea how to prevent this?
find
Mojonba Offline
Junior Member
Posts: 40
Joined: Oct 2006
Reputation: 0
Post: #215
is the spdif audio output device the iec958? does it need a restart after the device change? thanks for the build.
find
reddeath Offline
Member
Posts: 55
Joined: Apr 2010
Reputation: 0
Post: #216
oezkan12 Wrote:Crystalbuntu works smoother than the osx one on the atv.

My hd tv-rips are stuttering also here .

I recognized that when xbmc crashes here or i make an restart that i come to a login ubuntu window and that was it.
I could not login because i do not have a keyboard....
I have to plug the atv out and try again. any idea how to prevent this?

This was already answered earlier in this thread. You need to edit /etc/gdm/gdm.conf file and enable timed login in it.
find
Philmatic Offline
Fan
Posts: 449
Joined: Nov 2009
Reputation: 0
Location: Santa Barbara, CA
Post: #217
pin87a Wrote:Sam offered to host it for everyone, but i haven't had a chance to upload yet. Will upload tonight.

Check your pm
find
odinb Offline
Member
Posts: 95
Joined: May 2008
Reputation: 0
Location: Frisco, TX
Post: #218
brock_gonad Wrote:If I understand, next step is to edit com.apple.boot.plist so it boots from hard drive instead of USB. I can't find this file. Do we have to create it from scratch and drop it onto the hard drive ourselves? Where?

It is located here: /media/Recovery/com.apple.boot.plist

brock_gonad Wrote:Does anyone have a good tutorial to widen out the partitioning on the 40GB once you have copied the Linux image directly over (thus making the hard drive look like a 4GB)?

Available earlier in this thread in post 137: http://forum.xbmc.org/showpost.php?p=548...tcount=137
find
JDizzy Offline
Fan
Posts: 376
Joined: Apr 2009
Reputation: 1
Location: Californication
Post: #219
Re-did my image and reinstalled on USB flash.

For some reason, first time I installed image, there were basic visualizations when playing music, now none??!
Does anyone know what files are needed to get ProjectM working, where to download them, and also where to put the files within XBMC.
Thanks!

**EDIT**
After reading around, I think it is broke until after the merge and all....
(This post was last modified: 2010-06-08 08:11 by JDizzy.)
find
brock_gonad Offline
Donor
Posts: 67
Joined: Apr 2010
Reputation: 0
Location: Vancouver, BC
Post: #220
odinb Wrote:It is located here: /media/Recovery/com.apple.boot.plist

Thanks odinb. I'm now able to find the file and open it, but when I use this command;
Code:
sudo nano com.apple.Boot.plist
I'm able to make the changes with the editor, but not save them. It tells me the file system is read only.

I also tried mounting /dev/sda1 to a temp folder and editing the file directly on the hard drive, but got the same results.

odinb Wrote:Available earlier in this thread in post 137: http://forum.xbmc.org/showpost.php?p=548...tcount=137

I saw your post, but I think I need a bit more detail. I tried to follow along and I do know lmgtfy, but I'm not having luck with this. Gparted won't run from Telnet (cannot open display). And I'm not clear what "Fix" command you refer to in parted.

Thanks for the help.
find
Sam.Nazarko Offline
Posting Freak
Posts: 851
Joined: Dec 2009
Reputation: 15
Location: London
Post: #221
So unmount it:

sudo umount /dev/sdb1
fsck.hfsplus /dev/sdb1
mkdir tmpmnt
sudo mount -t hfsplus -o /dev/sdb1 /home/xbmc/tmpmnt
sudo nano tmpmnt/com.apple.boot.plist
sudo umount /dev/sdb1
rm -rf tmpmnt

Then reboot to remount it at /media/Recovery. Generally running fsck.hfsplus fixes read-only FS issues
find
defiler Offline
Senior Member
Posts: 198
Joined: Jun 2010
Reputation: 0
Post: #222
Mojonba Wrote:is the spdif audio output device the iec958? does it need a restart after the device change? thanks for the build.


1) Yep.
2) Nope.

I switched it over, started a movie, and got DTS goodness immediately. There are no sounds in the menus, so it's not immediately apparent that the change was successful.
find
ekb20b Offline
Junior Member
Posts: 13
Joined: Jun 2010
Reputation: 0
Post: #223
Ok i know this is my first post but i'm all out of ideas! I've Just read forum post after forum post trying to fix it myself, but i'm lost.
i created a USB with Sam's img and then booted the ATV with the USB in it and everything was great. Loved how everything was snappy and so much quicker then ATvos.

So After reading i felt i had enough info to go ahead and transfer the Img from the USB to the internal HD. I followed Davilla guild from the ATVbootloader site and backed up the internal to another USB stick. Everything went great with the back up, no probelms.

Went ahead and Logged in via Telnet and copied USB image over to internal hard drive via this;

Code:
sudo dd if=/dev/sdb of=/dev/sda bs=4096

everything went well. I checked the img on the USB and it matched the img on the internal drive.

went ahead a booted the ATV without any USB. Wouldn't boot to xbmc since it was looking for /dev/sdb2. i knew i had to change com.apple.boot.plist to /dev/sda2 from /dev/sdb2. heres my question; how do i change that file? i tried booting the ATV with a bootloader USB (so i can telnet) and can't seem to find a command that will let me get to the file and use nano to edit it. can anyone point me in the right direction!? i'm new to linux and just read 4 hours worth of how-to's but everything reads like a foreign language. Did i do something wrong? Should i have edit the file before hand? Sorry for such a long post and a newbish question.
(This post was last modified: 2010-06-08 14:57 by ekb20b.)
find
pin87a Offline
Senior Member
Posts: 179
Joined: Mar 2004
Reputation: 5
Post: #224
ekb20b Wrote:heres my question; how do i change that file? i tried booting the ATV with a bootloader USB (so i can telnet) and can't seem to find a command that will let me get to the file and use nano to edit it. can anyone point me in the right direction!? i'm new to linux and just read 4 hours worth of how-to's but everything reads like a foreign language. Did i do something wrong? Should i have edit the file before hand? Sorry for such a long post and a newbish question.

create mount point, fsck and mount partition:
fsck.hfsplus /dev/sda2
mkdir tmp
mount /dev/sda2 tmp

Edit file:
vi tmp/com.apple.Boot.plist
(press i to enter insert mode in vi, make change, press escape, then type :wq to save the file)
find
pin87a Offline
Senior Member
Posts: 179
Joined: Mar 2004
Reputation: 5
Post: #225
Sam has nicely offered to host a minimal xbmcbuntu image for the ATV that I put together. It's very similar to Sam's except that it's based on a minimal install (no ubuntu desktop) and it uses the xbmc-live package to handle the xbmc autostart stuff (it also restarts xbmc automatically if it crashes).

It still requires a 4GB (or larger) usb drive (i did undersize the image a bit so it should fit on all 4GB drives). Tried to build a 2GB image but it was a bit too tight (1GB ubuntu install + 512 swap + atv-bootloader files doesn't leave much room for movie images, fanart, etc...). I don't own a 3GB usb drive so 4GB it is!

Install instructions are the same as in the first post (big thanks to Sam for documenting everything).

Version 3 uploaded -
Changes:
Installed Ubuntu's network-manager package to finally fix the DCHP problems.


Version 2 uploaded -
Changes:
Released dhcp leases / cleared resolv.conf. Should fix dhcp issues after restoring image.
Fixed shutdown/restart from within xbmc (was just restarting xbmc)
Shrunk image a bit more to try to improve compatibility with all 4GB drives


Details:
Code:
atv-usbboot-xbmcbuntu-crystalhd-hdmi-28256-R3.rar md5: fcea0329c75c68ec806ff2fe39c76000
Apple TV - Bootable Ubuntu 8.0.4 installation with XBMC / Crystal HD

Packages Installed:
Minimal Ubuntu 8.0.4
atvclient (http://wiki.github.com/Evinyatar/atvclient/)
crystalhd 1.0.3 (http://code.google.com/p/crystalhd-for-osx/)
alsa 1.0.19 (needed for hdmi audio)
Nvidia Driver - 100.14.19 (only driver that allows hdmi audio to work properly)
XBMC svn r28256
xbmc-live (used to auto-launch xbmc, auto adjust volume levels, etc..)
powersaved (auto-throttle cpu to minimize heat)
custom mach_kernel (2.6.24-28-generic) for atv-bootloader (allows atv-bootloader to load ubuntu directly)

Requires 4GB (or larger) usb drive. Image is slightly undersized so it should fit on all 4GB drives.

Usage: Write image to usb drive:
Linux / OSX:
sudo dd if=atv-usbboot-xbmcbuntu-crystalhd-hdmi-28256.img of=yourdevice bs=4096
Windows:
Use Usb Image Tool: http://www.alexpage.de/download/usbit/usbit.zip

SSH access: username: xbmc pass:xbmc
Notes:
HDMI audio will not work if the ATV is started up with the hdmi source disconnected (tv/receiver switched to a different source).
Crystal HD Driver / XBMC Support for Crystal HD are still under development. For the current status of the project: http://forum.xbmc.org/showthread.php?tid=69384

This drive image was created with information from the following pages:
http://wiki.xbmc.org/index.php?title=HOW-TO_install_a_Miminal_Ubuntu_and_XBMC_with_sound_over_HDMI_on_the_AppleTV
http://wiki.xbmc.org/?title=XBMCbuntu
http://forum.xbmc.org/forumdisplay.php?fid=56
http://code.google.com/p/atv-bootloader/

Big thanks to Davilla, TeamXBMC and everyone involved in making the Apple TV far more useful. http://xbmc.org/contribute/donate/

Download: (big thanks for all of the mirrors)
Code:
http://quickupload.net/eqjrcnh1gfwm/atv-usbboot-xbmcbuntu-crystalhd-hdmi-28256-R3-quickupload.net.rar.html

http://www.surfanddestroy.org/resources/atv-usbboot-xbmcbuntu-crystalhd-hdmi-28256-R3.rar

http://meaninglesswebsite.com/atv-usbboot-xbmcbuntu-crystalhd-hdmi-28256-R3.rar

http://stmlabs.com/resources/atv-usbboot-xbmcbuntu-crystalhd-hdmi-28256-R3.rar

http://crystalhd.sartori.at/crystalbuntu/atv-usbboot-xbmcbuntu-crystalhd-hdmi-28256-R3.rar
(This post was last modified: 2010-06-12 16:59 by pin87a.)
find
Thread Closed