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)



- davilla - 2010-06-10

newsilentsilver Wrote:No, videos have sound. System sound's like "bursting bubbles" don't play.



I think that it's terrible to use an external access point and not an internal wifi card, which work's without problems under normal atv.

" System sound's like "bursting bubbles" don't play" if you are running passthough, GUI sounds are disabled.

google search "appletv linux wifi" this problem as been solved before. My AppleTV are hardwired and run CrystalHD cards so I don't follow this issue.


- Angrenost - 2010-06-10

SMB seems to be unstable here.
I use a Time Capsule formatted HFS+ mounted using SMB procol.At the beginning is working fine but randomly i have "could not connect to network server" error!
No way to connect,i have to reboot my Time Capsule to let it work again.
In System Info->network link:connected and ip if correct.
Unable to understand why this Linux and my Time Capsule are fighting Sad
Tried also to follow many tutorials in this post and Googling around to enable AFP,wich could solve all my problems,but it's not working at the moment Sad
This img is a very nice step ahead but if the network is unstable is unusable.
Is it just me or other Mac users in the same trouble?
Can provide more info if needed.


- scorneil - 2010-06-10

lalaw Wrote:Just wondering, for any one considering yet another minimal image of crystalubuntu, would they be willing to through this step in the build process:
http://forum.xbmc.org/showpost.php?p=548939&postcount=68. It is a modification to ATVclient to allow for full Harmony support on the ATV.

even if it doesn't make it in (which would be nice) it's easy to do yourself, and it's a one time thing.

but while we're making requests, why not also add:
- git
- nfs-common (I can't remember if it's in Sam's image or if I installed it myself)
- afp support


- da-bitsch - 2010-06-10

lalaw Wrote:Here's how one could achieve dual boot: http://wiki.github.com/Evinyatar/atvclient/appletvlinux-bootmenu

Has anyone successfully used this method Smile? - and do you have to copy the linux image to the HDD or will the guide posted do everything?

(sorry for the noob question)


- kcarney - 2010-06-10

da-bitsch Wrote:Has anyone successfully used this method Smile? - and do you have to copy the linux image to the HDD or will the guide posted do everything?

(sorry for the noob question)

That link contains some outdated information, but there has been success in achieving its purpose. Of course it requires a lot of tweaking and does not apply to Sam.Nazarko's image


- Sam.Nazarko - 2010-06-10

newsilentsilver Wrote:No, videos have sound. System sound's like "bursting bubbles" don't play.

sorry I said it poorly. I meant xbmc sounds don't play, but videos do. Sorry if you thought I was saying that sound from vids doesn't play. The sound thing is a bug - probably fixed in 10.05.


- newsilentsilver - 2010-06-10

Sam.Nazarko Wrote:sorry I said it poorly. I meant xbmc sounds don't play, but videos do. Sorry if you thought I was saying that sound from vids doesn't play. The sound thing is a bug - probably fixed in 10.05.

Ah - ok. Thank you for this info. Nod

davilla Wrote:google search "appletv linux wifi" this problem as been solved before. My AppleTV are hardwired and run CrystalHD cards so I don't follow this issue.

I found something here:

http://code.google.com/p/atv-bootloader/wiki/InstallWireless

Under the minimal version it worked up to "unzip -d R140746 R140746.EXE". Your image I must test the next days.


- frumpy_uk - 2010-06-10

legato23 Wrote:Booted the ATV this morning with my new 4GB SanDisk Cruzer Micro and the Pin87a's R3 image.
Excellent work! Even the network (static DHCP) is up and running.
Now I'm trying to connect to my windows server share (in a workgroup, not domain) with videos, but it won't connect. I need to enter username/password, but after filling in the credentials and trying to browse on SMB:// an error occurs.
I remember that in previous XBMC versions a default username and password could be entered somewhere in the settings, but I cannot find this anymore.
Anyone here who got succesfully connected with a windows share?

All working for me now. I'm mounting my share under the Home directory at boot so that I can browse to the share in certain xbmc dialogs (e.g. location of skin backgrounds) which don't allow browsing of samba shares in the usual manner (e.g adding sources for Movies).

So how exactly are you going about connecting to your shares? Or to put it another way, are you able to add your share as a source in e.g. Videos/Movies/Music etc?


Works a charm :) - vebud - 2010-06-10

