none
Run Chkdsk on VM (Blue Screening)

    Question

  • Hi Everyone,

    I have a VM running on Hyper V Serer 2008 Enterprise SP2. The guest OS is also running Server 2008 SP2

    My VM is blue screening on startup. Same happens if I try and boot into safe mode. One of the messages displayed on the blue screen is  suggestion to run Chkdsk /F.

    My question is how can I run Chkdsk on a VM.

    BTW Booting into safe mode with  command prompt also blue screen.

    Advice welcomed.

    Thanks in advance.

    Adam

    Saturday, October 13, 2012 1:30 AM

Answers

  • Hi,

    According to your screen capture, “Stop 0x0000007B” error indicates INACCESSABLE_BOOT_DEVICE. This issue occurs if the disk driver is disabled.

    I think this is why you can’t find Dump file, since system can’t locate disk, of course it can’t create Dump file in disk.

    Currently, you may recreate a VM and deploy redeploy your applications, and then copy application data from the VHD file, or you may mount the VHD in the new created VM as a data disk. (By the why, which applications were installed on the Blue Screen machine?)

    If this is a production server and you should recovery it for business usage, we recommend you contact Microsoft Customer Support Services (CSS), so that a dedicated Support Professional can help you on this issue.

    To obtain the phone numbers for specific technology request, please refer to the website listed below:

    http://support.microsoft.com/default.aspx?scid=fh;EN-US;PHONENUMBERS

    If you are outside the US, please refer to http://support.microsoft.com  for regional support phone numbers.

    Thanks for your understanding.

    For more information please refer to following MS articles:

    Error message occurs after you change the SATA mode of the boot drive
    http://support.microsoft.com/kb/922976

    Hope this helps!

    TechNet Subscriber Support

    If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.

     

     


    Lawrence

    TechNet Community Support

    • Marked as answer by Agilbert2003 Monday, November 05, 2012 9:15 AM
    Monday, November 05, 2012 7:04 AM

