Booting to a command prompt/problems with drvmain.sdb

Posted on 2006-05-31
Last Modified: 2012-08-13
Hi, I'm having trouble with a laptop XP SP2 that crashed with a power outage. It hangs on drvmain.sdb. On my laptop, I see that file is in c:\i386. So I know this is a stupid question, but I'd like to be able to get to a command prompt to copy the drvmain.sdb file from the I386 directory into the c:\windows\apppatch directory where its hanging on the file. It hangs there even when I try to boot into safe mode with command prompt. I need to boot from a CD or something to just bring up the system at a command prompt. Would I just put the original XP CD back in and do a restore? Any suggestions?

Question by:dbanik
    LVL 13

    Expert Comment

    You should try and boot from the original XP CD, and then select the option to start the Recovery Console:

    I would suggest running chkdsk c: /r to check for disk errors once in the Recovery Console
    LVL 13

    Expert Comment

    After running the chkdsk c: /r, also run the fixboot and fixmbr commands from the Recovery Console to rebuild the boot sector (in case it was corrupted during the outage)
    LVL 69

    Expert Comment

    do you have ATA RAID 2400A  it may also pay to check the bios, is it regestering  your HDD?
    LVL 87

    Accepted Solution

    It is likely that more than that file is corrupt. If I were you, and your laptop originaly came with a windows installation CD, boot that CD, at the first recovery prompt (the re3covery console mentioned above), just pass that on, and at the next one, when the installer finds an installed XP, and whether you want to repair, say yes. This will reinstall your system files without changing system settings, program settings or data. Just make sure after having finished to rerun SP2 and the windowsupdates.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
    Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    731 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now