Kodi Community Forum
[LINUX] Apple TV Crystalbuntu (Ubuntu Linux and Crystal HD) Disk Image for Apple TV - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: [LINUX] Apple TV Crystalbuntu (Ubuntu Linux and Crystal HD) Disk Image for Apple TV (/showthread.php?tid=74992)



- Sam.Nazarko - 2010-06-09

Ahh catch 22 lol

could edit thru telnetd in atv bootloader, modifying network conf file


- da-bitsch - 2010-06-09

I just stumbled upon this link http://wiki.github.com/Evinyatar/atvclient/appletvlinux-bootmenu

Does anybody knows if this will work with either of the two crystal-ubuntu links? and does this mean that i just have to plug in the usb while following the instructions and after that i can boot everthing from the internal hdd? - Hopefully somebody knows this scripts - it looks handy, but i don't want to break anything Tongue


- JDizzy - 2010-06-09

Is everyone having to rescan their media back into XBMC each time they install a new image? And also having to reconfigure the skins, etc.... I guess there is now way to just 'update' the needed files, at least not at this point, eh?
Or, are you moving the database files, reinstalling, then moving them back again? What about all the fanart and thumbs?


- Philmatic - 2010-06-09

JDizzy Wrote:Is everyone having to rescan their media back into XBMC each time they install a new image? And also having to reconfigure the skins, etc.... I guess there is now way to just 'update' the needed files, at least not at this point, eh?
Or, are you moving the database files, reinstalling, then moving them back again? What about all the fanart and thumbs?

If by "installing an new image" you mean extracting the img file to the thumbdrive and running that, then no... there will never be a way to maintain all your existing library settings and data, as that would defeat the purpose. The thumbdrive contains a completely standalone and fully integrated Linux operating system, XBMC and all the nessecary files needed to run a complete system. Allowing you to keep your existing data would defeat the entire purpose.


Minimal Image - Update - pin87a - 2010-06-09

Updated version of the Minimal Image posted.

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

See original post for info:
http://forum.xbmc.org/showpost.php?p=550130&postcount=222

Mirrors appreciated. Server it is on is kinda slow and quickupload died.


- candre23 - 2010-06-09

Much thanks to Sam for the original version and Pin for the minimal image.

Currently posting the minimal R2 build to alt.binaries.linux - should be done in about an hour.


- bolle - 2010-06-09

Thanks for all the efforts!
Going to try the minimal image tonight.


- legato23 - 2010-06-09

candre23 Wrote:Much thanks to Sam for the original version and Pin for the minimal image.

Currently posting the minimal R2 build to alt.binaries.linux - should be done in about an hour.

candre23, shouldn't it be better to use filedownload links, to prevent old versions floating around, as Sam.Nazarko said before?

Zeppo Wrote:Nazarko, is it being posted to Usenet? If you want to, i can get it up there.

Sam.Nazarko Wrote:No it's not. I'd prefer if you didn't. The reason for this is that I am likely to update this in the future (I will probably build a very core version in a few months). I don't want different versions floating around on UseNet with old CrystalHD drivers. It will be a source of endless questions and problems.



- candre23 - 2010-06-09

It is highly unlikely that someone would just stumble across the image on usenet months from now and install it without coming here first. Usenet is the fastest and most effecient means for distributing large files.


- legato23 - 2010-06-09

candre23 Wrote:It is highly unlikely that someone would just stumble across the image on usenet months from now and install it without coming here first. Usenet is the fastest and most effecient means for distributing large files.

You're probably right... and I must admit.. I'm currently downloading Pin87a's R2 minimal image.. and usenet would be a lot faster.. Big Grin
Anyhow.. I just tried to show some respect to Sam en Pin87a for all the effort.


The internet is rubbish - defiler - 2010-06-09

You see, this is why the internet is rubbish these days. Used to be the case that once the USA went to bed the whole lot got fast, and Europe could get a whole day's downloading without any lag. Now we end up with South Korea, Russia and the Middle East eating out interwebs...

That said, in the "good old days" I'd be doing this on dial-up, so maybe it's not so rubbish after all Smile

Edit: got it downloaded, but it's still not appearing on the network. Shame Sad
I'll go back to Sam's one and see what I can strip out of the startup instead. I'm using a 16GB flash drive, and it's going to go on the hard disc, so I don't really care about the size Smile


- legato23 - 2010-06-09

Yes! The new atv-usbboot-xbmcbuntu-crystalhd-hdmi-28256-R2 image fits on my 4GB Imation Nano Pro usb stick! Nod
Thanks Pin87a for undersizing the image a little bit more!

After writing the image to the stick with the USB Imaging Tool and plugging it into my ATV, it starts booting. While displaying 'waiting for root file system' for a few minutes an error about /dev/sdb3 does not exist occurs and then it drops to the shell. So I unplugged the stick and wrote the image again, but still the error /dev/sdb3 occurs.

Any ideas? Am I doing something wrong here?


- pkolkkal - 2010-06-09

legato23 Wrote:After writing the image to the stick with the USB Imaging Tool and plugging it into my ATV, while booting, it drops to the shell after a few minutes with an error about /dev/sdb3 does not exist. So I unplugged the stick and wrote the image again, but still the error /dev/sdb3 occurs.

Some USB sticks just aren't the same as others. I have one older Kingston 2GB stick which I tried to format as a bootloader using atv-usb-creator. Everything seemed to complete successfully, but the stick didn't boot ATV anyway.


- legato23 - 2010-06-09

pkolkkal Wrote:Some USB sticks just aren't the same as others. I have one older Kingston 2GB stick which I tried to format as a bootloader using atv-usb-creator. Everything seemed to complete successfully, but the stick didn't boot ATV anyway.

In my case the ATV starts booting from the stick, but it doesn't continue because something cannot be found.


- ekb20b - 2010-06-09

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).

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-R2.rar md5: 1bf0882086c11b4795da778eb3aae5ad
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:
Code:
Sam's Server: coming soon
Code:
Alternate:  http://meaninglesswebsite.com/atv-usbboot-xbmcbuntu-crystalhd-hdmi-28256-R2.rar

http://hotfile.com/dl/47263633/8e00492/atv-usbboot-xbmcbuntu-crystalhd-hdmi-28256-R2.rar.html

Here is a hotfile mirror. Hope this helps. Now can some one please help get my ATV to boot to the IMG from the internal drive!