Thread: Hard Disk Data Corrupted - Please Help

  1. #1
    Registered User Draco's Avatar
    Join Date
    Apr 2002
    Posts
    463

    Hard Disk Data Corrupted - Please Help

    Hi All,
    Here is my situation. I dual-boot Windows XP and Sabayon linux on my machine. I was in windows earlier tonight and got a BSOD. Nothing new. When I restarted neither OS will load, even though grub is working fine. When I boot from a live dvd I can mount the linux partition just fine, but when I try to mount the windows partition I receive the following error:
    Code:
    mount: No such file or directory
    Does anyone know what the problem is, and if there are any solutions I can try before sending off my hard drive to a professional data recovery service? I really can't afford to lose my data.
    Thanks to everyone that read all of this,
    Draco

  2. #2
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    What exact command are you using when you try to mount the Windows partition? And what kind of partition is it? FAT32 or NTFS?

  3. #3
    Registered User Draco's Avatar
    Join Date
    Apr 2002
    Posts
    463
    Brewbuck,
    The problem does not lie in the fact that my partition is NTFS. I know the special mount commands needed, and I can even mount my NTFS formatted external drive off the livecd environment.

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Why not try to use some partition tool? They'll usually tell if the partition/HD is damaged in some way.

  5. #5
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Have you tried booting from a Windows DVD/CD - I wouldn't be surprised if the Windows checkdisk application is better at recovering your hard-disk than Linux. Even tho' linux has been able to read NTFS for quite some time, it's still a reverse-engineered product, and there's probably a more robust implementation in Windows - particularly when it comes to "figuring out what's wrong when something gone wrong" type things.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  6. #6
    Registered User
    Join Date
    Nov 2007
    Posts
    1
    Hi Draco, try a partition recovery tool. Since the problem is with your NTFS partition I suggest you to try NTFS data recovery software. I had success recovering my accidentally formatted partition using this utility. You can use the demo version to see whether the software is able to recover your files or not, if you can see the data you are looking for, then you can go for it. I understand how it feels when you lose your important data. Try this out, See if it helps you recover your lost data.

  7. #7
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Considering the original post was almost two weeks back, I suspect the original poster has either solved the problem or got on to solving the problem by recreating the data on a new disk [and hopefully using better backup technique!].

    Look at the date of posts before replying.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  8. #8
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    The best software you could get: SpinRite

    Programmed fully in assembly, has a very reasonable price. Has a high amount of good feedback.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  9. #9
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Just because something is written in full assembly doesn't make it better.
    In my book, that makes it worse since it's prone to bugs, errors, mistakes and non-portable.

  10. #10
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Quote Originally Posted by Elysia View Post
    Just because something is written in full assembly doesn't make it better.
    In my book, that makes it worse since it's prone to bugs, errors, mistakes and non-portable.
    Assembly & amateurs = UNSTABLE, assembly & professionals = ULTRAPOWER

    Plus assembly is EXACTLY the right thing when dealing directly with hardware, specially hardware corruption AND for programs that work as an OS like this one. That guy has put years of work into that program just to make everyone able to restore their harddrives quickly and reliably.

    I don't think portability is an issue, because some people just don't write code that compiles for both x86 and pocket calculators...

    Btw this is a clash between communities. There are a lot of assembly programmers out there who would be quite offended by the saying that assembly in general is unstable. And I think C++ programmers don't agree with the idea of C++ being damn slow. So I think I know which side of arguments to expect from a C++ community like this...
    Last edited by maxorator; 11-30-2007 at 12:22 PM.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  11. #11
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    OK, so let me just add two things:
    1) Assembly isn't unstable - it's just very difficult to program in and you can produce lots of bugs and general crashing while it's not intended. Assembly takes longer to develop and is harder to develop and thus more prone to errors and mistakes (which is also why I don't fully trust software written in assembly).
    2) Optimized assembly is faster than C/C++. It has been shown, for example, in emulators where speed is critical. However, I don't necessarily believe C/C++ is slow either. It's perfectly fine to write a program in C/C++ that has equaling speed to that of assembly. It depends on the use, really.

    Both have their ups & downs.
    Oh and generally, I don't see GUI being associated with assembly and I'm a big fan of pretty, nice GUIs. I don't like powerful applications that have poor GUI, lots of functions & clutter around with absolutely no descriptions. I can't stand them.
    But then again, all assembly projects doesn't necessarily need to be like that.

  12. #12
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Being more error prone is a matter of person. People dedicated to assembly programming handle their job very well. Let's just rephrase this statement: assembly is not very beginner-friendly.

    Well, I remember testing an MD5 algo, in which the C++ implementation managed to calculate and compare 110000 hashes/sec, C implementation 600000, assembly about 2 million times on my machine.

    I generally don't care about GUI. I have Windows XP with everything possible turned off. I don't like Vista's "fancy" look because the words "microsoft" and "graphics" instantly activates the "using too much processor power and memory" section of my brain and I can't stand it. Every time I look on the screen I think of it. That's why I can never work with Windows Vista.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  13. #13
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by maxorator View Post
    Being more error prone is a matter of person. People dedicated to assembly programming handle their job very well. Let's just rephrase this statement: assembly is not very beginner-friendly.
    I know it's not very beginner friendly, but even so, writing good assembly code takes lots and lots of time and it's complicated, requires good knowledge, and is very error prone. Not to mention doing easy things and using language functions such as classes is impossible in assembly. Languages like C++ were built for a reason, after all.

    Well, I remember testing an MD5 algo, in which the C++ implementation managed to calculate and compare 110000 hashes/sec, C implementation 600000, assembly about 2 million times on my machine.
    As I mentioned, assembly can be faster than C/C++, but it also depends on how you implement your code and optimizations

    I generally don't care about GUI. I have Windows XP with everything possible turned off. I don't like Vista's "fancy" look because the words "microsoft" and "graphics" instantly activates the "using too much processor power and memory" section of my brain and I can't stand it. Every time I look on the screen I think of it. That's why I can never work with Windows Vista.
    Wow. Poor you. I'd love to be using Vista if it weren't such a sad piece of software right now, so buggy, so crash-prone, etc, etc.

  14. #14
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Classes are just a different interface to exactly the same thing. You only need to know HOW to do it in assembly.

    It certainly is faster, the question just is, is it worth the time (and money)?
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  15. #15
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by maxorator View Post
    Classes are just a different interface to exactly the same thing. You only need to know HOW to do it in assembly.
    Yes, it is. But then again, it simplifies things, doesn't it?

    It certainly is faster, the question just is, is it worth the time (and money)?
    Indeed. That's the question, isn't it?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. hard disk information
    By rehan in forum Windows Programming
    Replies: 12
    Last Post: 08-29-2008, 09:37 PM
  2. How to Parallel reading flat file into C ?
    By anwar_pat in forum C Programming
    Replies: 11
    Last Post: 09-16-2006, 09:44 PM
  3. Replies: 4
    Last Post: 06-14-2005, 05:45 AM
  4. reading data from disk into array problem
    By Unregistered in forum C++ Programming
    Replies: 4
    Last Post: 05-01-2002, 03:19 PM
  5. program to check hard disk transfer rate
    By shadow99er in forum C Programming
    Replies: 3
    Last Post: 03-01-2002, 05:04 PM