Hi,

First post here. Just to say thanks to Sam, Scott and pin87a for their hard work.

I used pin87a's atv image and had my ATV up and running immediately. Just needed to set the sound to use 2.1 as that matches my speaker setup.

Well done to all involved.

Thx

Ver


- pin87a - 2010-06-10

newsilentsilver Wrote:Ah - ok. Thank you for this info. Nod



I found something here:

http://code.google.com/p/atv-bootloader/wiki/InstallWireless

Under the minimal version it worked up to "unzip -d R140746 R140746.EXE". Your image I must test the next days.

Probably just need to install unzip?
sudo apt-get install unzip


Mount PATA - frumpy_uk - 2010-06-10

curious about how people are installing the image on the hard disk?

I mean when the aTV is booted into the minimal image on a USB stick, the internal PATA isn't mounted.

So how are you mounting it?


- brock_gonad - 2010-06-11

frumpy_uk Wrote:curious about how people are installing the image on the hard disk?

I mean when the aTV is booted into the minimal image on a USB stick, the internal PATA isn't mounted.

So how are you mounting it?

You don't have to mount the internal HD to copy the image over. I used this command sucessfully;

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

Then you have to edit com.apple.Boot.plist which tells it to boot off of the hard drive on the next boot. This is on /dev/sda2.

Make a temp directory to mount it to;
mkdir tmpmnt

Make the partition read/write;
fsck.hfsplus /dev/sda2

Mount it;
sudo mount /dev/sda2 tmpmnt

Edit the file;
sudo nano tmpmnt/com.apple.Boot.plist

Change the /dev/sdb3 to /dev/sda3 towards the end of the file, close and save it.

Reboot (remove USB key). Should boot from HD.


- xeonicxpression - 2010-06-11

can someone post a tutorial on how to enable component? I tried editing xorg.conf but afterwords I just go starting-x starting-x starting-x starting-x starting-x. I tried following this http://code.google.com/p/atv-bootloader/wiki/atvdisplay . I just can't seem to get it to work.


Component Output - defiler - 2010-06-11

For component video output, you need to edit your xorg.conf:
Code:
sudo nano /etc/X11/xorg.conf
You only need to change the "Screen" section - leave the rest in place. My Screen section (using Pin87a's minimal install) looks like this:
Code:
Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    Option         "UseDisplayDevice" "TV"
    Option         "TVOutFormat" "COMPONENT"
    Option         "TVStandard" "HD720p"
    Option         "TVOverScan" "0.80
    DefaultDepth    24
    Option         "NoLogo" "True"
    SubSection     "Display"
        Modes      "1920x1080" "1280x720" "1024x768" "720x480" "800x600" "640x480"
        Depth       24
    EndSubSection
EndSection

To my knowledge you just need to change the TVStandard option to the correct HDTV mode that your screen can handle. After that it just works. Go into the system settings in XBMC and change your audion output to the optical one.


- frumpy_uk - 2010-06-11

brock_gonad Wrote:You don't have to mount the internal HD to copy the image over. I used this command sucessfully;

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

Then you have to edit com.apple.Boot.plist which tells it to boot off of the hard drive on the next boot. This is on /dev/sda2.

Make a temp directory to mount it to;
mkdir tmpmnt

Make the partition read/write;
fsck.hfsplus /dev/sda2

Mount it;
sudo mount /dev/sda2 tmpmnt

Edit the file;
sudo nano tmpmnt/com.apple.Boot.plist

Change the /dev/sdb3 to /dev/sda3 towards the end of the file, close and save it.

Reboot (remove USB key). Should boot from HD.

Ah, OK - thanks. So I assume this process wipes sda2? And magically adds sda3?

Issue I have is that several months ago I prepared my hard drive for installing linux on the hard coexisting with aTV OS (per the instructions here : http://code.google.com/p/atv-bootloader/wiki/AlternatePartitioning2).

Ideally I would like to retain such a setup - aTV OS lives in sda1-4 (I think) and Linux lives in sda 5-6.

Can anyone confirm that I would therefore need to
Code:
sudo dd if=/dev/sdb of=/dev/sda[b]5[/b] bs=4096
, then work out how to set it up so that with a usb stick inserted it points to sda5 for boot, otherwise without usb stick it points to sda1 for boot?