LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-03-2011, 04:41 AM   #1
nsupathy
LQ Newbie
 
Registered: Mar 2005
Location: UK
Distribution: Fedora Core 2
Posts: 2

Rep: Reputation: 0
recover files from ext4 file system overwritten by new installation


This is one of the most stupidest things I have done in the recent past.

My main hard disk died and I replaced it. After installing windows in a small partition in /dev/sda, I thought I will try linux mint and went for it. (I need windows to play AOE, but ubuntu is my primary OS)

I didnt see the options properly or some distraction, I choose the "install alongside windows" option probably expecting it to install it in the unallocated partition next to the windows installation. I had completely forgotten my second internal drive /dev/sdb which has the backup data. Linux mint went and installed itself on that drive.

Is there a way to recover individual files from the second harddrive. Now if I boot or open it through live cd, all I see in the linux mint file systems. I want to aleast recover my CV/resume from the second drive. The second drive is a single ext4 file system

The old drive is completely dead, it doesnt even get recognized when I attach it to SATA.

I tried to search but couldnt find any solutions as I feel my stupidity is unique. Any help much appreciated.

Thanks

Umapathy
 
Old 07-03-2011, 04:52 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Don't boot into Mint. The files that are already overwritten will be unrecoverable, but there is a chance to recover those files that are currently not overwritten. Booting into Mint will lower the chance to recover intact files. Get yourself a copy of a live-disc that has the testdisk-package installen, like grml or RIP-Linux. Use the photorec-program (which is part of the testdisk-package) to scan the disk and recover the files.
Get ready to become a large amount of files without proper names, you will have to sort them out manually after the recovery.
 
1 members found this post helpful.
  


Reply

Tags
recovery



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to recover overwritten file Imtiaz Deen Linux - General 12 06-20-2019 08:20 AM
LXer: Undelete Files on an ext3 or ext4 File System LXer Syndicated Linux News 0 06-04-2011 12:30 PM
[SOLVED] How to Recover Deleted (partly overwritten) Files in /home on ext3 fs, ubuntu 6.06 the_new_z Linux - Newbie 3 08-05-2010 01:44 PM
File system corrupted, how to move LVM drives to another machine to recover files? Arodef Linux - Hardware 1 08-07-2009 06:19 PM
LXer: HOWTO recover deleted files on an ext3 file system LXer Syndicated Linux News 0 03-14-2008 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration