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)



- thnmnt - 2010-09-27

thanks for that! that was the proverbial needle in the haystack. this thread is getting a bit ungainly! hopefully the mods will create some new stickies once the new release is out.


- unmesh - 2010-09-28

Here's a question that I have not seen answered.

What are people doing to the system when they're not actively using it? Leaving it running XBMC?

Thanks.


- resai - 2010-09-28

Hi jdizzy , thanks for your help , now I can use my external hdd , here what I did , first connect non-powered usb hub to apple tv and usb stick to the hub , start apple tv , somehow it starts with its own os , then I reboot it from nitotv , and this time it starts from usb stick , after launching xbmc I connect my 3.5" self powered usb hdd (ntfs) to usb hub , it mounts in about 5 seconds , and voila.. no problem encountered till now.. crystalhd and dts sounds work.. thanks again..


- jelleeelco - 2010-09-28

Hi, I hope someone can help me...

I try to increase the usb stick from 4gb to 8gb. I followed the instructions as per the guide earlier, but something doesn't quite add up. I run Linux from a CD, I open a terminal, I know (via gparted) that my usb stick is sdb. Then I disable the swap file so I can remove it....first question: how does linux know what swap file to switch off? I want to switch off the one on the usb I guess?

Second question: when I enter the command 'sudo parted /dev/sbd' it gives me the error that /dev/sbd is not a directory...

Is there a command I need to enter before?

Thanks so much in advance,
Jelle


- Jimmer - 2010-09-28

Stupid question, I know, but if you're running Linux from a CD, are you using the un-patched parted that came with that CD? I'm not sure, but I think you'll end up with a gpt partition that the ATV can't boot from.... unless you have a patched live CD?

...also there is no guarantee that the USB drive will be /dev/sdb, this depends upon what drives are currently in your system... you should definitely NOT just copy any commands from any of these threads without first verifying the assignment of disks in your system... tools like parted and dd can really mess up your system if used indiscriminately... Eek

Jim


- compcentral - 2010-09-30

Ok... I've searched and searched and have not found a solution to this... although i did find a few others in the same boat as me.

I downloaded the minimal image and used the USB Image Tool for Windwos to restore that image to my 4GB PNY Atache USB drive but when i boot it hangs for awile at "Begin: Waiting for root file system... ..." then i get the following error.

Check root = bootarg cat /proc/cmdline or missing modules, devices: cat /proc/modules ls /dev
Alert! /dev/sdb3 does not exist. Dropping to Shell

I see alot of people suggesting to edit a plist file using dd.... but how can that be accomplished in Windows? Or is there something else I need to do to get this working?

PLEASE HELP!!


- xeonicxpression - 2010-09-30

compcentral Wrote:Ok... I've searched and searched and have not found a solution to this... although i did find a few others in the same boat as me.

I downloaded the minimal image and used the USB Image Tool for Windwos to restore that image to my 4GB PNY Atache USB drive but when i boot it hangs for awile at "Begin: Waiting for root file system... ..." then i get the following error.

Check root = bootarg cat /proc/cmdline or missing modules, devices: cat /proc/modules ls /dev
Alert! /dev/sdb3 does not exist. Dropping to Shell

I see alot of people suggesting to edit a plist file using dd.... but how can that be accomplished in Windows? Or is there something else I need to do to get this working?

PLEASE HELP!!

You need to get an 8GB stick. Problems will be solved. I know 4GB should work but I had 3 different kinds and none worked. Bought an 8GB stick and it fired right up.


- tuckbodi - 2010-09-30

Sam.Nazarko Wrote:Already got a script in mind to run off of atv-bootloader which wgets the image and dds it to the internal disk and stretches the Media partition. That way the user can either restore the Linux image to a USB or the partioning image and it will either run off USB or install it onto the drive for them. I'm planning for this to be configurable through an application.

