Skip to contentSkip to conversation

recovering a partition

DISCUSSION Nagy Viktor 3 participants 3 messages Dec 10, 2005 – Dec 18, 2005

lore
Share & tools
lore
#0 lore raw

Hello!

I wanted to change the filesystem of my ex-windows partition (I just wanted to finish the migration from win 2 Linux) from vfat to ext3, but when I made its backup I copied only one file instead of the whole partition. I would like to restore it if possible.

The partition was vfat, now is ext3, and I already made a dd of it. (When it was ext3.)

Is there a way to save my data? How can I do it?

Thanks, V

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw
Quoted 9 lines · Nagy Viktor

I wanted to change the filesystem of my ex-windows partition (I just wanted to finish the migration from win 2 Linux) from vfat to ext3, but when I made its backup I copied only one file instead of the whole partition. I would like to restore it if possible.

The partition was vfat, now is ext3, and I already made a dd of it. (When it was ext3.)

Is there a way to save my data? How can I do it?

Since you already formatted the drive as another file system, it will be difficult to retrieve files. It is still possible to find some as long as you didn't do bad-block testing or use some other method that wrote data to the partition before formatting.

'grep' and 'dd' will be your most common commands.

For somewhat more high-level tools, take a look at the man page for magicrescue:

http://jbj.rapanden.dk/magicrescue/manpage.html

Good luck!

--
Chris Largret <http://daga.dyndns.org>

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#2 lore raw
Quoted 22 lines · Chris Largret
Quoted 9 lines · Nagy Viktor

I wanted to change the filesystem of my ex-windows partition (I just wanted to finish the migration from win 2 Linux) from vfat to ext3, but when I made its backup I copied only one file instead of the whole partition. I would like to restore it if possible.

The partition was vfat, now is ext3, and I already made a dd of it. (When it was ext3.)

Is there a way to save my data? How can I do it?

Since you already formatted the drive as another file system, it will be difficult to retrieve files. It is still possible to find some as long as you didn't do bad-block testing or use some other method that wrote data to the partition before formatting.

'grep' and 'dd' will be your most common commands.

For somewhat more high-level tools, take a look at the man page for magicrescue:

Quoted 6 lines

http://jbj.rapanden.dk/magicrescue/manpage.html

Good luck!

--
Chris Largret <http://daga.dyndns.org>

I just noticed "Test Disk" at SourceForge.. You may want to
check into that.. SF has a bazillion recovery apps..

Signature · 7 lines
    Hal - in Terra Alta, WV/US - Slackware GNU/Linux 10.1   (2.4.29)
.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs