>On Aug 27, 3:30 pm, Byron P <[email protected]> wrote:
>>  well somehow I lost the gpt partition table, so maybe that is part of
>>  it.   I did manual partitioning in the install.... so unsure of why
>>  the table would of been messed with.. the mbr install?
>>
>>  On Aug 27, 3:22 pm, Byron P <[email protected]> wrote:
>>
>>  > I'm trying to install mythbuntu onto an external USB hard drive.  I
>>  > partitioned the drive and install the atv-bootloader stuff in the
>>  > first partition, and then used the network install of ubuntu to
>>  > install.
>>
>>  > After installation the usb drive won't boot and when I plug it into my
>>  > laptop I see that the atvrecv flag is gone from the first partition.
>>
>>  > Is there any way to re-enable this flag with out wiping out the
>>  > install?
>>
>>
>
>Sorry for top posting before.  I got ubuntu 9.04 installed on my
>external drive.  I'm not able to boot into linux though with just the
>drive plugged in to the apple tv.  I created another atv-bootloader
>usbstick and if I have that plugged in at the same time as the usb hd,
>I ubuntu boots correctly.  during the install I did install grub, but
>didn't want it to write to the mbr to sdb as I was afraid that was
>what wiped out my gpt partion table during my first try, so instead I
>pointed it to the linux partion, sdb2.  running gptsync on the drive
>(plugged into my laptop) I get this:
>
>$ sudo gptsync /dev/sdb
>
>Current GPT partition table:
>  #      Start LBA      End LBA  Type
>  1             40        69671  Apple Recovery
>  2          69672     77091551  Basic Data
>  3       77095935     78140126  Linux Swap
>
>Current MBR partition table:
>  # A    Start LBA      End LBA  Type
>  1             40        69671  af  Mac OS X HFS+
>  2 *        69672     77091551  83  Linux
>  3       77095935     78140126  82  Linux swap / Solaris
>
>Status: Analysis inconclusive, will not touch this disk.
>
>also from parted:
>
>$ sudo parted -s /dev/sdb unit s print
>Warning: /dev/sdb contains GPT signatures, indicating that it has a
>GPT table.  However, it does not have a valid fake msdos partition
>table, as it should.  Perhaps it was corrupted -- possibly by a
>program that doesn't understand GPT partition tables.  Or perhaps you
>deleted the GPT table, and are now using an msdos partition table.  Is
>this a GPT partition table?
>Model: HTS54804 0M9AT00 (scsi)
>Disk /dev/sdb: 78140160s
>Sector size (logical/physical): 512B/512B
>Partition Table: gpt
>
>Number  Start      End        Size       File system  Name     Flags
>  1      40s        69671s     69632s     hfs+         primary  atvrecv
>  2      69672s     77091551s  77021880s  ext3         primary
>  3      77095935s  78140126s  1044192s   linux-swap   primary
>
>Is there any solution that wouldn't the data on the drive (so I could
>avoid another install)?  I have a workaround using the usb stick, but
>would rather be able to boot with just the HD attached.

Not really unless you copy the install off the partition before 
nuking it. You could dd out the linux partition, then reformat to 
proper gpt, then dd it back. This assumes the the partition sizes 
match exactly.

You might try deleting the partitions, then adding them back with 
proper gpt flags, As long as the starting and ending blocks are the 
same, this will just change the gpt info and not touch the actual 
data in the partitions.





--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
For more options, visit this group at
http://groups.google.com/group/atv-bootloader?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to