question

OusmanemoussaIsmael-4380 avatar image
0 Votes"
OusmanemoussaIsmael-4380 asked Docs-4663 published

Recover windows 8.1 Bootloader after ubuntu installation

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-8
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

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--

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Docs-4663 avatar image
0 Votes"
Docs-4663 answered Docs-4663 published

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
.
.
.
.
.










5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.