Solved

accidentally modified file system

Posted on 2004-08-08
4
180 Views
Last Modified: 2010-04-20
Hi,

When I was installing linux, I accidentally used 'mke2fs' on my WindowsXP NTFS partition. Now I cannot boot into XP anymore. Please tell me what should I do to fix it. Thank you so much!

Kevin
0
Comment
Question by:teklo
  • 2
4 Comments
 
LVL 4

Expert Comment

by:net_sec_guru
Comment Utility
Did you format the partition that you created when you installed Linux? If so, it will be VERY difficult to get that information back.

It might be best for you just to create two new partitions and re-install both operating systems (starting with MS then linux).



0
 

Author Comment

by:teklo
Comment Utility
I'm not sure. I didn't use fdisk to edit that partition, which is /dev/hda1, so I guess I didn't format it...
0
 
LVL 22

Accepted Solution

by:
pjedmond earned 500 total points
Comment Utility
Using mke2fs WILL have damaged the data on that partition to the extent that you will not be able to recover it all! The 'vanilla' form of the command will create the 'index' for the file system and a number of backup 'indexes' across the drive, so 100% data recovery is not likely!

However, provided you haven't done anything else since the running of the command it should still be possible to get much of your data back.

The 'easy' way to recovery this data is to remove the hard drive concerned and insert it as a slave into an already running windows system. You then need handy recovery or similar ($30):

http://www.softpile.com/Utilities/Disk_Utilities/Review_33292_index.html

and follow the instructions. (Note that it's claim to recover data from formatted discs on applies to 'quick' formatting!)

There are other utilities out there that do similar things, but most of them require a windows environment to run.

Once you've recovered everything you can, back it up AND VERIFY it before restarting the disc configuration from scratch.

Everyone makes mistakes..but some make bigger mistakes than others. Fortunately, the bigger the mistake, the better the chance of larning from it:)

0
 
LVL 22

Expert Comment

by:pjedmond
Comment Utility
Just an additional notte, you mk2efs 'ed when installing linux?....there's often a box that you tick to say format the partition concerned. If you've done that, then your chances of recovering anything are pretty low!
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now