Home Man
Search
Today's Posts
Register

Discuss GRUB, BURG, UEFI, GPT, Mac EFI, GRUB2 and other topics about boot loaders.

GPT/Protective MBR problem...

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 11-09-2010
GPT/Protective MBR problem...

Hi,

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

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):
Code:
   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:
Code:
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.
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.


Blackbird

Last edited by Blackbird; 11-09-2010 at 03:31 PM..
# 2  
Old 11-09-2010
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  
Old 11-10-2010
Oh dear. 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  
Old 11-10-2010
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 10:15 AM..
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
sed Or Grep Problem OR Terminal Problem? Nexeu UNIX for Dummies Questions & Answers 25 02-12-2015 12:18 PM
Problem with forwarding emails (SPF problem) carwe IP Networking 0 08-16-2011 06:17 AM
AIX OS problem? network problem? Jeon Jun Seok AIX 3 11-08-2009 12:17 AM
DHCP problem and eth1 problem sllinux UNIX for Dummies Questions & Answers 0 10-23-2009 02:45 AM
user login problem & Files listing problem. pernasivam AIX 1 06-18-2009 09:09 AM
problem in finding a hardware problem girish.batra Solaris 8 09-09-2008 10:10 AM


All times are GMT -4. The time now is 01:59 AM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password