Solved

accidentally modified file system

Posted on 2004-08-08
4
184 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 4

Expert Comment

by:net_sec_guru
ID: 11749702
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
ID: 11750402
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
ID: 11751011
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
ID: 11758542
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

738 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