You are not logged in.
Pages: 1
Hi guys,
I've got a hdd using GPT. There was a power failure while I was moving and resizing a NTFS partition at the end of the drive. Now my partition table is messed up and I can't restore it with gdisk. My question is, If I create a new bigger partition containing the old one, and mkntfs it without zeroing data, will a windows chkdsk restore all my files (I really need them)? BTW, testdisk does not detect it either.
Thx in advance.
The bird of Hermes is my name, eating my wings to make me tame.
Offline
Normally GPT should have a backup partition table, at the 'end' of the disk. Are you able to use that?
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Unfortunately no, when I tried to use it there wasn't any. I forgot to mention that GParted was only at the read only step of the process, so it didn't actually move any data.
The bird of Hermes is my name, eating my wings to make me tame.
Offline
Offline
Nope, I tried loading the backup with gdisk, but it didn't work. And I don't know the starting cylinder either, so I can't recreate it manually.
Last edited by Alucryd (2011-10-14 07:21:36)
The bird of Hermes is my name, eating my wings to make me tame.
Offline
Gparted + no UPS + power failure = data loss ![]()
As the Irish say, "I think yer foooked lad!"
Last edited by graysky (2011-10-14 18:02:28)
Offline
I'm afraid you're right. Still I'll try to recreate a partition and format without zeroing, see what testdisk can do about it before I try chkdsk.
The bird of Hermes is my name, eating my wings to make me tame.
Offline
Gpart is an optdepend of GParted. Then there's fixparts which comes with gptfdisk. Try those two.
Offline
Right now I only have a GParted bootable flash (which includes gpart) and a mint 11 one, but neither of them contains fixparts (fixparts is not even in the mint repos, don't know about debian). I had removed Arch and Windows to migrate from bios-mbr to uefi-gpt (and my internet connection is down until at least next week). I'll download fixparts from sourceforge and see if it can help. Thx for all the answers.
The bird of Hermes is my name, eating my wings to make me tame.
Offline
Parted Magic has fixparts. Like I said, it's not a standalone package, it's part of gptfdisk.
Last edited by Gusar (2011-10-14 13:04:29)
Offline
Thx for the link. I know fixparts is part of gptfdisk, I read the documentation yesterday. But you will still find seperate binaries (rpms and debs) on the sourceforge page since it's not included in gdisk on rpm or deb distros.
The bird of Hermes is my name, eating my wings to make me tame.
Offline
fixparts is for repairing MBR disks, do not use it for GPT disks.
@Alucryd: Post the output of gdisk. BTW did you try testdisk?
Offline
@the.ridikulus.rat : Thx for the heads up, seems I would have made things worse. I don't have my laptop right now, but gdisk throws no error whatsoever, protective mbr and gpt partition tables are fine (it shows the efi sys, my arch btrfs partition, end the windows ntfs partitions, which are all empty right now, but the data ntfs partition simply vanished, apparently, even in read only mode, parted simply erased the entry in the partition table). I tried to have testdisk detect the lost partition yesterday but to no avail. I'll try to see if it can see the files on the partition if I recreate one without zeroing this evening.
And if not, well I'll just give up, fortunately I had a backup of the most critical files.
The bird of Hermes is my name, eating my wings to make me tame.
Offline
Pages: 1