Recover windows 8.1 Bootloader after ubuntu installation

Ousmane moussa Ismael 1 Reputation point
2021-10-28T20:13:49.967+00:00

So here is my situation,last year on my windows 8.1 computer i had
3 partitions

  • D:/ Bootloader containing Boot subfolder and bootmgr,BOOTNXT and BOOTSECT.BAK files
  • E:/ Containing windows installation
  • G:/ Containing other personal files

At some point i needed to have dual boot with UBuntu, the ubuntu installation went well, but Ubuntu created another partition F:/ where it put the bootloader ; EFI Subfolder

From Ubuntu i couldn’t open some files in G:/ partition because i encrypted them using my windows user certificate.

Today i can see all the files in hard drive when i plug it as external hard drive but i still can’t open them since they are protected.

My question is : How can i recover the previous windows installation by putting back the normal bootloader configuration since the windows files and bootloader partitions are still there ?

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,735 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 39,341 Reputation points
    2021-10-29T10:13:19.3+00:00

    Hello

    I would recommend to open the question to an Ubuntu Forum since they may have more experience in these situations, but from my side I can recommend the next. Execute:

    sudo add-apt-repository ppa:yannubuntu/boot-repair
    sudo apt update
    sudo apt install -y boot-repair
    sudo boot-repair

    Then Advanced Options -> Other Options tab -> Repair Windows boot files


    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

  2. Docs 15,141 Reputation points
    2021-10-30T01:50:36.567+00:00

    Indicate whether the computer can or cannot be booted to the Windows 8 Recovery Environment (RE).

    Indicate whether you do or do not have a BitLocker recovery key.

    If the computer can be booted to the the Windows RE then open command prompt to run commands.

    If the computer cannot be booted to the Windows RE then create a bootable Windows iso flash drive.

    Find a flash drive that you can format (> or = 8 GB)

    Create a bootable Windows 10 or 11 iso:
    https://www.tenforums.com/tutorials/2376-create-bootable-usb-flash-drive-install-windows-10-a.html
    https://www.elevenforum.com/t/create-windows-11-bootable-usb-installation-media.750/

    https://www.tenforums.com/tutorials/9230-download-windows-10-iso-file.html
    https://www.microsoft.com/en-us/software-download/windows10

    https://www.elevenforum.com/t/download-official-windows-11-iso-file-from-microsoft.1009/
    https://www.microsoft.com/en-us/software-download/windows11

    Find a camera or smartphone camera to take pictures and post images or share links into this thread.

    For share links please use one drive, drop box, or google drive.

    https://www.disk-image.com/faq-bootmenu.htm

    All of these are diagnostic steps:

    Boot to the Windows 8 RE or bootable Windows iso flash drive.

    Open command prompt.

    Run these commands:

    bcdedit /enum all
    bcdedit | find "osdevice"

    diskpart
    lis dis
    lis vol
    sel dis 0
    det dis
    lis par
    sel par 1
    det par
    sel par 2
    det par
    sel par 3
    det par
    sel par 4
    det par
    sel par 5
    det par
    sel par 6
    det par
    sel dis 1
    det dis
    lis par
    sel par 1
    det par
    sel par 2
    det par
    sel par 3
    det par
    sel par 4
    det par

    .
    .
    .
    .
    .
    Please remember to vote and to mark the replies as answers if they help.

    On the bottom of each post there is:

    Propose as answer = answered the question

    On the left side of each post: Vote = a helpful post
    .
    .
    .
    .
    .

    0 comments No comments