Results 1 to 1 of 1
Discuss set-guid - helps setting the partition GUID at the AppleTV 1 - Hackint0sh.org; I wrote a script to help manage the GUID updates to the partition. This way, ...
  1. #1
    Newbie Array

    Join Date
    Apr 2007
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Talking set-guid - helps setting the partition GUID

    I wrote a script to help manage the GUID updates to the partition. This way, it's easy to switch between the OS X and AppleTV-bootable GUIDs. The script is attached. Here's how to use it, for the third volume of disk1:
    • set AppleTV-bootable GUID: ./set-guid /dev/disk1 3
    • set OS X-accessible GUID: ./set-guid /dev/disk1 3 r
    • test the script and see the commands it'll run: ./set-guid /dev/disk1 3 --test
    • if you want to give it the start/end sectors directly: ./set-guid /dev/disk1 3 409640 20604520

    When you set the GUID to AppleTV-bootable, you'll see something like this:
    Code:
    > ./set-guid /dev/disk1 3
    Disk /dev/disk1 unmounted
    gpt remove: /dev/disk1: 1 partition(s) removed
    Disk /dev/disk1 unmounted
    The script works for me - my AppleTV just booted OS X Server. Be careful - at this point the error checking in the script is not of the greatest quality.

    Let me know if you find any bugs. Enjoy.
    Attached Files



 

 

Similar Threads

  1. GUID Partition?
    By SynSoft in forum Installation
    Replies: 27
    Last Post: 05-10-2010, 04:42 AM
  2. GUID on c drive?
    By boomstick in forum Installation
    Replies: 5
    Last Post: 04-05-2010, 06:19 AM
  3. How to add a GUID Partition to Windows Bootloader
    By interinv in forum Archiv (Leopard)
    Replies: 0
    Last Post: 03-25-2008, 11:01 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 07:08 PM.
twitter, follow us!