LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-23-2003, 02:15 AM   #1
DigitalTygrrr
Member
 
Registered: Apr 2003
Location: /home/BillyGoatStrut
Distribution: Ubuntu, Debian "Sarge", Mac OS X
Posts: 110

Rep: Reputation: 15
Unhappy Accidentally formatted wrong partition


I've determined that micro$oft forums aren't as helpful as this place...so, I've come to ask you guys. I accidentally formatted a NTFS partition on a winXP box. I was getting ready to install rh9 on it...but for some weird reason, the drive letters changed on me.

Anyway...I was wondering if anyone knows a way to restore that volume? I have winXPpro/win2000server installed on that box...I have redhat9/winXPpro installed on this box...I have win2000pro on another box...and I even have a box with win95 on it.

If anyone knows a way to restore it-it would be much appreciated!
 
Old 04-23-2003, 02:32 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I'm guessing you did this from Windows? Windows switches partition letters around all the time - whatever boots is C:. Linux is much better with that - /dev/hda1 is /dev/hda1. If it was NTFS older Windows won't do any good. It'd have to be W2K (maybe) or XP. There's a thing called Recovery Console, which would probably be the thing to try if you've got a real XP. (I've got an OEM thing with 'recovery disks' and I'm not sure how I'd go about recovering from something like that short of a reinstall - which wouldn't exactly 'recover' any data.) I think they got rid of unformat and undelete. *hates NT*

If you need data, try looking into that - if you just need the system, I guess you might as well reinstall. Maybe somebody else could give better help, but as it's been awhile, I figured I'd post that much.

Better yet, seize the opportunity and go all Linux.

edit - oops - it hasn't been long at all. Sorry. Read that timestamp as PM rather than AM and was thinking "this afternoon".

Last edited by slakmagik; 04-23-2003 at 02:33 AM.
 
Old 04-23-2003, 02:39 AM   #3
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Can you still boot into Windows or it that your problem? If you can get into Windows then you should be able to use the 'Disk Manager' to assign whatever drive letters you want. If you can't get into Windows then you might want to consider putting your harddisk into another Windows machine and editing c:\boot.ini so it looks at the right partition.

HTH

Jamie...
 
Old 04-23-2003, 02:54 AM   #4
DigitalTygrrr
Member
 
Registered: Apr 2003
Location: /home/BillyGoatStrut
Distribution: Ubuntu, Debian "Sarge", Mac OS X
Posts: 110

Original Poster
Rep: Reputation: 15
yeah...I can boot into windows just fine. I deleted my partition with all of my dnld applications. about 15G and 3 yrs of stuff. I think that's why I never worried about putting a fresh install of any OS on a box...I've always had those files readily available.

I've been wondering about the system restore myself. looking for info on it on the microsoft site, but I can't seem to get a straight answer. all I know is that I'm not logging off of that box until I'm sure of the outcome.

thanks guys

btw...i use redhat for my main OS. I would hardly ever go into windows anymore if it wasn't for my digi-video editing/mastering stuff.
 
Old 04-23-2003, 02:59 AM   #5
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Right sorry - looks like I answered a different question to the on you asked! I've never know anyone sucessfully undelete an NTFS partition let along get the data back after formatting it. If you do manage it though post the results here as I'd be interested to know how you managed it.

cheers

Jamie...
 
Old 04-23-2003, 03:02 AM   #6
DigitalTygrrr
Member
 
Registered: Apr 2003
Location: /home/BillyGoatStrut
Distribution: Ubuntu, Debian "Sarge", Mac OS X
Posts: 110

Original Poster
Rep: Reputation: 15
I will...I'm sure it's happened to new Linux users such as myself whenever they are getting ready to install a distro.

If I find a solution...I'll let you all know.
 
Old 04-23-2003, 03:33 AM   #7
DigitalTygrrr
Member
 
Registered: Apr 2003
Location: /home/BillyGoatStrut
Distribution: Ubuntu, Debian "Sarge", Mac OS X
Posts: 110

Original Poster
Rep: Reputation: 15
Well...I found out that system restore doesn't work. Still trying to recover my stuff though!
 
Old 04-23-2003, 04:27 AM   #8
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,651

Rep: Reputation: Disabled
I had the same problem with the drive letters (on my machine they are crossed over between Linux and Windows, i.e. /windows/D is E\: and /windows/E is D\: ). If I remember correctly, Windows and Linux do the incrementing of logical partitions differently (i.e. D: - E: vs hdb3 - hdb5), I forgot which does what exactly.

So it is not a bug but a regular feature , with which you will have to live permanently, so beware in future.
 
Old 04-23-2003, 04:37 AM   #9
Sadie Newlinux
Member
 
Registered: Mar 2003
Distribution: Mandrake 9.1
Posts: 112

Rep: Reputation: 15
Re: Accidentally formatted wrong partition

Quote:
Originally posted by DigitalTygrrr
If anyone knows a way to restore it-it would be much appreciated!
I just recently had something similar enough happen while installing Mandrake, that I thought I'd post a reply even though I'm *really* new at this. I finally had to use an NTFS reader to recover my data. (I did *not* reformat the NTFS harddrive, like you, however). This made me think that the company who did the reader, might have some recovery tools for such an event, but I couldn't remember the name of the company I got the program from (it was free).

A google search returned these results, though, and I hope they're helpful to you:

www.ntfs.com
http://www.project9.com/fat32/ (had some good tips and they mentioned the group I got my NTFS reader from)
http://www.sysinternals.com/

I got my reader from systeminternals and was very pleased. It was free, and read-only, but all I wanted was to access the dead partition and copy information to disk. They have a lot of utilities and offer some services as well.

Hopefully, something from one of these areas will help you. If not, I apologize!
 
Old 04-25-2003, 02:07 AM   #10
DigitalTygrrr
Member
 
Registered: Apr 2003
Location: /home/BillyGoatStrut
Distribution: Ubuntu, Debian "Sarge", Mac OS X
Posts: 110

Original Poster
Rep: Reputation: 15
Well...I hafta say that I gave the 'ole college try'! I couldn't find a solution to my problem. It seems that if I wouldn't have formatted the partition I would've been okay. I used so many recovery utilities and found some really old files on my HD's. I even found one DVD image from 2002. I thought it was pretty incredible that I could've brought it back if I wanted to.

Oh well...it wasn't a total wash. I learned alot from this experience. (never trust windows!)

thanks to everybody who helped me out.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
URGENT HELP NEEDED, Formatted my harddisk Accidentally xenev Linux - Software 6 06-08-2005 09:36 AM
formatted my home partition accidently marsques Linux - Newbie 8 12-21-2004 03:47 PM
partition formatted on each new installation? timsch75 Linux - Newbie 2 03-01-2004 11:28 AM
newbie - removed partition accidentally kristalchimera Debian 6 07-12-2003 11:36 PM
Accidentally supermounted hd partition hayduke Linux - Newbie 1 02-25-2003 06:48 PM


All times are GMT -5. The time now is 11:41 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration