Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.

GPT/Protective MBR problem...

Login or Register to Reply

Thread Tools Search this Thread
# 1  
GPT/Protective MBR problem...


short thing: I've done something I didn't know what happens; bad thing: I did it with my partition table. Smilie

My OS is Ubuntu 10.10. I've used GPT and now want to convert it to MBR with gdisk.
I started gdisk, chose 'r' for "transformation options" and chose 'g' to "convert GPT into MBR and exit".
Then I rebooted. Now all my programs tell me something other:

fdisk says the following (language is german):
   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sda1               1      121602   976762583+  ee  GPT

gdisk says it to be a protective MBR, but '-l' switch doesn't print any partition:
GPT fdisk (gdisk) version 0.5.1

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

The kernel doesn't seem to detect anything, only sda* thing is /dev/sda.

partitionmanager says that there is no valid partition table.

Now, what should I do? Stupid thing is that I missed to make a backup of my first sectors before. Smilie
Remember, the only thing I want is to be able to read my partitions on sda again and to have an MBR on it in the end.


Last edited by Blackbird; 11-09-2010 at 04:31 PM..
# 2  
Humm, the conversion from GPT to MBR by gdisk is a best-faith attempt only according to the man page. No guarantees, especially if there were no free blocks between the partitions.

You could try the -c option to load the backup partition table but I suspect that it will contain nothing.
# 3  
Oh dear. Smilie Lucky me that a made a backup of my data before.

I think I will just create a new MBR and restore my backups...
# 4  
Yes, that is the best plan. Glad you had a backup. It is my opinion that utilities such as gdisk should not attempt to automatically convert from MBR to GPT and visa versa. Too many edge cases where things can go wrong.

Last edited by fpmurphy; 11-10-2010 at 11:15 AM..
Login or Register to Reply

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
2nd hdd is Linux_lvm can't mount MBR on BSD with GPT
rying it this way, because I can't handle the slices for the second hdd. If there is someone on this forum who can help me out of that misery, he would really save my digital life in this digital ocean. So not giving up, reading several times the manual of gpart. But the best hint in all that...... Emergency UNIX and Linux Support
Emergency UNIX and Linux Support
GPT Partitions
(Don't you hate being on holiday and being the only IT person in the family?) Got a wonderful thanksgiving surprise .. dead windows-8 laptop with "important" unbacked-up data. No worries, I have my my fedora labtop and a magical SATA to USB converter. Plugged in the drive, and ... can't mount...... Red Hat
Red Hat
Disk Paritioning Scheme--GPT or MBR
Hi, I just built myself a new machine which has an ASUS motherboard with is UEFI based. I noticed after I installed Fedora 17 that my sda is MBR and my sdb is GPT: sda is a ssd drive. Should the ssd drive be GPT or is MBR okay? sda is 60Gb drive.... Fedora
RHEL4 easyRAID problem 2tb gpt xfs
hello community, i have problems with my redhat enterprise linux 4 nanhant 6 and my easyraid x8s (8x1tb) extern fibre channel raid extern raid configuration: raid level 5 (8x1tb) redhat system shows me four 2tb partitions and one 450gb partition from my raid :( why????? i have...... Red Hat
Red Hat

Featured Tech Videos