Since requests are being made, can you keep us Mac users in mind as well?
- activate USB for HFS+ drives
- AFP networking (although SMB is fine, I've just heard AFP can be faster (have friends who would use this)

Thx! Looking forward to this so my friends don't have to keep coming to me toget updated! Smile


- compcentral - 2010-09-30

xeonicxpression Wrote:You need to get an 8GB stick. Problems will be solved. I know 4GB should work but I had 3 different kinds and none worked. Bought an 8GB stick and it fired right up.

That was indeed the problem... I didn't have an 8, but I tried a 32 GB and it worked fine that time.


too many pages to read - gsi095 - 2010-10-01

Hi,

I followed the instructions and install Sam's image to an 8GB USB drive using my Mac.

I am really impressed by this as I wanted to set my Apple TV to be a dedicated XBMC box.

There are so many pages in this thread so I wanted to ask a few questions:

- can I upgrade to Dharma Beta 2 and how do I do this?
- I had to reboot the AppleTV and XBMC didn't remember my settings, is there something I need to do to make it persistant?

Thanks
Dave


- tuckbodi - 2010-10-01

gsi095 Wrote:- can I upgrade to Dharma Beta 2 and how do I do this?
How 'bout looking the page before? Oo


- tuckbodi - 2010-10-01

m_lopez_h Wrote:2. Download Ubuntu (http://www.ubuntu.com/desktop/get-ubuntu/download) and create an Ubuntu Live CD. Boot off the Ubuntu CD but don't install it to your HD. This will allow you to get Linux running on your PC.

3. Plug in your USB stick into the PC. Determine which drive it is (/dev/sda, /dev/sdb, etc). You can check the drive by either running gparted (system >> administration >> gparted) and clicking through the drives to see how the drive letters are assigned or open up a shell and use the “mount” command to get a readout of mounted drives.

Sorry if this is an obvious answer but why wouldn't I just continue to use the GUI GParted tool from the LiveCD to do all my resizing and moving instead of the plethora of commands? I tried it, it seemed to work, and my ATV booted up fine.

From parted - LiveCD (looking at my 6gb drive):
Code:
Model: WDC WD60 WP-32LPV0 (scsi)
Disk /dev/sdc: 12000556s
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start      End        Size       File system     Name                  Flags
1      40s        409639s    409600s    fat32           EFI System Partition  boot
2      409640s    460639s    51000s     hfs+            Recovery              atvrecv
3      460640s    11004524s  10543885s  ext3            primary
4      11004525s  12000522s  995998s    linux-swap(v1)

From parted - ATV(linux):
Code:
Disk /dev/sdb: 12000555s
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start      End        Size       File system  Name                  Flags
1      40s        409639s    409600s    fat32        EFI System Partition  boot
2      409640s    460639s    51000s     hfs+         Recovery                  
3      460640s    11004524s  10543885s  ext3         primary                    
4      11004525s  12000522s  995998s    linux-swap

From mount - ATV(linux):
Code:
/dev/sdb3 on / type ext3 (rw,relatime,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
securityfs on /sys/kernel/security type securityfs (rw)

Does this look right?


Bcm970015 - bunglebb - 2010-10-01

Sam.Nazarko Wrote:Update the driver. The BCM70015 was not in G/A stage when the images were constructed

Please forgive my ignorance, but how do I update the drivers? do I download the Linux drivers from here: http://www.broadcom.com/support/crystal_hd/

Then what would I do next? If this has been answered somewhere else, I apologize, I have been searching for a few hours now


- davilla - 2010-10-01

bunglebb Wrote:Please forgive my ignorance, but how do I update the drivers? do I download the Linux drivers from here: http://www.broadcom.com/support/crystal_hd/

Then what would I do next? If this has been answered somewhere else, I apologize, I have been searching for a few hours now

No, use http://code.google.com/p/crystalhd-for-osx/source/browse/#svn/tags/crystalhd-for-osx-3.6.0

or http://git.wilsonet.com/crystalhd.git/ which is considered "upstream".


- bunglebb - 2010-10-01

davilla Wrote:No, use http://code.google.com/p/crystalhd-for-osx/source/browse/#svn/tags/crystalhd-for-osx-3.6.0

or http://git.wilsonet.com/crystalhd.git/ which is considered "upstream".

Ok, I downloaded crystalhd-for-osx-3.6.0.zip from the first link. How can I update the drivers on the USB drive I'm booting from?

I'm still trying to sort out how to install to the AppleTV itself..