1

My brother wants to move to Linux, so he installed it on his second HDD. The second HDD was the boot sector drive, but Windows and all the data was on the first HDD. After installing, Linux would boot, but not Windows 8.1 .

So, I booted from the Windows Install disc, and ran startup Repair, which told me it failed, with no other explanation. I then tried other advanced options from a command prompt window, using diskpart as per How can I repair the Windows 8 EFI Bootloader? .

bootrec /scanos found the Windows install on C:
bootrec /fix executed OK, but
bootrec /rebuildbcd told me it failed.

And, now, Linux will not boot, either, but I can easily re-install Linux

How may I recover the Windows Boot instructions?

I do not know if this is relevant, but here's the partitioning:

sel vol 1

should show me the four partitions on sdb but instead I get the same as

sel vol 0

i.e., sda1 through sda11

sda1 Extended
sda5 - ntfs D:
sda6 - ntfs E:
sda7 - ntfs F:
sda8 - ntfs G:
sda9 - ntfs H:
sda10 - ntfs I:
sda11 - ntfs J:
sda2 Primary, ntfs, C:

sdb1 - fat32 Boot
sdb2 - ext4 /
sdb3 - ext4 /home
sdb4 - swap

1
  • Re-install Win 8.1, re-install Mint 17.1, that solved it. Three fine answers from other folks shown here, but I was under time pressure to solve the user's problem and could not wait for their answers to arrive.
    – K7AAY
    Commented Apr 22, 2015 at 5:04

3 Answers 3

2

Hmm, this is a typical case if you don't know how these installers work. But don't feel bad. I have seen that many times because the causes are not obvious.

Let me first explain what has happened and then we'll see how to fix it.

When you installed Windows, the disk on which you installed was not on the Sata port0. The disk on which you installed Linux was on that port. But the Windows installer has this habit to install the bootmgr (the 350MB EFI system partition) on the first disk (the one with the lowest port number) it finds. The remedy is to either switch the Sata cables on the mobo or to disconnect the disks on the lower ports during the installation.

Then you installed Linux on the port0 disk. The Linux bootmgr is the Grub which did overwrite your Windows bootmgr. If you are a Grub expert, you can fix that, but we will try to do that in another way.

Download the bootable CD iso of Partition Wizrd and burn that to CD. Boot your PC with that CD and mark the C partition of Windows active. See the steps in the picture below.

Now run a startup/repair 3 times. Then try to boot Windows.

Next time you install Linux on the port0 disk, unplug the disk where Windows is. Or even better and a lot more flexible - install Linux in a virtual partition. That is completely trouble free and will not present any such problems as you have seen. Here is how. In this tutorial I also use Mint.

enter image description here

1
  • Nope. "Then you installed Linux on the port0 disk." a) Wasn't me. b) Linux was installed to sdb (sata1) not sda (sata0).
    – K7AAY
    Commented Apr 14, 2015 at 4:59
2
+25

You could try a boot rescue CD that specializes in boot-repair.

Here are a couple of such tools:

1
  • boot-repair-disk always solves my boot problems. Commented Apr 16, 2015 at 23:55
1

This sounds like the Boot loader for linux did not detect windows and give the options to boot from windows from the boot loader, you will have to manually add in the option for the boot loader. But you'll need to install linux first. Since the windows recovery disk has wiped out the MBR of the linux boot loader

  1. Re install linux
  2. check for windows boot option in linux boot loader 2b. if not found add the options in the boot loader system

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .