Page 1 of 1

fix both GPT and MBR manually with UBCD

Posted: Wed Aug 24, 2011 11:05 am
by hanoijolly
Hi everyone,

I have a big deal hear. I have a Mac Laptop with 3 partitions :
1) HFS partition for Mac OS 10.6
2) NTFS partition for Windows 7 64bits
3) NTFS partition for my documents

It works thus with both GPT and MBR.
I use rEFIt to switch the system at boot.

Having had troubles with my Windows roaming increasing dramatically (what a pain), i had to increase the size of my 2nd partition after reducing my 3rd partition...

My problem is that my partitionning tool did a mess with the GPT and the MBR (I am a beginner to these systems and I used Easeus to work on the partitions. It was a big mistake)

Now I have the following (in red the erroneous data) :
****************************************
in the GPT
****************************************
Partition Start LBA End LBA Type
1 40 409639 EFI System (FAT) <= the boot sector I guess
<= I miss my Mac OS partition (the entry was suppressed by Easeus)
2 126240768 252067839 Basic Data <= my Windows partition
3 278693928 976773165 Basic Data <= my Documents partition at the right place

****************************************
in the MBR
****************************************
Partition Start LBA End LBA Type
1 1 409639 EE <= The boot sector I guess
2 409640 125976615 AF Mac OS X HFS+ <= My Mac OS partition at the right place etc
2 126240768 252067839 07 NTFS/HPFS <= my Windows partition
3 278693928 976773165 07 NTFS/HPFS <= my Documents partition at the WRONG old place


Refit offers me to automatically copy the content of my GPT to my MBR :
It would give me back access to my "documents" partition but I would loose my MacOS partition.

Could anyone tell me how to manually write in those GPT and MBR to setup both sides ? I heard it would be possible with UBCD...

Thank you in advance for your help.

Re: fix both GPT and MBR manually with UBCD

Posted: Thu Aug 25, 2011 4:23 am
by Icecube
Use Testdisk (included in Parted Magic).