Welcome to the Linux Foundation Forum!

Repair windows 8.1 boot through Debian

Options

I screwed up my Windows 8.1 boot with Easybcd. I checked some box that said count down from 5 seconds in the edit boot section now if I boot in UEFI boot it says windows cannot boot insert repair disk and if you don't have the repair disk contact manufacturer. If I boot in CSM boot mode I can get to Debian 8 grub menu but windows is not on it. I want to use Grub customizer to be able to boot windows and maybe have windows show up on the Debian grub menu if it is not to risky. I cant even see window with the grub customizer program.

Comments

  • coop31
    coop31 Posts: 5
    Options

    Boot Linux and make sure you’ve a working Internet connection and type following on the terminal/konsole.

    1. Solution

     

    sudo apt-get install syslinux

    if the package got installed use following to write the MBR.

     

    sudo dd if=/usr/lib/syslinux/mbr.bin of=/dev/sda

    2. Solution

     

    sudo apt-get install mbr

    if the package got installed use following to write the MBR.

     

    sudo install-mbr -i n -p D -t 0 /dev/sda

    Common for both

    Replace sda if you want to install the MBR to a different drive. Take a look at your hard disks with

    sudo fdisk -l if you’re unsure. Finally reboot and your windows should boot.

Categories

Upcoming Training