Hi,
here's an OSX port and enhancement i made to help creating hybrid MBR partitions on GPT drive.
Code came from project rEFit: http://refit.sourceforge.net/
The package below contain the gptsync command line tool for Mac OSX Leopard.
Source code is available here: https://github.com/JrCs/gptsync
You can download the package here:
Edit 31/12/12 version 0.3: gptsync-0.3.pkg
Old Versions:
Edit 02/08/09 version 0.2: gptsync-0.2.pkg.zip
JrCs
21 replies to this topic
#1
Posted 31 July 2009 - 01:39 PM
#2
Posted 31 July 2009 - 07:28 PM
Can u explain further.
#3
Posted 01 August 2009 - 06:22 AM
#4
Posted 01 August 2009 - 06:43 AM
#5
Posted 19 August 2009 - 05:48 AM
Your app was very useful for me!!
At least I have an GPT/MBR Triple Boot with OS X, win7 and Ubuntu 9.
Thank you!!
At least I have an GPT/MBR Triple Boot with OS X, win7 and Ubuntu 9.
Thank you!!
#6
Posted 16 October 2009 - 01:50 AM
So you can't boot Windows from a GPT partition then? Windows 7 supports GPT.
#7
Posted 16 October 2009 - 01:46 PM
Windows 7 does support reading and writing GPT disks, but not booting from them, unless the computer uses EFI for firmware, rather than a BIOS. (I've corresponded with somebody who's used a post-BIOS EFI implementation to work around this limitation, but that's currently an awkward solution that doesn't work on all computers -- I couldn't get it to work myself, for instance.) So in a dual-boot environment with Windows and a need or desire to use GPT, you must have either multiple disks (at least one MBR for Windows to boot and at least one GPT) or a hybrid MBR configuration.
#8
Posted 18 December 2009 - 03:42 PM
Whoa. I just ran the installer and couldn't find anything having been installed. I hope this isn't a trojan.
Where are the files it installed?
Where are the files it installed?
#9
Posted 18 December 2009 - 08:23 PM
This is a command line tool caribouu...
It's absolutly not a trojan!
Open your terminal and type:
It's absolutly not a trojan!
Open your terminal and type:
which gpsync
#10
Posted 18 December 2009 - 08:29 PM
Rod Smith, on Oct 16 2009, 01:46 PM, said:
Windows 7 does support reading and writing GPT disks, but not booting from them, unless the computer uses EFI for firmware, rather than a BIOS. (I've corresponded with somebody who's used a post-BIOS EFI implementation to work around this limitation, but that's currently an awkward solution that doesn't work on all computers -- I couldn't get it to work myself, for instance.) So in a dual-boot environment with Windows and a need or desire to use GPT, you must have either multiple disks (at least one MBR for Windows to boot and at least one GPT) or a hybrid MBR configuration.
#11
Posted 19 December 2009 - 07:15 AM
Suzuka, on Dec 18 2009, 03:29 PM, said:
Er...then how did I install Windows 7 on my Hackintosh?
There are several possibilities:
- Your computer uses MBR rather than GPT
- Your computer uses a hybrid MBR (GPT+MBR) rather than a "pure" GPT
- Your computer has EFI-enabled firmware
- Possibly something else I'm forgetting
Without more details on your configuration, I can't narrow it down further than that; however, #2 seems to be quite common; many people run hybrid configurations and aren't even aware of it.
#12
Posted 20 December 2009 - 03:44 PM
#13
Posted 29 December 2009 - 10:46 AM
As a noob, especially when it comes to using command line, could someone provide a brief walk through on how to use this tool, (planning to use it for dual boot purposes).
Thanks.
Thanks.
#14
Posted 04 January 2010 - 02:22 AM
looks like the command line installs as gptsync. Now if I could figure out the switches.
#15
Posted 21 June 2010 - 04:36 AM
Just tried this. Attempting Linux install now.
#16
Posted 11 November 2010 - 08:12 AM
Das sieht echt bescheuert aus und es muss doch eine Möglichkeit geben, welche den größten Wert nimmt und das AR entsprechend
------------------------------
The ccsp and cissp is worldwide accredited certification that validates in ccna security and ccna voice with the professional’s knowledge and skills of IT system security.
------------------------------
The ccsp and cissp is worldwide accredited certification that validates in ccna security and ccna voice with the professional’s knowledge and skills of IT system security.
#17
Posted 16 November 2010 - 06:51 PM
Fortunately, boot can be easily unset the same way you set it (using parted). But, when you do so, at least using the version of parted that comes with Ubuntu Gutsy, the msftres flag is set, and parted won't let you unset it no matter how many times you try. The main problem this caused for me was that the partitions marked as msftres would no longer be mounted automatically by OS X, so they didn't show up in the Finder, and they were grayed out in Disk Utility. diskutil list indeed showed their type as "Microsoft Reserved Data" or something to that effect. (I don't remember exactly, and I didn't feel like changing the type back just to do testing for this hint.)
#18
Posted 21 November 2010 - 11:34 PM
Usage: gptsync [OPTION]... DEVICE [PARTITION[+/-[TYPE]]] ...
gptsync fill hybrid MBR of GPT drive DEVICE.
Specified partitions will be a part of hybrid MBR. Up to 3 partitions are allowed.
+ means that partition is active (only one partition can be active).
TYPE is an MBR hexadecimal type (use -t option to list recognized types).
Valid options:
-e, --empty create an MBR containing only the EFI Protective partition
-n, --nofill don't try to protect unused partition
-t, --types list the MBR recognized type codes
-h, --help display this message and exit
-V, --version print version information and exit
examples:
sudo gptsync /dev/disk1 1 2+af
sudo gptsync /dev/disk1 2+
gptsync fill hybrid MBR of GPT drive DEVICE.
Specified partitions will be a part of hybrid MBR. Up to 3 partitions are allowed.
+ means that partition is active (only one partition can be active).
TYPE is an MBR hexadecimal type (use -t option to list recognized types).
Valid options:
-e, --empty create an MBR containing only the EFI Protective partition
-n, --nofill don't try to protect unused partition
-t, --types list the MBR recognized type codes
-h, --help display this message and exit
-V, --version print version information and exit
examples:
sudo gptsync /dev/disk1 1 2+af
sudo gptsync /dev/disk1 2+
#19
Posted 22 November 2010 - 12:29 PM
I just ran the installer and couldn't find anything having been installed,too. and don’t know why.anyone knows?
I’ll be appreciate for posting me.thanks.
I’ll be appreciate for posting me.thanks.
#20
Posted 24 November 2010 - 07:27 PM
asdfeas, this is a COMMAND LINE utility = you have to run the commands (see given examples) in TERMINAL ......
Apart from that, I would love to get Grub4DOS going on a GPT partitioned drive - anybody know how to?
Apart from that, I would love to get Grub4DOS going on a GPT partitioned drive - anybody know how to?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



Sign In
Create Account









