Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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!
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".
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.
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.
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.
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.
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
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.
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:
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!
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!)