Author Topic: MBR Problem Prevents Boot Device From Loading  (Read 12339 times)

0 Members and 1 Guest are viewing this topic.

westes

  • Guest
MBR Problem Prevents Boot Device From Loading
« on: February 16, 2013, 01:27:19 PM »
I have what I think is an MBR problem on a boot device.   I get a Boot Device not available when I try to boot.   However if I attach another drive that is a mirror of the affected drive, that drive loads its MBR, and its Windows XP boot.ini then points back to the original boot device which is able to boot.

I ran aswMBR, and interestingly this gives a hint of a problem when the Scan tells me that the Disk 0 MBR hidden.   It should not be hidden should it?

I run FixMBR inside aswMBR, which finishes, and then I run Scan again.   Now it does not report the MBR as hidden.     

I try to reboot and I still get the Boot Device Not Available.   I turn on the drive with the mirror of the affected device.   Again the MBR loads from that mirror device and points back to the affected drive.   Windows loads from the affected device.    I re-run aswMBR, and again my MBR reports as Hidden.

Does anyone have any insight into what might be happening here?

Background facts:

- Dell Precision 380 running as the boot device two identical Western Digital Raptor 10K drives, configured as RAID 1 using the Intel built in RAID in the Dell system.

- Dell BIOS is configured to make the RAID 1 volume bootable and all other hard drive boot devices are disabled.   It is interesting because the device with the mirror of the RAID 1 volume is NOT marked as bootable, and yet the system is able to boot it and use its MBR to load and use its boot.ini to point back to the original device that does not boot.

- The boot device with RAID 1 IS marked Active.

- I run the Avast Quickscan from aswMBR with the latest download and it does not find anything.

Offline essexboy

  • Malware removal instructor
  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 40589
  • Dragons by Sasha
    • Malware fixes
Re: MBR Problem Prevents Boot Device From Loading
« Reply #1 on: February 16, 2013, 01:30:33 PM »
Are you running a raid setup ?-
Quote
Dell BIOS is configured to make the RAID 1 volume bootable and all other hard drive boot devices are disabled.   It is interesting because the device with the mirror of the RAID 1 volume is NOT marked as bootable, and yet the system is able to boot it and use its MBR to load and use its boot.ini to point back to the original device that does not boot.

westes

  • Guest
Re: MBR Problem Prevents Boot Device From Loading
« Reply #2 on: February 16, 2013, 01:56:45 PM »
I am using the Intel motherboard RAID built into the Precision 380.   It's a software RAID technology that relies on a Windows driver.   I use it extensively on many Dell Precisions at office and two at home, and I strongly feel that this is not the issue here.    The RAID 1 boot device has something wrong with its MBR.

Offline essexboy

  • Malware removal instructor
  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 40589
  • Dragons by Sasha
    • Malware fixes
Re: MBR Problem Prevents Boot Device From Loading
« Reply #3 on: February 16, 2013, 02:06:46 PM »
Unfortunately RAID devices are very difficult to clean especially in the MBR sectors

As you are in RAID 1 then the system will boot from the mirror drive (#2) and utilise data where possible from drive #1

Have you tried chkdisc /r on drive 1

westes

  • Guest
Re: MBR Problem Prevents Boot Device From Loading
« Reply #4 on: February 16, 2013, 02:11:43 PM »
Unfortunately RAID devices are very difficult to clean especially in the MBR sectors

As you are in RAID 1 then the system will boot from the mirror drive (#2) and utilise data where possible from drive #1

Have you tried chkdisc /r on drive 1

What I was trying to explain is that the system is NOT booting from the mirror drive.    The system cannot boot at all and gives the Boot Device not available message.

I am hacking around the defective MBR on the boot device by introducing a THIRD hard drive.   This third drive has a mirror image of the boot volume on it.    Now when I power on computer, the MBR from the THIRD hard drive is loading.   It then reads the boot.ini from the THIRD hard drive.   That boot.ini in turn points back to the affected boot volume, and Windows loads from that volume.

In fact right as the affected boot volume begins to load, I can POWER OFF the third hard drive and Windows boots normally from the affected boot drive.

I will try CHKDSK /R now.

Are you suggesting that I should remove the second drive and work with just the primary drive 0 in the RAID 1 drive pair (drive 0 and drive 1)?   I could do that and rebuild the RAID later.

Or are you suggesting I should just downgrade the RAID and make the boot device drive 0 a non RAID device?
« Last Edit: February 16, 2013, 02:26:41 PM by westes »

westes

  • Guest
Re: MBR Problem Prevents Boot Device From Loading
« Reply #5 on: February 16, 2013, 02:50:22 PM »
Unfortunately RAID devices are very difficult to clean especially in the MBR sectors

As you are in RAID 1 then the system will boot from the mirror drive (#2) and utilise data where possible from drive #1

Have you tried chkdisc /r on drive 1

CHKDSK /R finds nothing wrong with the drive.

After CHKDSK completes, I still cannot boot from the RAID 1 boot device.    I have to rely on the third hard drive's MBR to get the boot process started.

Offline essexboy

  • Malware removal instructor
  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 40589
  • Dragons by Sasha
    • Malware fixes
Re: MBR Problem Prevents Boot Device From Loading
« Reply #6 on: February 16, 2013, 03:54:26 PM »
I am not an expert in RAID.  But I may be able to work with a single drive.  Do you know what happened to cause this problem ?

Also what is the OS 

Offline essexboy

  • Malware removal instructor
  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 40589
  • Dragons by Sasha
    • Malware fixes
Re: MBR Problem Prevents Boot Device From Loading
« Reply #7 on: February 16, 2013, 05:00:34 PM »
Could you post the aswMBR report please as I have had a possible thought, it may be an additional TDL4 partition 

westes

  • Guest
Re: MBR Problem Prevents Boot Device From Loading
« Reply #8 on: February 16, 2013, 09:07:41 PM »
I am not an expert in RAID.  But I may be able to work with a single drive.  Do you know what happened to cause this problem ?

Also what is the OS

Before I spend half the day to re-organize a boot partition as non-RAID, I am hoping we can at least do the basic diagnostic tests.   Maybe you will see something obvious on that.    What I did do for now is to remove drive 1 from the RAID 1 boot device.   That leaves me with a single drive 0 in a degraded RAID 1 boot drive.

In this configuration I ran aswMBR again and ran FixMBR again.   The problem persists.

What happened to cause the problem is hard to pinpoint.   I use the third drive as a backup drive.   So it is on all the time.   I did not realize until yesterday that powering off that third drive the system would not boot.    If the problem ends up being an MBR rootkit, then that will be because the primary computer user is sloppy reading email with attachments.   If it is not a rootkit, then the only suspect is that I migrated about three months ago from one boot device to a new boot device.   Perhaps at the time of that migration the MBR needed to be patched/changed and was somehow corrupted.   I did not catch that corruption at the time because the system secretly went to the third drive to start the boot process, after failing on the RAID1 primary.

I am going to start backups of the boot logical volume.   By the time this is over I may end up having to recreate it from scratch.

westes

  • Guest
Re: MBR Problem Prevents Boot Device From Loading
« Reply #9 on: February 16, 2013, 09:08:09 PM »
Could you post the aswMBR report please as I have had a possible thought, it may be an additional TDL4 partition

How can I upload a group of logfiles and attach it to a post on this site?

Offline essexboy

  • Malware removal instructor
  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 40589
  • Dragons by Sasha
    • Malware fixes
Re: MBR Problem Prevents Boot Device From Loading
« Reply #10 on: February 16, 2013, 09:51:04 PM »
You should be able to attach the aswmbr report log
That one should let me know if we are dealing with a rogue partition

Or you can run this and post the log

  • Download RogueKiller  and save it on your desktop.
     
    NOTE: If using IE8 or better Smartscreen Filter will need to be disabled

  • Quit all programs
  • Start RogueKiller.exe.
  • Wait until Prescan has finished ... 
  •     Click on Scan
   
  • Wait for the end of the scan. 
  • The report has been created on the desktop.


westes

  • Guest
Re: MBR Problem Prevents Boot Device From Loading
« Reply #11 on: February 16, 2013, 10:13:46 PM »
You should be able to attach the aswmbr report log
That one should let me know if we are dealing with a rogue partition

I am asking mechanically - step by step - how do I attach files to  a post.  I don't see any link here to upload a file attachment.

Quote
Or you can run this and post the log

  • Download RogueKiller  and save it on your desktop.
     
    NOTE: If using IE8 or better Smartscreen Filter will need to be disabled

  • Quit all programs
  • Start RogueKiller.exe.
  • Wait until Prescan has finished ... 
  •     Click on Scan
   
  • Wait for the end of the scan. 
  • The report has been created on the desktop.
Is it possible to stick with programs from well known developers?  I don't like the idea of running some application attached to a forum that isn't a major software vendor's product.

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89065
  • No support PMs thanks
Re: MBR Problem Prevents Boot Device From Loading
« Reply #12 on: February 16, 2013, 10:19:03 PM »
When you use the Reply to a topic use the Attachments and other Options at the bottom of the text window.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline essexboy

  • Malware removal instructor
  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 40589
  • Dragons by Sasha
    • Malware fixes
Re: MBR Problem Prevents Boot Device From Loading
« Reply #13 on: February 16, 2013, 10:47:06 PM »
Major software vendors do not know malware like these guys..  They are all good and safe programmes that I use and they are specifically targeted at defined areas of the system to gather data

Attachment instructions are near the beginning of this post http://forum.avast.com/index.php?topic=53253.0

westes

  • Guest
Re: MBR Problem Prevents Boot Device From Loading
« Reply #14 on: February 17, 2013, 12:04:21 AM »
When you use the Reply to a topic use the Attachments and other Options at the bottom of the text window.

Thanks for helping me on the attachments link.   :)

Look at the four attachments, and let's discuss them 1) through 4)

The first attachment shows the scan of the non bootable drive.   I highlighted the area of concern.   There was an unrecognized MBR.   That is probably not good.

The second attachment shows what the non bootable drive looks like after I ran FixMBR.   Now the MBR shows as "hidden".     Is the MBR supposed to be hidden?  It is not on my other computers.   So what's hiding it?

The third attachment shows what the drive looks like when I ran FixMBR again.   However the problem persists.   And after several reboots the MBR is hidden again.

The fourth attachment shows what the drive looks like after I disabled drive 1 in the RAID 1 pair.   The only drive left on the system should be drive 0.   It shows drive 2, which is weird, and it might be a stub of the third drive which I power off right at the start of the boot process (I only needed it for its MBR to start the boot process, and I wanted to simplify things down to a single drive configuration as you requested).   After running FixMBR here the problem persists.