All replies

  • Might set the guest to boot the 2008 installation media ISO, then console in and start the Windows Recovery Environment, then run chkdsk from Command Prompt

    http://technet.microsoft.com/en-us/library/cc770593(WS.10).aspx#BKMK_Windows_Recovery_Environment_overview

     

     

     


    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    Saturday, October 13, 2012 1:57 PM
  • Under Windows 7 or Windows 2008 or later you can Attach a VHD file under Disk Manager.  So from another system, even the Hyper-V host, attach the VHD of the VM (VM must be off), and run chkdsk against the attached drive.  Detach when done and see if that fixes the problem with the VM.

    tim

    Saturday, October 13, 2012 1:58 PM
  • Hi,

    I would like to confirm what is the current situation? Have you resolved the problem?

    If there is anything that we can do for you, please do not hesitate to let us know, and we will be happy to help.


    Lawrence

    TechNet Community Support

    Wednesday, October 17, 2012 2:39 AM
  • Hi,

    As this thread has been quiet for a while, we assume that the issue has been resolved. At this time, we will mark it as 'Answered' as the previous steps should be helpful for many similar scenarios.

    If the issue still persists and you want to return to this question, please reply this post directly so we will be notified to follow it up. You can also choose to unmark the answer as you wish.

    In addition, we'd love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar problems.

    Thanks!


    Lawrence

    TechNet Community Support

    Wednesday, October 24, 2012 5:49 AM
  • Hi Lawrence,

    Sorry for delay in replying. This issue is still outstanding thanks.

    Regards,

    Adam

    Sunday, October 28, 2012 7:55 PM
  • Hi,

    What’s the error code of Blue Screen?

    Have you tried to mount the VHD of the Windows Server 2008 VM to other VM, can you access data in the VHD?

    Please help to collect following dump files and use Windows Live SkyDrive (http://www.skydrive.live.com/) to upload the files and then give us download address.

    Memory   Dump Type

    Default   Location (variable)

    Default   Location (typical)

    Small   memory dump

    %systemroot%\Minidump\

    c:\Windows\Minidump

    Kernel   memory dump

    %systemroot%\Memory.dmp

    c:\Windows\Memory.dmp

    Complete   memory dump

    %systemroot%\Memory.dmp

    c:\Windows\Memory.dmp

    Have you tried “Dave” suggestion to run “chkdsk” in Windows Recovery Environment”, also you may try other recovery methods in Windows Recovery Environment.

    For more information please refer to following MS articles:

    Error message on a blue screen when you perform an operation to a DFS server from a computer that is running Windows Vista or Windows Server 2008: "PAGE_FAULT_IN_NONPAGED_AREA"
    http://support.microsoft.com/kb/976452
    Server 2008 r2 BSOD and chkdsk fails
    http://social.technet.microsoft.com/Forums/en/winservergen/thread/ac31f3d9-f703-46af-ab57-27872bbda1e8

    Hope this helps!

    TechNet Subscriber Support

    If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.



    Lawrence

    TechNet Community Support

    Tuesday, October 30, 2012 7:17 AM
  • Hi Lawrence,

    I haven't been able to mound the VHD in Disk Management.  I don't have the context menu to Attach VHD when I right on Storage --> Disk Management

    I was able to run Chkdsk from the Windows Recovery Environment. Running Chkdsk didn't resolve the issue.

    Sorry, do you have suggestion for getting the dump files. I'm unable to mount / attach the VHD.

    Thanks

    Adam

    Tuesday, October 30, 2012 10:15 AM
  • Not having access to mount the VHD in disk management is very strange.  Ensure that you have clicked on Disk Management first so that you get the list of available volumes in the center pane, then right click on Disk Management.  If you can't get to this option, there is something seriously wrong with your Windows Server 2008 installation.

    If you can't mount the disk this way, you may have to resort to your backup and restore the environment from that.


    tim

    Tuesday, October 30, 2012 12:33 PM
  • I'm running Server 2008 Enterprise with SP2. Hyper-V role enabled.

    I"ll try running Disk Management from another machine.

    Thanks

    Tuesday, October 30, 2012 6:25 PM
  • Hi,

    Windows 7 and Windows Server 2008 R2 provides native support for Virtual Hard Disk (VHD) file format in the core storage system and disk management tools to simply image management.

    In Windows 7 and Windows Server 2008 R2 we can use disk management tools (the DiskPart command-line tool and Disk Management Console) to create, attach, and detach VHDs.

    This feature is not available in previous OS version.

    You may attach this VHD from other system or install some other tools to mount VHD.

    For more information please refer to following MS articles:

    Create, attach, and detach VHDs
    http://technet.microsoft.com/en-us/library/dd440865(v=WS.10).aspx#four
    How to mount a VHD under Vista by double clicking
    http://blogs.msdn.com/b/cschotte/archive/2008/03/26/how-to-mount-a-vhd-quickly-under-vista-using-your-mouse.aspx

    Hope this helps!

    TechNet Subscriber Support

    If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.


    Lawrence

    TechNet Community Support

    Wednesday, October 31, 2012 2:20 AM
  • thanks Lawrence,

    The issue is that that I"m running "Server 2008" and not "Server 2008 R2" That said I was able attach the VHD from another machine. I have run chkdsk, which found no errors.

    Nor was I able to find any of the files or directories you mentioned (minidump) in an earlier post. I searched the drive for each. The closes I came was with the minidump folder which I found in some of the Users profiles. But nothing with the current year.

    Below is the screen shot of the console when the machine boots to blue screen.

    Thanks,

    Adam

    Thursday, November 01, 2012 8:40 PM
  • Hi,

    There is no screen shot in your above posting. :-)

    And since there is no dump file, we can’t analyze it for further troubleshooting.

    Do you have a System state backup or full System back for that Virtual Machine, you may use recovery and troubleshooting tools to restore your server.

    For more information please refer to following MS articles:

    Recovering Your Server
    http://technet.microsoft.com/en-us/library/cc753920.aspx
    Using the Full System Restore wizard
    http://technet.microsoft.com/en-us/library/system-restore.aspx
    Your computer may freeze or it may restart to a black screen that has an 0xc0000034 error message after you install a Windows Vista service pack
    http://support.microsoft.com/kb/2525966

    Hope this helps!

    TechNet Subscriber Support

    If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.

     

     


    Lawrence

    TechNet Community Support

    Friday, November 02, 2012 6:50 AM
  • Hi Lawrence,

    Yes I have a system state backup, which I have applied to a new VM. However none of the applications installed on the orginal machine are restored by the backup restore.

    Friday, November 02, 2012 8:54 PM
  • Hi,

    According to your screen capture, “Stop 0x0000007B” error indicates INACCESSABLE_BOOT_DEVICE. This issue occurs if the disk driver is disabled.

    I think this is why you can’t find Dump file, since system can’t locate disk, of course it can’t create Dump file in disk.

    Currently, you may recreate a VM and deploy redeploy your applications, and then copy application data from the VHD file, or you may mount the VHD in the new created VM as a data disk. (By the why, which applications were installed on the Blue Screen machine?)

    If this is a production server and you should recovery it for business usage, we recommend you contact Microsoft Customer Support Services (CSS), so that a dedicated Support Professional can help you on this issue.

    To obtain the phone numbers for specific technology request, please refer to the website listed below:

    http://support.microsoft.com/default.aspx?scid=fh;EN-US;PHONENUMBERS

    If you are outside the US, please refer to http://support.microsoft.com  for regional support phone numbers.

    Thanks for your understanding.

    For more information please refer to following MS articles:

    Error message occurs after you change the SATA mode of the boot drive
    http://support.microsoft.com/kb/922976

    Hope this helps!

    TechNet Subscriber Support

    If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.

     

     


    Lawrence

    TechNet Community Support

    • Marked as answer by Agilbert2003 Monday, November 05, 2012 9:15 AM
    Monday, November 05, 2012 7:04 AM
  • Hi Lawrence,

    Thanks for all your assistance. I think the easiest path is to recreate the with a new install. Thanks.

    Adam

    Monday, November 05, 2012 9:16 AM