Skip to main content

Backup and restore Windows MBR with MBRWizard

Those who are unfamiliar, the MBR or master boot record is a 512-byte boot sector that resides in the first sector of a hard disk and which is responsible for bootstrapping your operating system into memory and holding a disk's primary partition table. The MBR is essential for booting into the operating system, Windows in this case.

If the hard disk contains a single operating system, there is no real need to backup the MBR because the MBR can be easily repaired from Windows Recovery Console using the fixmbr command for Windows XP or by running the bootsect command for Windows 7.

Thing are different if you have multiple operating system or Windows versions installed on the disk. In this case, the MBR contains record of all the OS present on the disk and is capable of booting into any one of it, according to which the user selects in the boot menu. Repairing such an MBR through the recovery console will wipe it clean and you will be unable to boot into the other operating systems.

So the MBR on a multiple-boot system need to be backed before carrying out any system changes, such as reinstalling the primary OS, if you wish to keep the other OS intact.

MBRWizard is a command line tool that allows you to save, restore and repair the MBR among other things like creating new partition, aligning partition, deleting partition and so on.

Download MBRWizard CLI tool from this page (click on the CLI Freeware tab). Open Windows Command Prompt and navigate to the location where you have saved MBRWizard. The easiest way to do this is to drag the executable file and drop it into the Command Prompt window to automatically populate the directory path. Alternatively, you can copy the MBRWizard executable to Windows System32 directory. This will allow you to run MBRWizard from any location.

Either way, after you have browsed to the location of MBRWizard, enter this command into Command Prompt.

MBRWiz /save=MBR /filename=D:\backupMBR

mbrwizard (1)

This will backup the MBR to D:\backupMBR. Of course, you are free to choose your own location.

To restore a saved MBR issue this command:

MBRWiz /restore=MBR /filename=D:\backupMBR

mbrwizard (2)

Related: PLoP Boot Manager

Comments

  1. Finally those commands worked for MBRWizard.Command.Line.3.0.83.
    I was looking all over the place, thank you, nice post.

    ReplyDelete

Post a Comment

Popular posts from this blog

How to Record CPU and Memory Usage Over Time in Windows?

Whenever the computer is lagging or some application is taking too long to respond, we usually fire up task manager and look under the Performance tab or under Processes to check on processor utilization or the amount of free memory available. The task manager is ideal for real-time analysis of CPU and memory utilization. It even displays a short history of CPU utilization in the form of a graph. You get a small time-window, about 30 seconds or so, depending on how large the viewing area is.

How to Schedule Changes to Your Facebook Page Cover Photo

Facebook’s current layout, the so called Timeline, features a prominent, large cover photo that some people are using in a lot of different creative ways. Timeline is also available for Facebook Pages that people can use to promote their website or business or event. Although you can change the cover photo as often as you like, it’s meant to be static – something which you design and leave it for at least a few weeks or months like a redesigned website. However, there are times when you may want to change the cover photo frequently and periodically to match event dates or some special promotion that you are running or plan to run. So, here is how you can do that.

Diagram 101: Different Types of Diagrams and When To Use Them

Diagrams are a great way to visualize information and convey meaning. The problem is that there’s too many different types of diagrams, so it can be hard to know which ones you should use in any given situation. To help you out, we’ve created this diagram that lays out the 7 most common types of diagrams and when they’re best used: