0

I accidentally deleted a NTFS partition of 1600 GiB in a 2 TB hard disk. The partition had 355 GiB of data. I tried to recover it using several utilities but could not.

I know that the partition starts in sector 551585791. So to recover the partition, I want to manually specify the partition's location in the GPT partition table. Is there any way to do this?

Chenmunka
3,26413 gold badges31 silver badges39 bronze badges
asked Aug 19, 2012 at 17:24
2
  • Sorry, what is manually? Without using a utility? Commented Aug 19, 2012 at 17:41
  • by utility you mean diskpart? knowing the utility will assist in a proper answer. Commented Aug 19, 2012 at 17:48

3 Answers 3

2

The standard tool for manipulating GPTs is gdisk.

(Edit for the updated question) Use gdisk's "create a new partition" command. When it asks you for "First sector", input "551585791".

answered Aug 19, 2012 at 19:11
0
0

Have you tried parted? (CLI) or gparted (graphical) -- http://gparted.sourceforge.net/livecd.php

answered Aug 19, 2012 at 18:57
3
  • Do try the gparted live CD. You can specify the partition size yourself. Since your deleted partition did not have any data, you can create new GPT partitions with as much sizes as you want. Commented Aug 19, 2012 at 20:52
  • So it had data before you deleted it? Are you trying to recover the data? Commented Aug 19, 2012 at 21:08
  • see this link -- hardforum.com/showthread.php?t=1632902 before you do anything with this drive, make an exact copy of this drive on another drive 2TB disk. The link has that detail as well. Commented Aug 19, 2012 at 21:18
0

Using parted:

parted $DEVICE
GNU Parted 3.1
Using $DEVICE
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mktable
New disk label type? gpt
(parted)

After this, you can create new partitions and the like using the various commands available; type "help" for more information; but for parted, this is the newpart command. It will prompt you for all of the information that it needs, just like the mktable command does.

Also, note that the creation of a GPT will also create a so-called "protective" MBR; see Wikipedia’s article on the GPT for more information.

answered Aug 19, 2012 at 19:31

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.