fix both GPT and MBR manually with UBCD

Talk about anything related to the UBCD, PC troubleshooting etc.

Moderators: Icecube, StopSpazzing

Post Reply
Message
Author
hanoijolly
Posts: 1
Joined: Wed Aug 24, 2011 10:23 am

fix both GPT and MBR manually with UBCD

#1 Post by hanoijolly » Wed Aug 24, 2011 11:05 am

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.

Icecube
Posts: 1278
Joined: Fri Jan 11, 2008 2:52 pm
Contact:

Re: fix both GPT and MBR manually with UBCD

#2 Post by Icecube » Thu Aug 25, 2011 4:23 am

Use Testdisk (included in Parted Magic).
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/

Post Reply