Win10 not booting after Linux installation - UEFI/BIOS conflict?

Page 1 of 2 12 LastLast

  1. Posts : 7
    Windows 10 pro
       #1

    Win10 not booting after Linux installation - UEFI/BIOS conflict?


    I have tried to install Linux Mint, and was warned about installing due to an UEFI conflict. I ignored this warning(!).

    After that I have been unable to boot from the harddisk - no Win10 boot no Linux boot.

    I have Linux on a stick and have been able to boot that, and verify that the Win10 partitions appear fully intact (for all simple purposes at least).

    I have tried reinstalling Linux in other modes but without luck.

    Windows/Panther/Setupact.log:
    2017-12-16 12:19:44, Info IBS Callback_BootEnvironmentDetect: Detected boot environment: BIOS

    I have made a Win10 recovery USB stick and tried using that to re-establish Win10 booting, but without luck:

    Sequence of bootrec commands, in accordance with this thread:
    bootmgr not found. bootrec /rebuildbcd and /fixboot give error
    C:\>bootrec /fixmbr
    The operation completed successfully.
    C:\>bootrec /fixboot
    Element not found.
    C:\>bootrec /rebuildbcd
    Scanning all disks for Windows installations.
    Please wait, since this may take a while...
    Successfully scanned Windows installations.
    Total identified Windows installations: 1
    [1] D:\WindowsAdd installation to boot list? Yes(Y)/No(N)/All(A):a
    Element not found.

    Next step was trying diskpart in accordance with the same thread:
    C:\>diskpart
    Microsoft DiskPartversion 10.0.16299.15
    Copyright (C)Microsoft Corporation.
    On computer:MININT-FN071TD
    DISKPART> listdisk
    Disk ### Status Size Free Dyn Gpt
    -------- ------------- ------- ------- --- ---
    Disk 0 Online 465 GB 9 MB
    Disk 1 Online 7690 MB 0 B
    DISKPART> selectdisk 0
    Disk 0 is now theselected disk.
    DISKPART> listpart
    Partition ### Type Size Offset
    ------------- ---------------- ------- -------
    Partition 1 Recovery 2048 MB 1024 KB
    Partition 0 Extended 463 GB 2050 MB
    Partition 2 Logical 435 GB 2051 MB
    Partition 5 Logical 9 GB 437 GB
    Partition 6 Logical 4501 MB 446 GB
    Partition 3 Recovery 1000 MB 451 GB
    Partition 4 Recovery 13 GB 452 GB

    DISKPART> selectpart 2
    Partition 2 is nowthe selected partition.
    DISKPART> active
    Virtual Disk Serviceerror:
    The specifiedpartition type is not valid for this operation.
    DISKPART> selectpart 0
    Partition 0 is nowthe selected partition.
    DISKPART> active
    Virtual Disk Serviceerror:
    The specifiedpartition is a not a primary or logical volume.
    DISKPART>
    I have also attempted installing windows on the Linux HD partition from the recovery USB, but was told that I must boot Windows to accomplish this - which I can't.

    From Linux I have run boot-repair, and this is the report:
    Ubuntu Pastebin

    Can somebody come up with proposals for next steps - I would really like to avoid wiping my Windows 10; all data is backed up, but SW installs would be a pain to redo.

    Thanks in advance!
    Anders
      My Computer


  2. Posts : 8,057
    windows 10
       #2

    Welcome to the forum. If your using uefi then running fix mbr etc has no effect as your on a gpt disk with no mbr. It's likely you have messed the uefi partition which is in effect the boot loader. Magnum reflect has option to fix this so give that a go it's free
      My Computer


  3. Posts : 7
    Windows 10 pro
    Thread Starter
       #3

    Thanks Samuria - currently my only working boot systems are Linux Mint Live USB and Win10 recovery USB - I assume you mean Macrium Reflect Free Macrium Reflect Free - Free download and software reviews - CNET Download.com which appears to be Windows only.
    How should I run it?
      My Computer


  4. Posts : 486
    Windows 10x64 17713
       #4

    Code:
    bcdboot C:\Windows
    Try recreating your boot files (that's assuming C:, adjust accordingly).
      My Computer


  5. Posts : 809
    Win10
       #5

    The OP has an MBR drive and is booting in BIOS mode.

    However, the partitioning looks very strange. Which partition is your Windows installation actually located on? Can you provide the exact settings you selected when you installed Mint?
      My Computer


  6. Posts : 7
    Windows 10 pro
    Thread Starter
       #6

    Windows 10: Partition 2 Logical 435 GB 2051 MB
    Linux Mint: Partition 5 Logical 9 GB 437 GB
    Linux Mint Swap: Partition 6 Logical 4501 MB 446 GB

    Partition 5 was made in Windows for installing Linux, and a
    s far as I recall, later split into partition 5+6 by Linux installer.
    The rest of the partitions are misc. shipped with the PC (Win8, updated to Win10).

    I must admit I have been messing with this for some time, so I guess I have tried just about any combination of settings :-(

    In the messing around I have also tried bcdboot c:\windows with error - didn't copy the output.
      My Computer


  7. Posts : 2,799
    Linux Mint 20.1 Win10Prox64
       #7

    Your disk 0 is now one big mess.
    Boot up your Recovery. Run diskpart->select disk 0->list volume then post the result.

    Do you have an external HD so we can work with ???

    EDIT: Also run diskpart->List disk. Does disk 0 has an asterisk under GPT ?
    Win10 not booting after Linux installation - UEFI/BIOS conflict?-p3.jpg

    Your current disk 0 looks similar to the screen shots below:

    Win10 not booting after Linux installation - UEFI/BIOS conflict?-p2.jpg
    The maximum number of partitions on MBR disk type that you can create is 4 so the 4th one becomes Extended (green box) and contains 3 logical partitions.
    Win10 not booting after Linux installation - UEFI/BIOS conflict?-p1.jpg
    Last edited by topgundcp; 14 Apr 2018 at 23:44.
      My Computer


  8. Posts : 7
    Windows 10 pro
    Thread Starter
       #8

    @topgundcp
    Can you advice how to make screenshots under the Win10 recovery disk?

    Yes I do have an external harddisk - it is used for backup (copy paste of all the files on , but about 500 GB free to play around with.

    I will be back shortly with text copy of diskpart output.
    Regards,
    Anders
      My Computer


  9. Posts : 7
    Windows 10 pro
    Thread Starter
       #9

    I attach the output from diskpart copy/paste into notepad.
    No GPT asterisk

    diskpart output.txt
      My Computer


  10. Posts : 2,799
    Linux Mint 20.1 Win10Prox64
       #10

    Can you advice how to make screenshots under the Win10 recovery disk?
    There's no utility to make a screen shot with Recovery disk except using your smart phone to take a picture. However, Macrium Reflect Rescue disk does have a little utility called: pescreenshots.exe which you can run then use PrintScreen key to produce a .BMP file of the screen.

    From list volume result, drive D (465GB) is your Windows 10 OS which is partition 2 (465GB) from list partition and was converted into a logical disk, that's why you cannot set it to Active, setting Active only works with Primary partition.

    IMO, The easiest way to fix this problem is to use Macrium Rescue disk. You can download from my google drive:
    MacRescue.iso - Google Drive

    Use: Rufus - Create bootable USB drives the easy way to create a bootable USB from MacRescue.iso then boot up.

    Here's the steps you need to do:
    1. Create a backup image of your partition 2 (465GB) only, verify the image to make sure it's good and store it on the external HD.
    2. On the bottom left, click on the command icon, Use diskpart to wipe clean of your disk 0 then re-create a "System Reserved" partition

      diskpart
      select disk 0
      clean
      create par primary size=550MB
      format quick fs=ntfs label="System Reserved"
      select partition 1
      active
      set id=27
      exit

      NOTE: You can copy and paste all commands above into a text file to save typing
    3. Back to the Macrium screen, click on Backup tab then click on Refresh then go to Restore Tab to restore the backup image Next to System Reserved by drag and drop the Partition, click on "Restored Partition Properties" and set it to "Primary"
    4. Once done, click on "Fix Windows Boot Problem" and follow the screen to create a BCD to boot from
    5. Reboot.


    If you have any problem following the steps. Please ask.

    NOTE: Since your disk 0 is so messed up, you won't be able to use the factory recovery so we just clean the whole disk. If needed you can download a copy of Windows 10 ISO then re-install Windows from it.
    Last edited by topgundcp; 17 Apr 2018 at 02:59.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:28.
Find Us




Windows 10 Forums