Posts: 28
Joined: Jul 2005
Reputation:
0
adefa
Junior Member
Posts: 28
Attempting to follow your guide from the atv-bootloader page, but after running the command:
sudo parted -s /dev/sda mklabel gpt (which completes with no errors)
I then go on to the next command, which is to run parted and have it print information regarding the drive. After I type:
sudo parted /dev/hda (and then print, after parted as loaded)
I get Error: /dev/hda: unrecognised disk label
I've been following all instructions verbatim, and am using a Mythbuntu install CD (pretty sure, version 7.10, just downloaded and burned it) as a LiveCD to work with the ATV drive.
Are you using a LiveCD as well to access the drive? Are there modules that must be loaded in order to use gpt? It seems parted was correctly installed, it is version 1.8.8 and I can see gpt in the list when I type help mklabel in while running parted.
Output of uname -a:
Linux ubuntu 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux
Any ideas? ;]
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
paste the output of "cat /proc/partitions" here so I can see it.
Posts: 28
Joined: Jul 2005
Reputation:
0
adefa
Junior Member
Posts: 28
I'm following the guide exactly. ;] I've wiped it with zeros -- twice now, as I tried it again in case something went wrong the first time.
I didn't check to see what version of parted comes with Mythbuntu 7.10, but parted displays 1.8.8 as it's version. And when I run apt-get remove parted, it (after uninstalling it when I ran it the first time) tells me it is not installed.
It couldn't have anything to do with the fact that my drive came from a Take 2 ATV, could it?
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
once you wipe the drive, it does not matter where it came from, the contents and partition formats are gone.
can you post the output from "cat /proc/partitions"?
Posts: 28
Joined: Jul 2005
Reputation:
0
adefa
Junior Member
Posts: 28
ubuntu@ubuntu:~/hfs_support$ cat /proc/partitions
major minor #blocks name
3 0 39070080 hda
8 0 312571224 sda
8 1 312568641 sda1
7 0 419644 loop0
Posts: 28
Joined: Jul 2005
Reputation:
0
adefa
Junior Member
Posts: 28
Hmmm, I wonder what went wrong. I went through and manually did the steps from all the .sh files myself, and now it's working?
Something must have failed with the parted build the first time? ;]
Posts: 28
Joined: Jul 2005
Reputation:
0
adefa
Junior Member
Posts: 28
The boot.efi I'm using is from my hard drive before I wiped it. Is there any difference between the Take 2's boot.efi and the one you are using? (I believe yours is from the 1.1 update?)
Posts: 28
Joined: Jul 2005
Reputation:
0
adefa
Junior Member
Posts: 28
Oh, and at the end, with the copy commands, I'm having to use sudo to copy them.
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
The boot.efi file is identical for r1.0, r1.1 and r2 versions. My instructions detail how to extract it from the r1.1 update. I, myself, am using my original boot.efi from a r1.0.