Category Archives: Windows

Fixing MBR for Windows 7

Recently I ran into a problem where Windows would not boot correctly.  A blinking cursor shows up and after a few seconds the computer reboots itself and continues the same process in an infinite loop.

The problem stem from the fact that I re-imaged  this harddrive using another drive which had dual boot Ubuntu 12.04 and Windows 7, and that drive used GRUB bootloader to boot.  I used Acronis to image that drive onto this target drive which i’m having a problem with.  (I only selected to image the windows partitions, ignoring the Linux partitions).

To fix the problem and have it boot straight into windows (without using GRUB)…

1. create and use a “Windows Repair Disk” and boot from that repair disk.

2. followed the instructions from the disk and do all the startup repairs.

3. Finally you need to get into the command prompt which is an option in the repair disk and run the following commands.

4. bootrec.exe /FixMbr

5. bootrec.exe /FixBoot 

6. bootrec.exe /RebuildBcd

Reset the computer and it should now boot straight into windows without any problems.  Since this was formerly a dual boot, what do I do with the left over space which use to be used for Ubuntu?

I used GParted to resize and append the left over space back to my windows partition.



How to remove EFI System partition in Windows 7

Drive was once used to as a boot recovery for mac osx.  Got a different drive for that now and wanted to use this drive on Windows 7.  When looking at the disk manager, there is a random 200MB partition that was used for the boot recovery for osx.  (EFI System Partition).   To delete this partition in Windows 7, do the following 5 steps.
  1. On the command prompt type diskpart and answer to any possible UAC prompt.
  2. On the new diskpart prompt, type list disk. Note the Disk ### column.
  3. Type, select disk ### (with ### being the disk you wish to delete. Usually the disk with partition 0 with a size of 200 MB)
  4. Finish by typing, clean.
  5. Type exit to exit diskpart