HELP, partition table has been wiped


Recommended Posts

I'm running freebsd, and my drive which holds ALL of my data, besides programs and the actual os, has had it's partition table wiped.....basically the machine, after having this drive mounted, rebooted itself and since then I have not been able to re-mount the drive......I'm hoping there is a way for me to recover my data, because thats 59gb that I really can't afford to lose. Someone out there know anyway to re-write a partition table safely?

Link to comment
Share on other sites

You "should" be able just to recreate the partitions with your favorite partitioning software (make sure they're the same size as they were before) and hopefully if your data isn't corrupted, it should be alright as long as you don't try and format the partition.

Link to comment
Share on other sites

Partition Magic even has an undelete function that'll restore it without having to remember the exact size that partition was.

Never works.

And can I read BSD filesystems?

I'd support KJordan's advice...

Link to comment
Share on other sites

Never works.

And can I read BSD filesystems?

I'd support KJordan's advice...

I think Partition Magic can do BSD stuff, although I haven't used it in forever, don't like it too much.

The way I said is actually the way you can free resize NTFS too. You defragment and find how much space it needs, and you can delete the current partition and recreate a new smaller one. This works because the data is within the partition, so it should work for you as long as you remember the size you had.

Link to comment
Share on other sites

::opens up D: drive (/mnt/docs in Linux)::

::sees 10GB of data he restored using said function::

Worked for me. Then again it was FAT. Guess I have to see if it'll work with other formats. (I'm pretty sure the program doesn't support BSD filesystems)

Yes, KJordan's adivce is the most likely to work if you know exactly how things were set up.

Edit: It seems the undelete function only works on NTFS/FAT

Link to comment
Share on other sites

well

cat /dev/hda > pr0n.mpg

seriously, how do you know its only the partition tables and not a drive failure. There are tools for data recovery, such as sector editors and the likes. If this partition fixer thingymabob doesn't work then you might wanna try that.

qtparted - front end for gnuparted is pretty good.

Link to comment
Share on other sites

ok, well the entire drive was partitioned in one partition.....so you're all saying that if I just run fdisk and tell it to partition it all under the ufs filesystem that my files should still be there?

Link to comment
Share on other sites

sure is.....except some of the files I can SEE are failing when I'm trying to back them up.........this is starting to sound more and more like the hard drive failed than anything else.......as I'm trying to transfer them over the ftp some of them say i/o error.............which really sucks obviously heh

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.