[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
Sam.Nazarko Offline
Posting Freak
Posts: 835
Joined: Dec 2009
Reputation: 12
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
ekb20b Offline
Junior Member
Posts: 13
Joined: Jun 2010
Reputation: 0
Post: #226
pin87a Wrote: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)

thanks for the help. got the first part to work but i can't get pass
vi tmp/com.apple.boot.plist
typed "i" but got a screen that didn't show much didn't know where to start. is there anything like nano or pico that i can use to edit the file?
i'm using a windows machine and telnetting with CMD.
thanks for the help though
find
ekb20b Offline
Junior Member
Posts: 13
Joined: Jun 2010
Reputation: 0
Post: #227
i have megaupload rapishare and hotfiles if you need me to upload the IMG. As a thank you to XBMC community!. Let me know if your ok with that first, i don't wanna step on anybodies toes.
find
Angrenost Offline
Member
Posts: 55
Joined: Jan 2010
Reputation: 0
Post: #228
pin87a Wrote: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).[/code]

Thanks,it will be great!
A noob's question is there a remote possibility to implement AFP (apple filing protocol) to mount a share in a linux img?
In the ordinary patchstick AFP is available using NitoTV and the share is visible in the volumes dir.
In this linux img the share point is still visible in "volumes" but doesn't work.
AFP would be the cherry on top for all mac users Nod
find
frumpy_uk Offline
Senior Member
Posts: 280
Joined: Jun 2006
Reputation: 0
Post: #229
Angrenost Wrote:Thanks,it will be great!
A noob's question is there a remote possibility to implement AFP (apple filing protocol) to mount a share in a linux img?
In the ordinary patchstick AFP is available using NitoTV and the share is visible in the volumes dir.
In this linux img the share point is still visible in "volumes" but doesn't work.
AFP would be the cherry on top for all mac users Nod

+1

thanks
Paul

aTV 2

iPad 2

[Image: watched-fanart.jpg]
find
dafranca Offline
Member
Posts: 73
Joined: Sep 2008
Reputation: 0
Post: #230
Angrenost Wrote:Thanks,it will be great!
A noob's question is there a remote possibility to implement AFP (apple filing protocol) to mount a share in a linux img?
In the ordinary patchstick AFP is available using NitoTV and the share is visible in the volumes dir.
In this linux img the share point is still visible in "volumes" but doesn't work.
AFP would be the cherry on top for all mac users Nod

just need to add this line to
- /etc/rc.local:
Code:
mount_afp afp://user:pass@theserver/ /mnt/shareddisk
or
- /etc/fstab:
Code:
afpfs#afp://username:password@host/timecapsule volume /mountpoint fuse user=adrick,group=fuse 0 0

If you want to do the other way around(serve AFP from ubuntu with bonjour):
http://www.kremalicious.com/2008/06/ubun...ne-volume/
(This post was last modified: 2010-06-08 16:18 by dafranca.)
find
Thread Closed