public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Peter <pete4abw@comcast.net>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Re: unformat a partition
Date: Thu, 16 Mar 2006 16:38:47 -0500	[thread overview]
Message-ID: <pan.2006.03.16.21.38.46.291023@comcast.net> (raw)
In-Reply-To: bba6100b0603160915g68258591yfc0ac0b148ead838@mail.gmail.com

On Thu, 16 Mar 2006 12:15:24 -0500, Nick Smith wrote:

> i just accidentally blew away my ntfs partition with the gentoo
> install cd (formatted hda1 instead of hdb1) is there a way to unformat
> if it was just done? like undo the format information? i formatted
> with ext3.  ordinarily i wouldnt mind, but i have some VERY important
> information on there and a ton of pictures i cannot lose (originals). 
> i can probably use getdataback when i get home just wanted to know if
> there was another way since im still at the prompt on the install cd
> now.
> 
> thanks (bangs head on wall)

A definite MAYBE. If you did a quick format, not doing error checking,
there is an excellent chance your data is intact. If you did error
checking, then probably not, although badblock normally restores data as
it checks each sector.

If you know about partition editing, then go in and change the partition
type back to ntfs and see if it can be mounted by Windows or linux.

Now, first thing I would do is do an image backup of the partition just so
you can save it and try again with a different approach if need be.

Second, the sfdisk utility in Linux allows for low level partition
editing, but it's not easy. Windows utilities are much better for this
kind of thing. I remember the old Norton Disk Doctor for example.

Nonetheless, the good news is if you did a quick format, you most likely
will be fine. How fine depends on whether or not you can get the partition
to mount again under the original partition type.

Otherwise, there are services like Ontrack which, for mega $$$ get your
stuff back.

Good luck!

-- 
Peter


-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-03-16 21:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-16 17:15 [gentoo-user] unformat a partition Nick Smith
2006-03-16 21:38 ` Peter [this message]
2006-03-16 22:54 ` Robert Persson
2006-03-17 11:26   ` [gentoo-user] " Peter
2006-03-17 15:09     ` Nick Smith
2006-03-17 15:51       ` [gentoo-user] " Peter
2006-03-17 16:04         ` Nick Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pan.2006.03.16.21.38.46.291023@comcast.net \
    --to=pete4abw@comcast.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox