* Re: [gentoo-user] Accidentally reformatted my EVMS root partition. Any hope of recovering data?
@ 2006-09-25 1:14 99% ` Iain Buchanan
0 siblings, 0 replies; 1+ results
From: Iain Buchanan @ 2006-09-25 1:14 UTC (permalink / raw
To: gentoo-user
On Sun, 2006-09-24 at 17:47 -0700, Robert Persson wrote:
> I have, much to my intense surprise, managed to reformat my root
> partition unintentionally. It was an EVMS native reiserfs volume, but
> now it is a normal xfs partition. I haven't, as far as I am aware,
> written any files to it since the unfortunate accident.
did you actually _format_ it, or just repartition it?
I see three possible options:
1. repartition it, hoping the filesystem has not been touched
2. run an undelete tool on it (don't know if they exist for reiser,
certainly not for ext3
3. give up!
If you "formatted" it, ie wrote "zero's" all over the place (or whatever
a format does), then good luck, you'll need an "undelete", if there is
such a beast for reiser.
If you just repartitioned it (ie. wrote to the partition table that it
was now an xfs instead of reiserfs) and you've done nothing else, not
even mounted it since, then you _should_ just be able to use fdisk to
redo the partition table.
Use caution! I'd back up the drive with dd or something first, just in
case you screw it up.
repartitioning doesn't necessarily screw with the actual data on the
drive - just the partition table. I once blew away my partition table
by mistake, and rebuilt it by trial and error by guessing how big the
partition where from memory, and then mounting them to see if I got it
right.
Of course, if you've run anything like mkfs over the partition then
you're probably screwed.
> The tool I used to create the xfs partition was a non-standard, and
> quite possibly inferior one with non-standard behaviour.
so long as it created the partition without mkfs-ing it!
> P.S. In case you are wondering how I managed to do this, it was like
> this:
[snip]
> Honestly. How could I pass up such a splendid opportunity?
*lol* you can't let an opportunity like that pass by...
HTH.
--
Iain Buchanan <iaindb at netspace dot net dot au>
Surly to bed, surly to rise, makes you about average.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2006-09-25 0:47 [gentoo-user] Accidentally reformatted my EVMS root partition. Any hope of recovering data? Robert Persson
2006-09-25 1:14 99% ` Iain Buchanan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox