Accidentally changed mbr to gpt

How to use TestDisk to recover lost partition
Post Reply
Message
Author
johnfg
Posts: 2
Joined: 04 Dec 2015, 03:47

Accidentally changed mbr to gpt

#1 Post by johnfg » 04 Dec 2015, 04:31

Would testdisk be able to recover or fix my mistake I made with parted? I accidentally ran mklabel gpt.

Sponsored links

User avatar
Fiona
Posts: 2836
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: Accidentally changed mbr to gpt

#2 Post by Fiona » 04 Dec 2015, 08:13

What's your OS, file system and size of your disk?
Did you create another partition and format it?
As long as you've nothing written to your disk, TestDisk could help?

Fiona

johnfg
Posts: 2
Joined: 04 Dec 2015, 03:47

Re: Accidentally changed mbr to gpt

#3 Post by johnfg » 04 Dec 2015, 15:41

I was running debian Linux, 2 different versions. there are 10 partitions, /dev/sda1 - /dev/sda10. My plan was to install Gentoo Linux in place of one of the debian's. So, I booted the minimal install cd, ran parted, then ran the command: `mklabel gpt`, which I didn't need to do, and shouldn't have done, since I had a working mbr. I've not run anything but `print` from parted since. I'm really hoping that testdisk can help.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests