Answer the question
In order to leave comments, you need to log in
How to restore boot disk?
There are two disks in the computer: on the 1st (51 GB) there is Windows 7, on the 2nd (465 GB) I installed Linux Debian.
I needed Windows, but when I tried to boot from the first disk, I got an error: MBR error 1.
I booted from the installation disk, entered in the console: bootrec.exe /fixmbr.
After that, when trying to boot from any of the disks, Linux began to boot.
1. bootrec.exe /ScanOs detects Windows 1 thing.
2. Further bootrec.exe / RebuildBcd, but when I try to add the detected system to the boot list, I get: "Element not found."
3. diskpart list disk gives out only two disks, there is no boot disk (100 MB).
I really ask for help! Do not reinstall now?
Answer the question
In order to leave comments, you need to log in
Problem solved.
1. Booted into Linux (Kali), opened the GParted disk utility, noticed that only the disk on which Linux is installed has a flag (flag) boot, which boots in any case, no matter which disk I choose, as bootable.
2. I set the boot flag for the disk with Windows
3. I rebooted the computer
4. The MBR error 1 error disappeared, the BOOTMGR is missing error appeared.
5. I inserted the installation disk, booted from it, selected the "System Restore" item, waited for the system to automatically find errors, clicked "Fix and restart"
6. BOOTMGR is missing. Great, Windows 7 appeared in the "System Recovery Options" window, selected it, clicked "Next", followed. window - "Startup Repair".
7.
If it doesn't help, then here is the page . It has a section called "Restore normal Windows boot using Hiren's Boot CD".
You can also try the Grub bootloader.
Installing on Linux is elementary:
Format the flash drive (file systems: ext4, ntfs, xfs, btrfs, vfat).
0. sudo mkfs -t ntfs -L FLASH /dev/sdc1
1. sudo grub-install /dev/sdc1
The name (sdc1) can be found in the same GParted, for example.
Next, we generate a configuration file so that the installed operating systems are automatically detected.
2. sudo grub-mkconfig -o /boot/grub/grub.cfg
I hope that this helped not only myself. ;-)
You need to boot from any Live cd, check for the presence of a Windows boot partition. Check that this section is marked active.
Next - in the BIOS, we set the boot only from the disk where the Windows are and look at the error.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question