eSata AppleTV Mod

Random chit-chat and anything that doesn't belong elsewhere
dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: eSata AppleTV Mod

Post by dynaflash »

Hmm not sure tbh, the gpt drive formatting looks correct. I never tried it using iPartition though I do think that engadget had a tutorial up that used it.

What does gpt show disk give you?

For instance, I just did another 500 GB drive and this is what you should get from gpt and diskutil (assumes /dev/disk1)

Code: Select all

diskutil list
... gives this (again, its disk1)

Code: Select all

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *111.8 Gi   disk0
   1:                        EFI                         200.0 Mi   disk0s1
   2:                  Apple_HFS Macintosh HD            111.5 Gi   disk0s2
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *465.8 Gi   disk1
   1:                        EFI                         34.0 Mi    disk1s1
   2:             Apple_Recovery                         400.0 Mi   disk1s2
   3:                  Apple_HFS OSBoot                  900.0 Mi   disk1s3
   4:                  Apple_HFS Media                   464.3 Gi   disk1s4
Then ...

Code: Select all

diskutil unmountDisk /dev/disk1
sudo gpt show /dev/disk1
Should give you this:

Code: Select all

      start       size  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2         32         Pri GPT table
         34          6         
         40      69632      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
      69672     819200      2  GPT part - 5265636F-7665-11AA-AA11-00306543ECAC
     888872    1843200      3  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
    2732072  974041063      4  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
  976773135         32         Sec GPT table
  976773167          1         Sec GPT header
That bridge looks like it should work, though I know there are some that do not for whatever the reason even though the description is the same.
mmclary
Posts: 3
Joined: Mon Jul 13, 2009 12:10 pm

Re: eSata AppleTV Mod

Post by mmclary »

Thanks Dyna,

Did the other steps and everything on the imaging checks out. I reloaded the image and have the same problem so I will order the same card you used.

I mocked up the prefab enclosure case for the AppleTV box I mentioned in my prior message. Take a look and let me know what you think...it will take about two weeks to get them to create a sample so I want to make sure all the functionality is included.

Image

Key features:
1. Internal Holder for 3.5" Hard Drive with SATA to SATA connector
2. Internal Fan
3. Separate 100-240 power adapter with external power connect and on/off switch
4. Power connector socket to the AppleTV with separate on/off switch (so you can turn the drive on first and then the AppleTV
5. Front transfer light
mmclary
Posts: 3
Joined: Mon Jul 13, 2009 12:10 pm

Re: eSata AppleTV Mod

Post by mmclary »

I'm going to order another controller card.

Dyna - which card do you use now? The cheaper version from Caveman or the original one listed in your instructions?

Thanks in advance
dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: eSata AppleTV Mod

Post by dynaflash »

One of each (I have two of these setups) the first on is the one in the guide, the second is the syba cave man tried which I believe is the same as the original one I ordered, at least upon visual inspection. Both seem to work brilliantly.
dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: eSata AppleTV Mod

Post by dynaflash »

mmclary wrote:I mocked up the prefab enclosure case for the AppleTV box I mentioned in my prior message. Take a look and let me know what you think...it will take about two weeks to get them to create a sample so I want to make sure all the functionality is included.
Hmm, would look nice. Two thoughts though, one is how low the cost could be vs. an external triple interface drive (example a mybook usb,fw,eSata) including the drive. Though from a visual standpoint of course you're enclosure would be much nicer. Second would be heat, in other words given a fan, where would you have the venting for that enclosure you show ? The fan of course has to have an air intake as well as output. I know my wd external hd's give off a fair amount of heat during heavy use on the atv.

I guess a third consideration would be more than just the eSata interface, one inherent advantage to the external drive described above is simply the use of the usb or firewire interfaces for prepping the drive. Avoids the need for some kind extra usb interface card to hook up to your laptop or whatever. Very versatile.

Just food for thought. Would look nice though.
Cave Man
Posts: 7
Joined: Thu Dec 11, 2008 4:20 pm

Re: eSata AppleTV Mod

Post by Cave Man »

yoyo007 wrote:i also found this adapter it would just need a 44pin cable which would come with the apple tv and it may even be short enough to fit.
i just don't know anything about the online store.

http://www.cooldrives.com/2sahadrtoide.html
I've tried that bridge and it does not work.
mnkiboy
Posts: 5
Joined: Fri Jul 31, 2009 4:43 am

Re: eSata AppleTV Mod

Post by mnkiboy »

Okay.......
I have spent the last 48 hours doing the research on this project and executing it.
Here is what i have
http://www.cablesonline.net/44pinto40pin.html
http://www.cablesonline.net/644fetomaide.html
http://www.newegg.com/Product/Product.a ... _-22998001

I have an external eSATA drive with a 1 TB drive. (WD Caviar Green WD10EADS 1TB 32MB SATA 3.0Gb/s)

I have tried the DD and all variations of cloning the original disk. The original disk work fine. When i go to boot off the external esata drive, i get the "?" and the apple tv logo.

I have tried the Reset from the remote = no luck (While plugged into the eSATA Drive)
I have tried to use different IDE to SATA and SATA to IDE adapters.

Something tell me it must be a communication issue.
The system doesn't ever boot from the external eSATA drive.
HMMMMMMMMMMMM??????
I am pulling my hair out on this one. Very little sleep.
Any thoughts.

Oh yeah, i did the dd from the terminal.

Thanks,
mnkiboy. :)
dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: eSata AppleTV Mod

Post by dynaflash »

I wrote an app for properly formatting an atv drive called AtvCloner, you can get it here http://dynaflashtech.net/atvcloner/. That should rule out an issue with you're drive formatting.
mnkiboy
Posts: 5
Joined: Fri Jul 31, 2009 4:43 am

Re: eSata AppleTV Mod

Post by mnkiboy »

UPDATE!!!
I have got the Apple TV to Boot off the external Hard Drive.
BEWARE, there are two IDE to SATA adapters from cables unlimited. The correct one has a product code of FLT-7100.

Now i cannot get the apple TV to do the factory restore.
I have run the diagnostic and all systems are fine.
I can reboot from that menu as well.
It just won't preform the factory reset. It tells me to contact apple support or try again.

Any suggestions????

All works fine off the original 40gb HD.

I also updated the disk image to the latest software before I used Dynaflash's ATV Cloner (THANKS DYNA!!!!!!)

HMMMMMM????? :(
dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: eSata AppleTV Mod

Post by dynaflash »

As I said previously, there are a few wd drives which, for whatever the reason will not allow a factory restore. I do not know why. I have one which is the 750 GB Studio edition and no matter what I do it will not allow a factory restore.

My other three WD external drives work flawlessly. A 360GB a 500 GB and a 1 TB ( all home editions). There is a technote at WD concerning issues with the mac os and the Studio editions having some issue's where WD blames Apple of course ( I do not know if other wd drives have issues as well ). I might also note that the same 750GB drive that is wonky in the atv also has periodic issues when used a an external firewire drive on my mbp. It will intermittently freeze up. I cannot explain it and have found nothing definitive as to the cause.
dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: eSata AppleTV Mod

Post by dynaflash »

One other note. Whether using AtvCloner or the terminal app method, did you see this in the output window:

Code: Select all

newfs_hfs: /dev/rdisk2s4: partition size not a multiple of 4K.
Typically this is accompanied by this in the final readout which shows a failing to format the Media partition correctly:

Code: Select all

   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *698.6 Gi   disk2
   1:                        EFI                         34.0 Mi    disk2s1
   2:             Apple_Recovery                         400.0 Mi   disk2s2
   3:                  Apple_HFS OSBoot                  900.0 Mi   disk2s3
   4:                  Apple_HFS                         697.3 Gi   disk2s4
Note partition index 4 is not named "Media". However it is properly formatted as Apple_HFS . Research on the GPT utility shows that this is typically caused by wonky firmware for the drive.

The readouts above are from my 750 GB Studio Editions that will not perform a proper recovery in the atv. However note that it will boot and work just fine and also will update just fine. I have no idea how to work around this and only experience it on 1 of six test drives.
mnkiboy
Posts: 5
Joined: Fri Jul 31, 2009 4:43 am

Re: eSata AppleTV Mod

Post by mnkiboy »

Hey Dynaflash thanks for the info.

I had seen those command line errors when i did the DD in the terminal.

I will go out today and purchase a WD My book Home (eSATA) 1TB.

Just out of curriosity, what version software are you running.

I am currently running 2.4. With the original hard drive I can only restore back to 2.3.

I will update later today.
Thanks again.
:)
dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: eSata AppleTV Mod

