XBMC Community Forum
[LINUX] Sam's beta image for Apple TV? - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/forumdisplay.php?fid=52)
+---- Thread: [LINUX] Sam's beta image for Apple TV? (/showthread.php?tid=88518)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29


- Sam.Nazarko - 2010-12-31 20:03

See what I've done (automated installer):

http://code.google.com/p/crystalhd-for-atv/source/browse/trunk/files-other/recovery/patchstick/patchstick-ubuntu.sh

You use the Root, Recovery and Swap images to add to each partition. It's basically how I build the USB images in a hypervisor. Obviously the images aren't available right now. I want to upload them in time with the Linux installer, so I'm waiting till I've done that.

Remember to gptsync after to fix the MBR and speed up boot. You'll need patched parted, gptsync and hfstools.


- pmcd - 2011-01-01 04:10

Sam.Nazarko Wrote:See what I've done (automated installer):

http://code.google.com/p/crystalhd-for-atv/source/browse/trunk/files-other/recovery/patchstick/patchstick-ubuntu.sh

You use the Root, Recovery and Swap images to add to each partition. It's basically how I build the USB images in a hypervisor. Obviously the images aren't available right now. I want to upload them in time with the Linux installer, so I'm waiting till I've done that.

Remember to gptsync after to fix the MBR and speed up boot. You'll need patched parted, gptsync and hfstools.

I'll have another go at it. You keep mentioning mbr. Isn't that a dos thing and not a guid thing? When I partition a disk I have a choice of using mbr ( dod and windows) or guid which allows me to boot a Mac or windows7 or Linux. I have always tried to avoid mbr. Guid allows me to resize things in a very simple way ( but not when there are ext2 partitions). I guess I am trying to use the same tools as I did with Darwin on a PC and that is what is failing.

Anyway, for guid disks the tool is gpt as far as I know.

Right now I have to deal with Ubuntu Live messing up my windows7 install, but perhaps that was a good thingSmile

Happy New Year to all...

Philip


- pmcd - 2011-01-01 04:16

Sam.Nazarko Wrote:See what I've done (automated installer):

http://code.google.com/p/crystalhd-for-atv/source/browse/trunk/files-other/recovery/patchstick/patchstick-ubuntu.sh

You use the Root, Recovery and Swap images to add to each partition. It's basically how I build the USB images in a hypervisor. Obviously the images aren't available right now. I want to upload them in time with the Linux installer, so I'm waiting till I've done that.

Remember to gptsync after to fix the MBR and speed up boot. You'll need patched parted, gptsync and hfstools.

I see. Would it be a lot of work to have an install option for an external hard drive or an external flash of whatever size? That would be really neat for those of us who might want to still keep OSX on the ATV, for AirPlay for example.

Philip


- Sam.Nazarko - 2011-01-01 13:09

I'm doing that. But you'll have to wait for end of January after exams I have.

Yes, it uses GPT to boot, but MBR is kept for backward compatibility. If the MBR table is not right, boot time is delayed by up to 60 seconds.


- Metsadah - 2011-01-01 16:28

Hi, im a really new to all this. And I cant even figure out where to download your image, let alone installing it on my atv.

I really want to have xbmc on linux, since the normal version on os x is way too slow, but after 2 days of reading I still cant figure out a good place to start or a good guide to follow.


- jotate - 2011-01-01 16:38

Metsadah, Right now Sam is working on an updated install process for getting Linux installed on the ATV. You will have to wait until his is finished , or another solution. There are a few others guides out there, but they can be a bit complicated in my opinion.


- darkscout - 2011-01-01 19:21

Any way you could change the endPos to be automatic? I just upgraded to a 160GB HD.

I think that parted accepts % as a flag


sudo parted -s /dev/sda mkpart primary ext3 1118248s 100%


- Sam.Nazarko - 2011-01-01 22:42

100% --- too much. You need to leave 40s free. Really I'd rather just have my GUI dynamically adjust the quota. User enters HDD size in gigabytes, /not gibi/, and the calculation is performed to sort out the ext3 partition.


- feikenberg - 2011-01-03 00:05

I've tested the image and I'm very happy with it. Now I would like to install it to the internal hard drive keeping the ATV OS. I would like to follow pin87a's instructions that I found here:

http://forum.xbmc.org/showpost.php?p=552288&postcount=359

Since i have a 160 GB unit, I would like to have a 10 GB Linux partition and keep the remaining capacity for my OS X media partition. Could somebody tell me how the 3 "parted -s /dev/sda mkpart" commands would look like?


- bass63 - 2011-01-03 16:08

After playing with the image for few days I have to say that it is worse than the old minimal image (Pin's one). I mean it is fast and snappy in GUI (thanks to DDS fanart) and has nice features like autoupdating, but the playback is choppy with 1080p files and even some 720p files (especially if they have a DTS track). My ATV is hooked up via optical passthrough to receiver and the same files are playing just fine with 25286 Dharma SVN and 0.26 CHD drivers.

Plus, enabling subtitles (at least in 24p mode) causes frame drops even on 720p content.

Don't get me wrong - i really appreciate all the hard work Sam is doing, if it wasn't for him - i would never get any HD playback out of my ATV, and i hope some day his new image will match performance of an old one, but right now it is just not as good ;(

Maybe the problem lies within Dharma 10 release, because when i manually updated old image to latest XBMC version and CHD drivers i got the same performance drop.