home » Questions » Windows 7 boot partition recovery

Windows 7 boot partition recovery

Hello dear readers.

Sometimes, as a result of various actions, it may happen that the computer refuses to enter the operating system. And in some cases, this is due to the disruption of an important tool. The solution is to repair the Windows 7 bootloader.

There are several main signs indicating the need to "return to life" the corresponding element of the operating system:

bootrec( )

To return your computer to working condition, you need to perform a number of actions. In addition, for the procedure, we need the Windows installation files. So without a disk with the corresponding data we can not cope. We do the following:


This command will show all the possible options it works with.

Description of Bootrec keys( )

Commands in the environment cmd.exe can be run in the standard version, or with special additions. So, for example, if you write " bootrec.exe /FixMbr”, the program writes a boot record to the main partition. The latter is compatible with Windows 7 and Vista. This will help restore the functionality of the device. In addition, this trick can be resorted to if there is a need to remove non-standard code in the corresponding segment. In this case, the existing partition table remains the same.

In the case of using the key "", the program enters a new boot sector. It is also compatible with the above operating systems from Microsoft. This option is used in several cases:

    The boot file has been replaced with a non-standard one.

    He's damaged.

    A previous build has been posted since version 7 or Vista. So, for example, after installing XP, the Windows NT bootloader is used.

Interesting to know! The same effect can be achieved by using the program " bootsect.exe". It is also on disk. To do this, write " bootsect /NT60SYS". A boot sector will appear that is compatible with "". For detailed information, you need to run the utility with the key " /help».

When writing " bootrec.exe /ScanOs”, the application scans all available drives for OS 7 and Vista. As a result, users receive a list of all found systems, even those not registered in the data storage regarding loading.

Using the key " /RebuildBcd"will start scanning all disks for the placement of installed operating systems. A list is compiled from which they can be added to the repository. In addition, this command will allow you to rebuild the database. True, before this, it is necessary to delete the past data.

The above utility has wide functionality. But at the same time, it will not help if the system startup file is missing. In this case, you need to resort to another tool.

It is worth noting that it works in automatic mode. That is, users only need to get to certain tools, write a command, and everything will be done on their own - there is no need to do anything during the process itself.

BCDboot( )

This tool is designed to create or restore a bootloader located in the main partition. The program also allows you to transfer files between hard drives. Even if the system is not visible on the latter.

To get started, just write " bcdboot.exe C:\windows". The operation restores corrupted data, including storage files.

The process has several options:

    Source - the location of the directory where the Windows distribution is located. In our case, this is a plastic disk or USB flash drive. This parameter is required. The rest are specified as needed.

    « /I» - sets the language of the environment. If not changed, English is used.

    « /s' - indicates the drive letter where the necessary files will be placed. By default, this is the location that is set by the BIOS or the new system - UEFI.

    « /v» – starts the detailed accounting mode.

    « /m» - combining the parameters of an existing record and a newly created one. All this is written to the new boot area.

Return after using Linux( )

It is worth imagining a situation when you previously had an operating system from Microsoft. And after installing Linux, the first one suddenly stopped running. It happened as a result of some mistakes.

If your Windows does not work after installing Ubuntu, do not immediately panic. The problem can be easily solved.

dd if=/dev/sda2 of=/linux.boot bs=512 count=1

The code above allows you to copy the boot sector from the " sda2» in linux.boot.

It is worth noting that in this operating system, the root element " / ". If this is not the case in your personal situation, first you need to find out which of the existing areas is bootable.

The entry has been copied to the user folder. Therefore, we go to the appropriate directory and transfer the file to the partition where Windows is already installed.

The result will be " Command line", in which we write only two lines and after each press " Enter»:
Bootrec.exe /FixMbr
Bootrec.exe /FixBoot
After that, we restart the device and see how everything works in our OS.

Friends, many of you have had problems loading the operating system more than once and you asked the question of how to restore Windows 7 boot and make the operating system boot normally. In this article, we will look at the most common ways to restore the Windows 7 bootloader, which help in most cases.

1. Repair Windows 7 Boot Using Repair Tool

Boot with your version of Windows 7. The main thing is that the bitness of the system matches (32-bit or 64-bit). Also, it is desirable that the release coincides (Home, Professional, Ultimate).

Instead of installing, choose System Restore.

Go to the "System Recovery Options" window and select the "Startup Repair" restore tool.

After that, the recovery program will search for errors in the boot sector and boot partition of Windows 7 and, if found, will try to fix them. After that, you will need to reboot the system and perhaps Windows 7 will boot normally.

If the first time it was not possible to restore the boot using the Windows 7 recovery tool, then try repeating this process 1-2 more times. This often helps, as the repair tool can't always fix multiple issues in one pass.

2. Repair Windows 7 Boot Using Command Prompt

If you were unable to restore your Windows 7 boot using the automatic repair tool, then try to do it using the command line. Boot with your version of Windows 7 and choose "System Restore" instead of installing.

Go to the "System Recovery Options" window and select the "Command Prompt" recovery tool.

After that, a window with a black background will appear in which you will need to write several commands.

Enter the following commands in turn:

bootrec /fixmbr
bootrec /fixboot
bootsect /nt60 ALL /force /mbr
exit

Switching the language is done by pressing Alt+Shift. After entering each command (line), you need to press the "Enter" key.

Then restart your computer.

After that, in most cases, problems associated with the boot sector and bootloader of Windows 7 will disappear and the operating system will boot normally.

If after using the command line, Windows 7 still does not boot, then try again using the automatic boot repair tool, as we discussed above.

3. Recovery boot Windows 7 with reinstallation of the system

If you were unable to restore the boot of the operating system using the methods described above, then most likely you will have to delete partitions.

Before reinstalling Windows 7, copy all the files that are important to you from your hard drive to or. This can be done using any bootable LiveCD. Please note that an external drive or flash drive must be connected to the PC before booting from the LiveCD, otherwise it may not be detected.

If, due to boot errors, you are unable to reinstall Windows 7, then delete all partitions from the disk using a third-party utility, such as the Acronis Disk Director boot disk. After that, try again with the creation of new partitions.

