Turn on thread page Beta

My hard drive has packed up watch

Announcements
    Offline

    2
    ReputationRep:
    (Original post by Bhaal85)
    Defrag your hard drive!
    Sorry, but I don't think so mate... We're talking at the level of the MBR here, defrag is something relative only to filesystems; at this stage we haven't even managed to load the O/S' bootsector yet!
    Offline

    13
    ReputationRep:
    (Original post by rahaydenuk)
    Sorry, but I don't think so mate... We're talking at the level of the MBR here, defrag is something relative only to filesystems; at this stage we haven't even managed to load the O/S' bootsector yet!
    I think he was taking the piss...
    Offline

    0
    ReputationRep:
    (Original post by rahaydenuk)
    Sounds like your MBR (master boot record; occupies track 0, head 0, sector 1 of your hard disk) table has been corrupted from the sounds of that error message (it sounds like the very short and non-descriptive ones inserted into MBR code as they have to fit the code and messages all within 446 bytes!), but your data is most likely still intact. If you can remember the (exact) structure of the partitions on the disk etc., you could try rebuilding the MBR table by hand (not fun) and then raw writing it to the first sector of the disk. This is probably what I would do, however it could also be FAT tables which have been damaged making the job a whole lot harder. If you really need this data, there are professionals out there who can probably get almost all (if not all of your data) back intact, but they probably charge a fortune. If you want to try rebuilding your MBR, you'll need to do some research on the net as to its exact structure and do some serious praying...

    Some advice for everyone: use a utility such as partcopy (or in *nix, dd) to save a copy of the first sector (512 bytes) of your HDD to a floppy so that if your MBR ever gets corrupted, you can just restore it again. Obviously this would need to be re-backed up each time you modified partition structure with something like fdisk.

    Good luck,
    I just had a look on your website and I was kind of left speechless by the fact you're developing your own operating system. Is this for a PhD or somthing? It looks good and it must be so hard to do.
    Offline

    1
    ReputationRep:
    (Original post by 2776)
    I think he was taking the piss...
    Just a teeny weeny bit.
    Offline

    2
    ReputationRep:
    (Original post by amazingtrade)
    I just had a look on your website and I was kind of left speechless by the fact you're developing your own operating system. Is this for a PhD or somthing? It looks good and it must be so hard to do.
    LOL, no PhD yet, currently in my first year of an undergraduate degree in maths with computer science at Imperial in London.

    O/S development is difficult, OK, very difficult, but I like a challenge! And the idea of being in complete control of the PC and relying on no one else's code at all (OK apart from the BIOS routines...) is very appealing to me...
    Offline

    13
    ReputationRep:
    (Original post by rahaydenuk)
    LOL, no PhD yet, currently in my first year of an undergraduate degree in maths with computer science at Imperial in London.

    O/S development is difficult, OK, very difficult, but I like a challenge! And the idea of being in complete control of the PC and relying on no one else's code at all (OK apart from the BIOS routines...) is very appealing to me...
    A dominatrix...would that get you a phd?
    Offline

    1
    ReputationRep:
    (Original post by rahaydenuk)
    LOL, no PhD yet, currently in my first year of an undergraduate degree in maths with computer science at Imperial in London.

    O/S development is difficult, OK, very difficult, but I like a challenge! And the idea of being in complete control of the PC and relying on no one else's code at all (OK apart from the BIOS routines...) is very appealing to me...
    Whatever turns you on.
    Offline

    0
    ReputationRep:
    (Original post by rahaydenuk)
    LOL, no PhD yet, currently in my first year of an undergraduate degree in maths with computer science at Imperial in London.

    O/S development is difficult, OK, very difficult, but I like a challenge! And the idea of being in complete control of the PC and relying on no one else's code at all (OK apart from the BIOS routines...) is very appealing to me...
    Blimey I wouldn't know where to start, I do want to learn some x86 assembler but doing an o/s is somthing else.

    Not only do you have to control the processor but also the drives etc. It makes my course kind of seem like micky mouse.
    • Thread Starter
    Offline

    15
    ReputationRep:
    porn? what porn?

    to rich: \I sort of thought my MBR was the problem, when i ran the system ecovery disk, it said that the disk was corrupt and that the MBR was most probably the problem. when i ran FIXMBR (a DOS utility) and restarted the computer, it didn't even give me the "Error Loading Operating System" message, just nothing happened. and i left it running an hour (in the hope that it was just slow) and still nothing happened, just a blank screen with a blinking cursor.

    I only had one partition on the disk, so i don't think finding its start and end points will be much of a problem. cheers.
    Offline

    2
    ReputationRep:
    (Original post by elpaw)
    porn? what porn?

    to rich: \I sort of thought my MBR was the problem, when i ran the system ecovery disk, it said that the disk was corrupt and that the MBR was most probably the problem. when i ran FIXMBR (a DOS utility) and restarted the computer, it didn't even give me the "Error Loading Operating System" message, just nothing happened. and i left it running an hour (in the hope that it was just slow) and still nothing happened, just a blank screen with a blinking cursor.

    I only had one partition on the disk, so i don't think finding its start and end points will be much of a problem. cheers.
    Oh good, one partition makes things easier!

    It looks then that this FIXMBR has overwritten the MBR code with something which now doesn't even display error messages, however it must be valid code or you would get an invalid opcode exception and the machine would reboot... it must be endlessly looping or something which is a bit weird... If you try rebooting off of a DOS bootdisk with fdisk and run fdisk /mbr that should at least restore a valid 446 bytes of MBR bootcode so you should at least get the previous error message again (or something along the same lines).

    Do you have Norton Disk Doctor, I've heard that might help...
    Offline

    2
    ReputationRep:
    (Original post by amazingtrade)
    Blimey I wouldn't know where to start, I do want to learn some x86 assembler but doing an o/s is somthing else.

    Not only do you have to control the processor but also the drives etc. It makes my course kind of seem like micky mouse.
    I'm sure you'll probably do some O/S development (at least theory anyway) in your course at some stage... a computing degree is by no means mickey mouse, lol.
    Offline

    1
    ReputationRep:
    If all else fails, raise a hammer to it, whilst playing 'MC Hammer' in the background.
    • Thread Starter
    Offline

    15
    ReputationRep:
    (Original post by rahaydenuk)
    Oh good, one partition makes things easier!

    It looks then that this FIXMBR has overwritten the MBR code with something which now doesn't even display error messages, however it must be valid code or you would get an invalid opcode exception and the machine would reboot... it must be endlessly looping or something which is a bit weird... If you try rebooting off of a DOS bootdisk with fdisk and run fdisk /mbr that should at least restore a valid 446 bytes of MBR bootcode so you should at least get the previous error message again (or something along the same lines).

    Do you have Norton Disk Doctor, I've heard that might help...
    amazing said that norton ghost was good, i assume that it is included with disk doctor, but i would rather have something that i didn't have to *cough* pay for. i'm only a student, i need my money but if it isn't expensive i might look into it. but i think Time (where i got my pc from just 2 months ago) should somehow fix it, it's probably covered by the guarantee.
    Offline

    2
    ReputationRep:
    (Original post by elpaw)
    amazing said that norton ghost was good, i assume that it is included with disk doctor, but i would rather have something that i didn't have to *cough* pay for. i'm only a student, i need my money but if it isn't expensive i might look into it. but i think Time (where i got my pc from just 2 months ago) should somehow fix it, it's probably covered by the guarantee.
    Time might help out, but I doubt they cover loss of data in the guarantee... they may agree to restore your system to a working level, but most likely destroying your data in the process. Be careful if you let them at your system. What about *cough* Kazaa just to *cough* borrow Norton Ghost/Disk Doctor just to fix this small problem?
    Offline

    0
    ReputationRep:
    elpaw email me, i got quite a few software that may help you. your hard drive is intact and everything is recoverable.
    • Thread Starter
    Offline

    15
    ReputationRep:
    (Original post by SaeedRehman)
    elpaw email me, i got quite a few software that may help you. your hard drive is intact and everything is recoverable.
    I would be able to email you if I had your email......
    • Thread Starter
    Offline

    15
    ReputationRep:
    ok, just a little update on this.

    I managed to download some seagate diagnostic tools, and they ran for 10 hours looking through my hard drive for errors/problems... etc... and they found nothing wrong with it. I ran some windows recovery tools with it and the only problem they could find was that the file system was unknown (it wasn't recognised by windows). it then changed the filesystem to FAT, and now i can access my hard drive. unfortunately there is nothing to access. all the files and folders have weird names like ^&$*^&%SJKI&*(TGIU. (if you get my gist) but curiously there are still the same amount of files and folders that there were before (although i can't open them or anything, and it says the capacity is onlty 10MB). I suspect that what the recovery tool has done is just to tell that the disk is FAT, but left everything else intact. all i think i need to do now is to somehow tell (or order) my computer to think that the hard drive is NTFS formatted (the same way that the recovery tool caused it to think that it was FAT formatted), and hopefully everything will be back as it was before. All i want to do is just turn a switch on the hard drive that gives away the filesystem, not to actually format it.

    so, my dilemma: how do i do this?
    Offline

    2
    ReputationRep:
    (Original post by elpaw)
    ok, just a little update on this.

    I managed to download some seagate diagnostic tools, and they ran for 10 hours looking through my hard drive for errors/problems... etc... and they found nothing wrong with it. I ran some windows recovery tools with it and the only problem they could find was that the file system was unknown (it wasn't recognised by windows). it then changed the filesystem to FAT, and now i can access my hard drive. unfortunately there is nothing to access. all the files and folders have weird names like ^&$*^&%SJKI&*(TGIU. (if you get my gist) but curiously there are still the same amount of files and folders that there were before (although i can't open them or anything, and it says the capacity is onlty 10MB). I suspect that what the recovery tool has done is just to tell that the disk is FAT, but left everything else intact. all i think i need to do now is to somehow tell (or order) my computer to think that the hard drive is NTFS formatted (the same way that the recovery tool caused it to think that it was FAT formatted), and hopefully everything will be back as it was before. All i want to do is just turn a switch on the hard drive that gives away the filesystem, not to actually format it.

    so, my dilemma: how do i do this?
    I'm afraid there's no magic switch as far as I'm aware. I think that O/Ss generally use heuristics of particular filesystems to ascertain the filesystem of a particular partition.

    I'm afraid nothing further springs to mind as to a solution to your problem; I would recommend you try USENET groups or specialist forums for further assistance.

    Good luck,
    • Thread Starter
    Offline

    15
    ReputationRep:
    I would just like to say this:

    RESULT!!!!!!!!!!

    i looked up http://www.ntfs.com to get some more info on ntfs drives, and they had a link to this nifty tool for recovering data (it even seeks out any filesystems and deleted partition tables and things like that). so now I know that my data is on the disk and hasn't been corrupted. all i now need is some way of saving all the important stuff on a new hard drive or CD/DVD-RW and reformatting the hard drive.
    Offline

    0
    ReputationRep:
    (Original post by elpaw)
    I would just like to say this:

    RESULT!!!!!!!!!!

    i looked up http://www.ntfs.com to get some more info on ntfs drives, and they had a link to this nifty tool for recovering data (it even seeks out any filesystems and deleted partition tables and things like that). so now I know that my data is on the disk and hasn't been corrupted. all i now need is some way of saving all the important stuff on a new hard drive or CD/DVD-RW and reformatting the hard drive.
    Congrats. I was worried that we wouldn't be seeing you on here for a while. Hope it all works out on top
 
 
 
Poll
Cats or dogs?
Useful resources

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Write a reply...
Reply
Hide
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.