Post by dynaflash »

Actually it should have been when you formatted the media partition with newfs_hfs.

I have a description of the issue here http://dynaflashtech.net/2009/08/18/atv ... -children/ though it has no existing workaround at this time.

I am running 2.4 as well, the atv will restore to whatever system was on the atv when you bought it afaik. My oldest one restores to 1.0.

I will keep looking into a way around the issue.
mnkiboy
Posts: 5
Joined: Fri Jul 31, 2009 4:43 am

Re: eSata AppleTV Mod

Post by mnkiboy »

UPDATE!!!!
After much frustration, Dynaflash and I have come up with a solution to my problem.

I purchased the WD My Book Home 1TB (w/ eSata).
I cloned my 40gb original HD with ATV Cloner 0.1.4a, a version that Dynaflash is working on for some problem HD's
I then put those DMG's onto the WD 1TB.
I tried to install the drive with the Apple TV. No luck.
Here is what would happen when it would not boot correctly.
  • *boot time to recovery menu was about 7-10 minutes
  • *Only three option from the recovery menu
  • Restart
  • Diagnostic
  • Factory Restore
Restart would eventually restart the machine, and Diagnostic would say all was working.
The Factory restore would get about half way through and crash/ stop. It would give the error message about contacting apple support, blah, blah, blah.

After trying to load the 2.3 DMG's and the 2.4 DMG's, we decided to load 2.4 and remove the ribbon cable.
SUCCESS!!!.
It appears the crossed over 44 pin cable was an issue for this drive.
It also appears that the new ATV Cloner helped in the way it spaced out the Media Partition.

SUMMARY-
I just cloned the drives with ATV Cloner and tried it without the ribbon cable.

Hmmmm?

Thanks to Dynaflash for all your help!

mnkiboy
dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: eSata AppleTV Mod

Post by dynaflash »

AtvCloner Version update to 0.1.4b

This version addresses the dreaded:

Code: Select all

newfs_hfs: /dev/rdisk2s4: partition size not a multiple of 4K
error accompanied by a failure to properly format the media partition. It uses a different formatting scheme which is an alternate to AtvCloner's normal formatting scheme. It has worked well with problem drives (typically > 500GB in testing).

You can read more about it here:

http://dynaflashtech.net/2009/08/21/atv ... 4b-update/

let me know if you have any issues.
dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: eSata AppleTV Mod

Post by dynaflash »

New AtvCloner release, compatible with Snow Leopard. http://dynaflashtech.net/atvcloner/
WooBah
Posts: 1
Joined: Sat Aug 22, 2009 1:22 am

Re: eSata AppleTV Mod

Post by WooBah »

mnkiboy wrote:UPDATE!!!!
After much frustration, Dynaflash and I have come up with a solution to my problem.

I purchased the WD My Book Home 1TB (w/ eSata).
I cloned my 40gb original HD with ATV Cloner 0.1.4a, a version that Dynaflash is working on for some problem HD's
I then put those DMG's onto the WD 1TB.
I tried to install the drive with the Apple TV. No luck.
Here is what would happen when it would not boot correctly.
  • *boot time to recovery menu was about 7-10 minutes
  • *Only three option from the recovery menu
  • Restart
  • Diagnostic
  • Factory Restore
Restart would eventually restart the machine, and Diagnostic would say all was working.
The Factory restore would get about half way through and crash/ stop. It would give the error message about contacting apple support, blah, blah, blah.

After trying to load the 2.3 DMG's and the 2.4 DMG's, we decided to load 2.4 and remove the ribbon cable.
SUCCESS!!!.

What ribbon cable? In the external wd drive or apple tv? Also for a patchstick hacked apple tv, do you lose boxee?
It appears the crossed over 44 pin cable was an issue for this drive.
It also appears that the new ATV Cloner helped in the way it spaced out the Media Partition.

SUMMARY-
I just cloned the drives with ATV Cloner and tried it without the ribbon cable.

Hmmmm?

Thanks to Dynaflash for all your help!

mnkiboy
mnkiboy
Posts: 5
Joined: Fri Jul 31, 2009 4:43 am

Re: eSata AppleTV Mod

Post by mnkiboy »

We removed the 44 pin crossed ribbon cable and plugged the adapter directly to the APTV mother board.
I ordered a straight male to female 44 pin cable and all worked fine.

mnkiboy :)
janmanzer411
Posts: 1
Joined: Mon Sep 07, 2009 11:37 am

Re: eSata AppleTV Mod

Post by janmanzer411 »

dynaflash wrote:As I said previously, there are a few wd drives which, for whatever the reason will not allow a factory restore. I do not know why. I have one which is the 750 GB Studio edition and no matter what I do it will not allow a factory restore.

My other three WD external drives work flawlessly. A 360GB a 500 GB and a 1 TB ( all home editions). There is a technote at WD concerning issues with the mac os and the Studio editions having some issue's where WD blames Apple of course ( I do not know if other wd drives have issues as well ). I might also note that the same 750GB drive that is wonky in the atv also has periodic issues when used a an external firewire drive on my mbp. It will intermittently freeze up. I cannot explain it and have found nothing definitive as to the cause.
Thanks for this info. I'm trying to fix the compatibility issue on mine.

Best Regards,
Jan Manzer
Jan Manzer
dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: eSata AppleTV Mod

Post by dynaflash »

if the issue is you're drive formatting AtvCloner should work around the drive formatting issues.
http://dynaflashtech.net/
Stork
Posts: 16
Joined: Thu May 07, 2009 1:39 am

Re: eSata AppleTV Mod

Post by Stork »

mmclary wrote:...On another note... Does anyone have an interest in the prefab enclosure?
I have an interest. Have you received any feedback? What is the status of the enclosure? TIA.
rcjordin
Posts: 2
Joined: Mon Nov 02, 2009 10:36 pm

Re: eSata AppleTV Mod

Post by rcjordin »

mnkiboy wrote:We removed the 44 pin crossed ribbon cable and plugged the adapter directly to the APTV mother board.
I ordered a straight male to female 44 pin cable and all worked fine.

mnkiboy :)
Where did you order the straight male to female 44 pin cable from?

Thanks!

Robert
Stork
Posts: 16
Joined: Thu May 07, 2009 1:39 am

Re: eSata AppleTV Mod

Post by Stork »

@Mmclary, what's the status on the prefab enclosure. I take it that no news since Nov 09 isn't good news.

I've received all the parts (from the first page tutorial) and I'd like to have a compatible ATV setup as I have with my Mini & NewTech V3 miniStack.

TIA.
Stork
Posts: 16
Joined: Thu May 07, 2009 1:39 am

?Best Hard Drive for eSata AppleTV Mod?

Post by Stork »

I now have an external case with an eSata interface as well as all the parts & pieces to perform this ATV mod. The Western Digitals Greens - WDxxEARS/EADS are good price for sizes. However, from dynaflash's last info on his external Western Digital Studio, 7200 rpm 3.5" drives give the best performance. So, I'm looking at the Western Digital 1TB (WD1001FALS) or the 1.5TB (WD15EVDS) drives at ~$100 and $120, respectively.

So, for those of you with experience with external eSata drives on your ATV, what's your recommendation? TIA.

[Moderator, let me know if I need to start a new threat for this inquiry.]
Stork
Posts: 16
Joined: Thu May 07, 2009 1:39 am

Re: eSata AppleTV Mod - Works w/o 44 Pin Cable

Post by Stork »

Dynaflash, I have the external drive working - it's fast with the WD 1TB 7200 RPM external drive. Unfortunately, I, too, couldn't get the configuration working with the 44 pin crossed over ribbon cable. The plugging and unplugging, along with trimming the cable to fit, has resulting in the cable coming apart. I've ordered another crossed cable along with a straight through F-M extender cable <http://www.cablesonline.net/644fetomaide.html>. One of the cables will work...I hope.

Oh...yeah, it's fast with the WD 1TB 7200 RPM external drive.
Post Reply