If, when reinstalling Windows 7 at the disk setup stage (creating partitions, selecting a partition for installation) or when you restart the computer during the installation process, you experience the same boot errors, then launch the command prompt and run the commands that we discussed above.

  • Errors when using disk utilities
  • Incorrect activators
  • Installing Windows on an existing partition with a bootloader
  • In order to prevent problems with loading in the future, you need to determine what exactly led to the problem and not repeat these errors. If you are unable to restore Windows boot, other errors occur with the installation and operation of the system, refer to the site http://esate.ru where you will find instructions for solving various problems with the operating system.

    ASP900S3 75E120BW F120GBLSB
    SSDSC2BW240H601 75E250BW SSDSC2BW240A4K5 7KE256BW

    The windows 7 bootloader stops working for many reasons - if boot.ini is damaged or if you try to install XP along with the Seven, after which the latter does not want to boot. This is due to the fact that XP overwrites the windows 7 MBR boot record. Usually, the windows 7 bootloader is restored using standard system tools. You can also use another tool, such as Bootice.

    The easiest way to restore the bootloader

    If pressing F8 does not open additional startup methods and the troubleshooter, then you will need to use a windows 7 recovery disk or flash drive. From this drive, you will need to boot the computer into the recovery environment by clicking on the system restore link at the bottom of the OS installation window.

    1. The computer will automatically try to find a solution to the problem, which will notify you in the window that opens.
    2. If the recovery utility is up to the task, all that remains is to reboot.

    If it was not possible to restore the windows 7 bootloader after XP, use the startup repair tool, which, along with others, is part of the installation disk or flash drive. Usually, these simple methods can deal with simple MBR startup problems.

    Edit boot.ini

    Boot.ini is responsible for starting the system by default. If one of the OSes is installed or removed incorrectly, its non-working record will be stored in the same boot.ini. It is located at the root of the system partition, so to edit it, the computer must be configured to show hidden files.

    Sometimes boot.ini can be corrupted by a virus or some program could contribute to it, after which the OS does not start on its own.

    The fix is ​​simple - boot from the LiveCD and edit boot.ini with regular notepad. There are only two sections here - boot loader, which controls the boot and operating systems. You should remember the value of several parameters:

    • timeout=10 - time in seconds during which the user can select an OS to run;
    • multi(0) and disk(0) are parameters that must have zero values;
    • rdisk(0) - disk number with the system partition (counted from zero).

    In general, boot.ini from one OS should look like the one in the picture.

    Using the command line to restore the MBR sector

    You can get into command line mode from the same boot disk or flash drive by opening the system restore tool and selecting the very last item "Command line".

    1. Type the Bootrec command and then press Enter, a complete list of features will appear;
    2. Write down the MBR sector, for which there is the Bootrec.exe /FixMbr command;
    3. On the successful completion of the operation after pressing Enter, the computer will notify the user in the next line;
    4. Next, carry out the procedure for writing a new boot sector, for which enter Bootrec.exe /FixBoot;
    5. It remains only to enter Exit and try to restart the computer.

    1. Enter the command line from the installation disk or flash drive;
    2. Enter Bootrec /ScanOs, after which the utility will scan the computer for an operating system;
    3. Write the Bootrec.exe /RebuildBcd command in the next line, the program will prompt you to add all found versions of windows to the start menu, including XP, etc .;
    4. It remains to agree with this by pressing Y and Enter in sequence, after which, when the system boots, you will have a choice of which OS to boot - XP or the seven.

    You can fix the problem with the MBR with one more command. To do this, at the command line, enter bootsect /NT60 SYS, then Enter. Enter Exit to exit. As a result, the master boot code will be updated and your systems will appear in the list during boot.

    In case of serious problems, it may not be possible to restore the MBR using the described methods, so you should try overwriting the files in the boot storage.

    BOOTMGR is missing

    The computer usually displays such a black screen message when the MBR sector is damaged or deleted. The reason may not be related to the MBR, for example, if the BIOS has lost the Boot tab settings and the system is trying to boot from the wrong disk. But more often it is the bootloader that is to blame, so we will describe how to restore windows 7 boot.

    On a disk with windows 7 there is always a small 100-megabyte reserved hidden partition for writing OS boot files, including a damaged BOOTMGR. You can simply copy BOOTMGR from the installation media and write to this partition. For this:

    1. Go to the command line from the recovery disk.
    2. Enter the diskpart and list volume commands in sequence, after which a list of your disks and the letters that the system assigned to each of them will appear on the screen. We are interested in a 100 MB reserved partition and an optical drive - drives C and F, respectively, as in the picture.
    3. To exit, type Exit and press Enter.

    Type the letter of the installation drive followed by a colon and the command to copy bootmrg to the reserved partition. It will look like this:

    • F: and then Enter;
    • copy bootmgr C:\ and press Enter;
    • Exit, the utility will exit.

    If copying to the hidden partition fails, the download store can be completely overwritten. Restoring the windows 7 bootloader is done with the bcdboot.exe N:\windows command, where N is the drive letter with the OS. After you are informed that the files were created successfully, you can exit the tool with the Exit command and restart your computer.

    • write the diskpart line on the command line, which calls the utility;
    • to list all available physical disks write list disk;
    • the required disk is selected with the sel disk 0 command, where 0 is the number of the only installed HDD;
    • to display all partitions of the hard drive, enter list partition;
    • to select a reserved partition, write the sel part 1 command, where 1 is the partition number;
    • make it active by typing active;
    • Exit the application by writing exit.

    In extreme cases, you can completely manually delete and format the system partition by starting from some LiveCD, and then using the bcdboot.exe command to create the sector again.

    Using Bootice

    If windows XP was installed after the "Seven", due to the overwritten MBR sector, only XP starts up and you do not have the opportunity to select a system after you turn on the computer. However, both systems are fully operational, and you can return the start menu very easily, for which the Bootice utility is used:


    In the new Bootice window on the left you will see the OS boot list, in which you will need to add the missing "Seven" to windows XP:

    • click "Add";
    • in the list that opens, select the line of the new entry windows 7;
    • on the right side in the upper input field, select the hard drive;
    • in the field below, indicate the section with the "Seven";
    • click on save basic settings.

    The program will notify you about the successful change of this element in Boot and you can exit Bootice. The next time you turn on the computer, it will already be possible to choose which OS to boot from the hard drive - windows 7 or XP.

    recoverit.ru

    Windows 7 Boot Recovery

    Friends, many of you have had problems loading the operating system more than once and you asked the question of how to restore windows 7 boot and make the operating system boot normally. In this article, we will look at the most common ways to restore the windows 7 bootloader, which help in most cases.

    Boot from the installation disk or flash drive with your version of windows 7.

    If you do not have a suitable flash drive, then it would be time to get one already.

    The main thing is that the bitness of the system matches (32-bit or 64-bit). Also, it is desirable that the release coincides (Home, Professional, Ultimate).

    Instead of installing, choose System Restore.

    Go to the "System Recovery Options" window and select the "Startup Repair" restore tool.

    After that, the recovery program will search for errors in the boot sector and the windows 7 boot partition and, if found, will try to fix them. After that, you will need to reboot the system and perhaps windows 7 will boot normally.

    If the first time it was not possible to restore the download using the windows 7 recovery tool, then try repeating this process 1-2 more times. This often helps, as the repair tool can't always fix multiple issues in one pass.

    2. Restore windows 7 boot using command line

    If you were unable to restore windows 7 boot using the automatic repair tool, then try to do it using the command line, it's simple. If your computer is not running as fast as you would like, install an SSD drive and you will get a significant performance boost! ASP900S3 75E120BW F120GBLSB

    Boot from the installation disk or flash drive with your version of windows 7 and select "System Restore" instead of installing.

    Go to the "System Recovery Options" window and select the "Command Prompt" recovery tool.

    After that, a window with a black background will appear in which you will need to write several commands.

    Enter the following commands in turn:

    bootrec /fixmbr
    bootrec /fixboot
    bootsect /nt60 ALL /force /mbr
    exit

    Switching the language is done by pressing Alt+Shift. After entering each command (line), you need to press the "Enter" key.

    Then restart your computer.

    After that, in most cases, the problems associated with the boot sector and the windows 7 bootloader will disappear and the operating system will boot normally.

    If after using the command line, windows 7 still does not boot, then try again using the automatic boot repair tool, as we discussed above.

    3. Windows 7 boot recovery with system reinstallation

    If you were unable to restore the boot of the operating system using the methods described above, then most likely you will have to reinstall windows 7 with deleting partitions.

    Before reinstalling windows 7, copy all the files that are important to you from your hard drive to an external drive or USB flash drive. This can be done using any bootable LiveCD. Please note that an external drive or flash drive must be connected to the PC before booting from the LiveCD, otherwise it may not be detected.

    Transcend TS1TSJ25M3

    If, due to boot errors, you are unable to reinstall windows 7, then delete all partitions from the disk using a third-party utility, such as the Acronis Disk Director boot disk. After that, try again to install windows 7 with the creation of new partitions.

    If, when reinstalling windows 7 at the disk setup stage (creating partitions, selecting a partition for installation) or when you restart the computer during the installation process, you experience the same boot errors, then start the command line and run the commands that we discussed above.

    The command line at the disk setup stage can be launched using the Shift + F10 key combination.

    If you have other problems with the installation:

    • windows does not see the disk
    • Can't install windows to this drive
    • Selected disk has GPT partition style

    read our articles on installing windows 7, windows 8.1 and windows 10. There are also tips on partitioning a disk and the nuances of installing windows on large disks (3 TB or more).

    4. Causes of problems loading windows

    The most common causes of windows boot failure are:

    1. Hard disk and power failures
    2. Errors when installing multiple operating systems
    3. Errors when using disk utilities
    4. Incorrect activators
    5. Installing windows on an existing partition with a bootloader

    In order to prevent problems with loading in the future, you need to determine what exactly led to the problem and not repeat these errors.

    If you have found another reason that caused the problem with loading windows, or another way to fix the problem, please write about it in the comments.

    ASP900S3 75E120BW F120GBLSB SSDSC2BW240H601 75E250BW SSDSC2BW240A4K5 7KE256BW

    ironfriends.com

    How to restore windows 7 startup via command line

    Windows error correction tools are constantly improving, offering users more and more automated solutions to quickly fix various problems. If you connect the installation media to your computer and select Startup Repair in the System Restore section, you can fix many errors that prevent windows from starting. However, if the bootloader is damaged, this method will not work, so if you encounter such a problem, you will have to restore the MBR through the command line.

    Command line launch

    You will need a boot disk with a distribution kit of the same system that is installed on the computer. Not only the version must match, but also the bit depth of Windows, otherwise the recovery will not work.


    After opening the list of available tools, first fix launch errors. If you can't resolve the bootloader corruption issue, return to the list of tools again and select Command Prompt.

    Bootrec utility

    To overwrite the MBR (data required to boot Windows) and fix bootloader errors, we will use the utility built into windows. Enter the command "bootrec" in the interpreter window. After running this utility, a list of supported commands will appear - run them in order.


    Restart your computer. The bootloader repair is done, the MBR is overwritten, so Windows should start without problems. If overwriting the MBR did not resolve the startup issue, try the remaining two commands:


    The utility will start scanning the hard drive, trying to find installed systems. When windows 7 is detected, run "Bootrec.exe /RebuildBcd". The systems found will be written to the boot menu. Exit the utility using the "exit" command and restart your computer. You no longer need to overwrite the MBR - Windows will start without errors.

    BCDboot utility

    If you can't fix the MBR error, try repairing the bootloader using the BCDboot utility. This tool allows you to create or restore a boot environment located on the active partition of the hard drive. If, as a result of a system failure, the boot environment was moved to another partition of the hard disk, then using BCDboot.exe you will return it to its place.

    Open a command prompt and type "bcdboot.exe e:\windows" (attributes are optional). Instead of "E:" you need to put the letter of the partition on which the Windows files are stored. If in the windows environment this section is marked with the letter "C", then here it can be displayed as "D" - keep this in mind when executing the command.

    After the operation is completed, restart your computer and try to start windows again. The corrupted boot environment will be repaired and the system will start without errors.

    recoverit.ru

    How to restore bootloader windows 7 and windows 8

    What is windows bootloader? In the simplest language, this is a program that ensures that the operating system is loaded immediately after turning on the computer. If we consider the evolution of windows operating systems, then in windows 2000 and windows XP, the windows loader was NTLDR (NT Loader), which can load other operating systems by setting the appropriate boot sector in a separate file. But with the advent of the new BIOS system - EFI and UEFI - the old NTLDR no longer met the requirements. From windows Vista onwards, windows 7, windows 8 and windows 8.1 began to use a new boot manager (boot manager) - BOOTMGR. Its work is closely related to the Master Boot Record (MBR) or the Master Boot Sector (MBS). When the computer boots, after checking the hardware, the BIOS reads the first sector - 512 bytes of data - from the boot hard disk. An MBR can take up more than one sector, but that's not the point here. The MBR contains the code for the primary bootloader and the hard disk partition table.

    In case of damage to the bootloader or boot record, your operating system - be it windows 7, windows 8 or windows 8.1 - will give the BOOTMGR is missing - press CTRL+ATL+DEL to restart error.

    In some cases, the error BOOTMGR is corrupt is given. The system cannot boot:

    In this case, you will no longer be able to start the windows operating system in normal mode.

    Note: First of all, before resorting to drastic actions, check if the boot sequence of hard drives is simply set incorrectly, or the BIOS settings were simply reset to default (this happens when the CR2032 battery on the motherboard runs out). This is especially common on computers with 2 or more hard drives installed. You just need to go into the computer's BIOS and check which one is set to boot. To do this, when loading, when the primary diagnostics of the hardware is in progress (white letters on a black background), press the Delete button several times. The BIOS screen should open. We are looking for the item “Hard Disk Boot Priority” or simply “Boot Device Priority” in the BIOS sections and select it:

    Before you change something, you need to know on which of the disks the operating system is installed. If you do not know, put each of the hard drives in turn first, press the F10 button to save and try to boot. The main thing is to remember which disk was first at the beginning and, if the sequence change does not bring results, return everything as it was.

    How to restore windows bootloader.

    There are two ways to recover: using standard Microsoft tools and using third-party programs. In the first option, you will need a boot disk or flash drive with the original windows 7 or windows 8 image. A third-party windows assembly may not be suitable, since on many assemblies everything starts immediately from the start of the installation of the operating system. In the case of using third-party programs, the Hiren's Boot CD is suitable for you.

    Restoring the bootloader using Microsoft tools.

    Method for windows 8 and windows 8.1

    Step 1. We restart the computer, at boot press the Delete button and get into the BIOS. In the “Boot Device Priority” section, you need to set the CDROM value in the case of a disk or USB in the case of using a bootable USB flash drive.

    Step 2. When booting from the disk, the Install windows window should open:

    At the very bottom, select "System Restore". The hard drives will be checked and a list of available operating systems will be displayed. Often there is one item on the list, and you need to select it:

    The Select Action window opens:

    Click on the "Diagnostics" icon - the section menu will open:

    Select the item "Advanced options".

    Step 3. Select the item "Automatic recovery":

    The system diagnostics will start. If any error is found, you will be shown a message about it. Then you will need to click the Fix button and wait for the fix to finish and restart the computer.

    Step 4. If automatic recovery did not reveal any problems during diagnostics or did not help, and at startup, windows 8 still does not load and the error “Bootmgr is Missing” appears, then boot from the disk again and in the “Advanced Options” section of the diagnostics, select the item "Command line":

    The windows 8 or windows 8.1 command prompt will open.

    Step 5. In the Windows 8 Command Prompt, enter the command: bootrec.exe / FixMbr Press Enter. The "/FixMbr" key is used to write to the system partition a master boot record that is compatible with windows 8 and windows 8.1. This option does not overwrite the existing partition table. Then enter the command:

    bootrec.exe /FixBoot

    And press Enter again.

    The "/FixBoot" key is used to write a new boot sector to the system partition using a boot sector compatible with windows 8 and windows 8.1.

    We restart the computer and check the loading of windows 8.

    Step 6. If after rebooting the error “BOOTMGR is missing - Press Ctrl+Alt+Del to restart” has not been resolved, run the command line again, where we type the command bootrec.exe /RebuildBcd The “/RebuildBcd” key is used to completely rebuild the configuration data. The result of executing the program with this key will be to scan the hard disk for the presence of the windows operating system and a request to add it to the boot list.

    Click - Yes (Y) and restart the computer and check.

    After the above operations, it is usually possible to restore the windows 8 and windows 8.1 bootloader. If the above methods did not help, then you need to try to restore the download using third-party programs. And if they don’t help either, reinstall windows 8, since most likely nothing else will help.

    Method for windows 7.

    Step 1. We restart the computer, at boot press the Delete button and get into the BIOS. In the “Boot Device Priority” section, you must set the value to “CDROM” in the case of a disk or USB in the case of using a bootable flash drive.

    You need to set the "1st Boot Device" parameter to "CDROM" (or USB-HDD for a flash drive). Press F10 to save the BIOS configuration. We restart the computer.

    Step 2. When booting from a disk, you will see the following window to start installing windows 7:

    Here you need to select the item "System Restore". After checking the hard drives, you will be shown a list of available operating systems:

    As a rule, there is only one system in the list, although there are users who have 2, 3 or even more operating systems on the screw. But this is less common. Click the Next button and the System Recovery Options window opens.

    Step 3. Select the item "Startup Repair". The system will be diagnosed. If an error is found, you will see a message:

    You will need to click the "Fix and restart" button. After that, the system should boot in normal mode.

    Step 4. If, after a reboot, the normal loading of windows 7 has not been restored or no problems have been identified during system diagnostics:

    Then you need to select the "Command Prompt" item in the "Recovery Options" window of the system:

    Step 5. In the windows command line, enter the bootrec.exe /FixMbr command and press Enter. Then we enter the bootrec.exe /FixBoot command and press Enter. I already wrote about what the /FixMbr and /FixBoot keys mean above.

    We restart the computer and check.

    Step 6. If, after restarting the computer, the bootloader did not recover and the BOOTMGR is missing error did not disappear, start the command line again and type the command: bootrec.exe /RebuildBcd

    The "/RebuildBcd" switch searches for installed operating systems that are compatible with windows 7 and will perform a complete rebuild of the boot configuration data. The result of the program will be scanning the hard disk for the presence of the windows operating system and a request to add it to the boot list. Press - Yes (Y) and restart the computer.

    Step 7. If the windows 7 boot error has not been resolved, then there is another way from Microsoft - the BCDBoot utility, which is used to create a system partition or restore the boot environment located in the system partition. On the command line, you need to type the command:

    bcdboot.exe c:\windows (If you have windows installed on another drive, correct the path in the command, for example, to d:\windows).

    The result will be the message "Boot file successfully created". We restart the computer and check.

    Restoring windows to boot normally with Hiren's Boot CD.

    Unfortunately, there is not always an original windows 7 or windows 8 boot disk at hand, and downloading it from the Internet can be very problematic. In this case, various small boot assemblies usually come to the rescue - the so-called liveCD, which can also be written to a disk or USB flash drive. In my opinion, the most optimal, convenient and easy service set of programs for restoring the windows 7 or windows 8 operating system is Hiren's Boot CD. There are a lot of utilities for restoring the windows bootloader on the disk, so I will show those that system administrators most often use: the Paragon Hard Disk Manager graphical program and the MBRfix console utility. First you need to download "Hiren's Boot CD", burn it to a flash drive or CD and set the BIOS to boot from CDROM or USB-HDD, depending on whether you are booting from a disk or flash drive.

    If everything is done correctly, you will see the Hiren's Boot CD start menu:

    Option 1. Paragon Hard Disk Manager.

    To launch the program "Paragon Hard Disk Manager" you need to select the item "DOS programs" or "Run DOS programs (alternative method)", and then the subsection "Disk Partition Tools" and, accordingly, the item "Paragon Hard Disk Manager" .

    Now you need to select the menu item "Wizards" \u003d\u003e "Windows Boot Recovery" in the main program window:

    The "Windows Boot Recovery" menu will open:

    Select the first item - "Search for installed copies of windows" and click the Next button.

    The program scans disks and displays a list of operating systems, which usually has only one item. Check the "Change boot entry" checkbox and click Next.

    Paragon Hard Disk Manager will overwrite the boot record (MBR). Click the Finish button and restart your computer.

    Option 2. MBRFix utility.

    To run the MBRFix utility, select the "Mini windows XP" item in the Hiren's Boot CD start menu. After the operating system boots up, you must click the "Start" button => "HBCD Menu".

    In the HBCD menu that opens, select "Partition/Boot/MBR" => "Commandline" => "MBRFix":

    To restore the windows boot record (MBR) and the windows bootloader on the C:\ drive for windows 7, the command parameters should be: MBRFix.exe /drive 0 fixmbr /win7 /yes. To view disk information, you can enter the command:

    MBRFix.exe /drive 0 driveinfo.

    I have not yet tested this utility on windows 8 and windows 8.1, so I cannot recommend it.

    nastroisam.ru

    Master Boot Record (MBR) recovery in windows 7

    After the Video Tips channel talked about a simple way to install two or more operating systems on one computer, reasonable questions rained down about what would happen if the second system got tired and there was a desire to remove it. Most likely, the bootloader will fly off (in the language of motorists, it's like a starter in a car) and you will see a black screen. Many may think "well, that's it, the computer has broken down again." In fact, the system is installed and fully functional, but it cannot start.

    It can also happen if systems are installed on the computer in a chaotic manner and the correct installation order is not followed: (C:) windows XP, (D:) windows 7, (E:) windows 8.1 (F:) windows 10.

    In a word, the "loader" can "fly" for various and more exotic reasons, but you should not be afraid of this.

    • The Master Boot Record (MBR) is the first sector on the hard disk, which contains the partition table and a small loader program that reads data in this table from which partition of the hard disk the system boots and then the information is transferred to the partition with the installed operating system, for downloading it (something like that 🙂).

    Today the conversation will be about windows 7 (although the steps to restore the "bootloader" in other systems are the same). To do this, you need either an installation disk with the operating system, I hope you haven’t thrown it away yet, or a flash drive (if you don’t have either, read the article below). We turn on the computer. We press the button responsible for entering the boot menu and set the boot priority from the drive or from the USB drive. Imagine that we are booting from an optical disc. An inscription appears during the download.

    1. Press any key to boot from CD or DVD. We reach the "Install windows" window and click the "System Restore" button.

    Probably problems will be detected immediately. Click the "Fix and restart" button.

    2. If it doesn’t help and the system still does not boot, we again reach the “System Recovery Options” window and click the “Next” button.

    Select "Command Prompt".

    Enter the first bootrec /fixmbr command

    • The utility writes a windows 7 compatible Master Boot Record (MBR) to the system partition. This option will solve problems associated with damage to the master boot record, or if desired, remove non-standard code from it. The existing partition table is not overwritten in this case.

    The second bootrec /fixboot command

    • The utility writes a new boot sector compatible with windows 7 to the system partition.

    We exit by writing exit and reboot the computer.

    3. In principle, these actions should "cure" the computer. But there are still commands if the dark clouds continue to gather overhead. We enter the bootrec /ScanOs command, the hard drive is scanned for operating systems, and if any are found, an appropriate warning will be issued. Then the bootrec / RebuildBcd command, this utility will offer to add the found windows to the boot menu, agree and enter Y and press Enter. windows was successfully added to the boot menu.

    4. In addition to the methods described, you can use the bootsect /NT60 SYS command, the main boot code will also be updated. Then exit and reboot.

    5. If nothing further helps (although it is hard to believe), we restore the boot environment using the BCDBoot.exe utility, it is used to create a system partition or restore the boot environment located in the system partition. The command line looks like this: bcdboot c:\windows If your system is installed on another partition, you need to correct the path in the command, for example, to bcdboot e:\windows

    Thus, we have successfully restored the "bootloader" in windows 7 and there is no need to drag the computer to the workshop. What if there is no installation disk or flash drive. Download at least this program in advance. Upload it to a disc or USB drive. By the way, remember we already had a post on how to create a multiboot flash drive. When it happens to see a black screen, we remember this program, there are a lot of interesting things, including the cmd.exe command line interpreter.

    This is probably enough, although the inability to start the windows 7 operating system due to a damaged or missing bootloader can be solved using programs such as Hiren's Boot CD, Paragon Hard Disk Manager, MBRFix and many other useful gizmos 🙂.

    Help the victim of the capitalist cataclysm. Share the post on social media networks:

    oleglav.com Device drivers not found when installing windows 7

    How to disable user account control in windows 7

    Hello friends! In today's article, we will re-create the Windows 7 bootloader. In what cases can this be useful.For example, Windows 7 does not boot up and gives errors related to a bootloader malfunction, for example: "An operating system was not found" (The operating system was not found), BOOTMGR is missing. Press ctrl+alt+del, NTLDR is missing when booting Windows 7. Or maybe you transferred Windows 7 from a hard drive to an SSD, but the system does not start from the SSD and displays an error or shows a black screen.You are trying to restore the boot of the operating system, but you are unable to do so.In such cases, you need to delete and then recreate hidden section - System Reserved (Reserved by the system, 100 MB), it is on this partition that the Windows 7 boot files are located.

    When installing Windows 7 on a laptop or computer with a regular BIOS (MBR hard disk), a hidden System Reserved partition is automatically created (Reserved by the system, 100 MB), the purpose of which is to store and protect operating system boot files.This partition always has the following attributes: (Active, System, Primary partition), and it starts the operating system installed on your computer.

    If you assign a drive letter to this partition and in the folder options (view) set the options "Show hidden files" and uncheck the option "Hideprotected system files", then inside you will see the "Boot" folder (containing the boot configuration storage file - BCD), and the boot manager file "bootmgr".

    For the success of our business, let's remember the Windows 7 boot mechanism and the program will help us BOOTICE. First of all, after turning on the computer, control is received by the BIOS subroutine, which checks for the operability of all components of the system unit, then the BIOS looks in its settings for the priority device for booting (hard drive, flash drive, DVD drive) and finding one (for example, a hard disk) reads the MBR boot record from it (Windows 7 is usually installed on an MBR partition disk). The MBR is located in the first sector of the boot disk, has a size of 512 bytes, and contains the NT 6.x program code,

    called PBR (Partition Boot Record) andhas its own boot record Bootmgr.

    After that, control passesboot manager file "bootmgr", which launches the Windows 7 winload.exe file. What is winload.exe? The operating system (in our case, Windows 7) is a program, and in order for it to work (begin to load), you need to run the OS executable file:winload.exe or winload.efi. WThe loader launches these files. Wloader is a small program. Filewinload.exe starts MBR- loader and filewinload.efi starts the EFI bootloader. Windows 7 in most cases is installed on a disk with an MBR bootloader.

    Windows 7 boots up in the following sequence,download manager bootmgr file processes the available information in the boot storage (BCD file), and this is the menu, display time, list of operating systems (if there are several), and so on, if the data is correct, then the operating system should be loaded. But! If at least one of the files I mentioned (bootmgr or BCD) turns out to be incorrect or completely absent, then we are guaranteed problems when loading the system.It often happens that the integrity of these files is violated for any reason (careless user actions, installation of third-party boot managers, viruses, etc.), in this case, the standard actions to restore the bootloader may not help, and then it is best to delete this partition completely, then format and re-create the boot files. How can I do that.

    We delete the hidden partition System Reserved (Reserved by the system, volume 100 MB) and create it again using the built-in systemdiskpart command line utilities

    We boot from the Windows 7 installation flash drive. If you do not find the ISO image of the seven, you can use the boot. flash drive Windows 8.1 or Win 10.

    In the initial system installation window, open the command line with the keyboard shortcut Shift + F10.

    We enter the commands in sequence:

    diskpart

    lis vol (this command displays letters, numbers, labels, size and file system. BUkva section 100 mb (С:). Volume 1. BUkva partition with installed Windows 7 - (D:).

    sel vol 1 ( select the volume with which we will work - 100 mb (C:). Volume 1)

    del vol ( delete volume 100 mb).

    After deleting the volume, an unallocated area of ​​100 MB appeared on the disk.

    creat par prim ( create a main partition in this unallocated area)

    format fs=ntfs ( create an NTFS file system on the partition)

    assign letter C ( assign the letter C to the created partition)

    activ ( make the section active)

    exit (exit diskpart)

    bootsect /nt60 C: /mbr (this command writes the necessary PBR codes to the hard disk ( Bootmgr) and MBR (NT 6.x))

    bcdboot D:\windows /s C:( create a bootloader for Windows 7, located on (D :),bootloader location (c:))

    The download files have been successfully created.

    This method is also suitable for those who have several hard drives, and they have an OS installed with a bootloader.

    On these discswe don't usebootrec /fixmbr and bootrec /fixboot toolsto update MBR and PBR codes. These commands only work with hard disk 0.The bootsect command works with the disk we specify. Tthe same goes for bcdboot.Without the /s option, bcdboot works with the active partition on hard disk 0. ANDthe /s parameter we use points to the active partition of the desired hard disk.

    Starting the computer involves checking the BIOS of all hardware, and if the self-test is successful, loading Windows. The system is loaded thanks to the bootloader, in which special data is recorded for this. This data can be corrupted at any time and a type error and others will appear. If you see a similar error on the screen, or similar, but the fact is that Windows does not boot, you need to restore the Windows 7 bootloader. By the way, I wrote about restoring the boot record for other systems in the following articles:

    Now let's get down to business.

    Restoring the Windows 7 bootloader using a recovery disk

    You need to get a disk with Windows 7, if there is one - great, but no, then make a bootable USB flash drive. The version in this case is not important, bit depth especially too. Boot from a flash drive. When you see the Windows installer at the bottom left, click " System Restore».

    A small window will appear with system restore options. Select the system to restore. Press the button " Further».

    And here is the window with the necessary options. To get started, you can try automatic troubleshooting, this is the very first item, called " Launch Recovery". By clicking it, you just wait. The disadvantage of this method is that it does not always work, so we will use manual methods.

    Using the command line

    In recovery options, open a command prompt. There, enter the following command:

    With this simple command, you can restore the boot record on Windows 7. If it doesn’t help, go to the next step:

    Both commands are more likely to restore the Windows 7 bootloader. Close the command line, restart the computer and see what happens. In fact, the system should boot without problems. If this is not the case, I have prepared a few more methods.

    Using command line #Method 2

    Again we enter the following commands and one additional one:

    • bootrec /fixmbr
    • bootrec /fixboot
    • bootsect /nt60 ALL /force /mbr

    Trying to boot the system.

    Editing the boot.ini file

    A special boot.ini file is responsible for booting the system. Today we will torture him. Perhaps its integrity was compromised as a result of a virus attack or a simple PC failure, so Restoring the bootloader of Windows 7 or another system is a priority.

    We again need a bootable USB flash drive with the seven. Once downloaded, click the "Install" button. Go to the window with the choice of disk for installing the system. Press the Shift+F10 keys to launch the command prompt.

    At the command line, enter:

    We will open notepad, where we need to click " File" and " Open". In the system drive, enable showing system files, otherwise you will not see boot.ini.

    Edit this file with notepad. There are the following options:

    • timeout=10– time to select the operating system boot (if there are several);


    Previous article: Next article:

    © 2015 .
    About the site | Contacts
    | site `s map