In this article we’ll show you how to manually restore an accidentally deleted Windows EFI boot partition on a UEFI computer. We’ll look at an easy way to manually recreate system EFI and MSR partitions in Windows, which will allow you to boot the OS after accidentally formatting or deleting an EFI partition. The instructions in this article are relevant for all versions of Windows, from Win 7 to Windows 10.
Suppose that the EFI boot partition on your UEFI (non-BIOS) computer was accidentally deleted or formatted (for example, when you tried to remove an OEM recovery partition). As a result Windows 10/8.1/ 7 doesn’t boot correctly, cyclically prompting you to select the boot device (Reboot and select proper boot device or insert boot media in selected boot device and press a key
). Let’s figure out if it is possible to start Windows properly after deleting the EFI partition (with a Boot Manager and BCD configuration) without reinstalling the OS.
GPT Hard Disk Partition Structure in Windows
Consider how the default partition table of a bootable hard drive with GUID partition table (GPT) on the UEFI computer should look like. You should have at least the following partitions:
- EFI System Partition (ESP – Extensible Firmware Interface) — 100 MB (partition type — EFI);
- Microsoft Reserved partition — 128 MB (partition type — MSR);
- Primary Windows partition (the partition containing Windows).
This is the minimum configuration. These partitions are created by the Windows Installer when you perform a clean OS install on an unformatted drive. Computer manufacturers or users can create their own partitions containing, for example, Windows Recovery Environment (Windows RE) in the winre.wim file, a partition with the system image backup provided by the OEM (allows to roll back to the original state of the computer), user partitions, etc.
The EFI partition with the FAT32 file system is a mandatory partition on GPT disks on UEFI computers and has the GUID c12a7328-f81f-11d2-ba4b-00a0c93ec93b
. The default size of the EFI partition is 100MB (on advanced format disks with 4KB sectors the size of the EFI partition is 260MB).
The MSR partition (Microsoft System Reserved) on the GPT disk is used to simplify partition management and is used for service operations (for example, when converting a disk from basic to dynamic). This is a backup partition with the GUID label e3c9e316-0b5c-4db8-817d-f92df00215ae
. The MSR partition doesn’t receive a drive letter. This partition can’t store user data. In Windows 10, the size of the MSR partition is only 16 MB (in Windows 8.1 the size of the MSR partition is 128 MB), the file system is NTFS. The MSR partition must be located between the EFI partitions (ESP) and the primary Windows operating system partition.
The main partition contains the installed Windows, programs and user data. Additional data partitions may be present.
Missing EFI Partition in Windows
The EFI partition (similar to the System Reserved partition on drives with the MBR partition table), stores the boot configuration store (BCD) and a number of files required to boot Windows. When the computer boots, the UEFI environment loads the bootloader (EFI\Microsoft\Boot\bootmgfw.efi) from the EFI (ESP) partition and transfers control to it. The bootmgfw.efi executable launches the Windows Boot Manager, which loads configuration data from the BCD. Once the BCD is loaded, Windows starts booting via winload.efi.
If the EFI partition is deleted or damaged, you won’t be able to boot Windows from that drive. UEFI error “could not locate \efi\boot\bootx64.efi – not found
” appears , or an empty UEFI Shell prompting you to specify a boot device.
Also, you will not be able to boot Windows if the EFI partition is formatted with the NTFS file system. Even then performing a clean Windows installation, you will receive an error:
Windows detected that the EFI system partition was formatted as NTFS. Format the EFI system partition as FAT32, and restart the installation.
How to Manually Create EFI and MSR Partitions on GPT Drive?
Since the system doesn’t boot correctly, we’ll need Windows installation media with Windows 10 (Win 8 or 7) image or any other boot/rescue media. Boot from the installation media and on the first installation screen press the Shift+F10 key combination. The command prompt window opens.
Run the disk and partition management tool:
Diskpart |
List the hard disks connected to the computer (in our example, there is only one disk, disk 0. The asterisk (*) in the GPT column means that it uses the GUID partition table).
*
in the GPT column, then the disk partition table is MBR. You need to make sure that you previously booted your computer in the native UEFI mode (otherwise, following this instructions is pointless). If you are sure that the partition table type has changed, it may be worth converting drive from MBR to GPT.list disk |
Select this disk:
Select disk 0 |
Display the list of partitions on the disk:
List partition |
In our example, only two partitions are left on the drive:
- MSR partition — 128 MB;
- Windows system partition — 9 GB.
As you can see, the EFI partition is missing (it has been deleted).
Our task is to remove the remaining MSR partition so that we have at least 228 MB of unallocated space on the drive (for MSR and EFI partitions). You can remove this partition using the graphical Gparted or directly from the command prompt (that’s exactly what we’ll do).
Select the partition to remove:
Select partition 1 |
And delete it:
Delete partition override |
Make sure that there is only 9GB Windows partition left (in our case):
List partition |
Now you can re-create EFI and MSR partitions manually. To do it, run these commands in diskpart context one by one.
Select the disk:
select disk 0 |
Create a 100MB EFI partition, format it with FAT32 file system and assign a drive letter to it:
create partition efi size=100 |
Make sure that the 100 MB partition (an asterisk in front of the Partition 1) is selected:
list partition select partition 1 format quick fs=fat32 label="System" assign letter=G |
Now you need to create an MSR partition with a size of 128 MB (in Windows 10, it is enough to create 16 MB MSR partition).
create partition msr size=128
list partition
list vol |
In our case, the drive letter C: is already assigned to main Windows partition. Otherwise, assign the drive letter to it as follows:
select vol 1 assign letter=C exit |
Repair the EFI bootloader and Windows BCD
After you have created a minimal disk partition structure for the GPT drive on the UEFI computer, you can proceed to copy the EFI boot files to the new partition and create a bootloader configuration file (BCD).
Copy the EFI environment boot files from the directory of your drive where your Windows is installed:
mkdir G:\EFI\Microsoft\Boot xcopy /s C:\Windows\Boot\EFI\*.* G:\EFI\Microsoft\Boot |
Rebuild the Window BCD bootloader configuration:
g: cd EFI\Microsoft\Boot bcdedit /createstore BCD bcdedit /store BCD /create {bootmgr} /d “Windows Boot Manager” bcdedit /store BCD /create /d “My Windows 10” /application osloader |
You can replace the caption “My Windows 10” for any other.
The command returns the GUID of the created entry.Iin the next command put this GUID instead of {your_guid}.
bcdedit /store BCD /set {bootmgr} default {your_guid} bcdedit /store BCD /set {bootmgr} path \EFI\Microsoft\Boot\bootmgfw.efi bcdedit /store BCD /set {bootmgr} displayorder {default} |
The following bcdedit commands are run in the {default} context:
bcdedit /store BCD /set {default} device partition=c: bcdedit /store BCD /set {default} osdevice partition=c: bcdedit /store BCD /set {default} path \Windows\System32\winload.efi bcdedit /store BCD /set {default} systemroot \Windows exit |
Restart your computer… In our case it didn’t boot from the first time. Try the following:
- Turn your PC off;
- Unplug (physically)your hard drive;
- Turn your PC on, wait till the boot error window appears (An Operating System not found) and turn it off again;
- Plug your drive back.
Then in our case (the test took place on the VMWare virtual machine with UEFI firmware) we had to add a new item to the boot menu by selecting the EFI\Microsoft\Boot\bootmgrfw.efi file on the EFI partition.
In some UEFI menus, by analogy, you need to change the boot priority of partitions.
After all these actions, your Windows should boot correctly.
131 comments
Thank you very much!!!!!! Thats the only solution for me in the entire internet!!!!
I’m on a laptop. It didn’t work. The last step is difficult because my screen is broke so I don’t know where or how I can select it.
I’ve been viewing my screen on linux via my tv. I need windows 10 unfortunately. I think I’m screwed. I’ll have to save up for a new version because i can’t find the product key as chntpw doesn’t work. I have a dying iphone and that’s it. I’m struggking with health issues and only just got myself together to do this. I’m saddened. It’s my fault for accidentally deleting the bootloader in the 1st place (archlinux accident).
I tried my best and I learned something though. So thanks for the educational experience.
Fantastic, after hours of fannying around with various other “how to” guides, this is THE one that WORKED!! Fixed SSD after Windows update somehow wiped the boot sector. Many, many thanks
Usually I almost never comment on guides, but this time, you just saved my Windows! It was very detailed, telling you each and every step you have to take. I was installing Arch and I accidentally formatted my EFI partition of Windows 10. I used up the whole day trying to find out how to fix this, and after I almost gave up, I saw your article, followed it and it worked like a charm!
Thank you so much for the help, and please keep making guides like these
You are welcome 🙂
For me the same, i was uninstalling refind but instead of removing the refind folder i deleted the whole efi folder. All works now except the hibernate function. Does anyone knows an fix???
I have the same problem. I was able to boot back into windows but hibernation is now broken, the pc restarts instead.
Thank you very much!!! This saved me a lot of time, because a reinstall isn’t necessary anymore!
This is also working perfect for Win10.
Thanks man!
I’ve moved partitions from mbr to gpt (from 500GB to 3TB hard drive) and needed to recreate UEFI/GPT boot partitions – only way that worked for me (just leave some space at the beginning of drive).
Just thinking if I just create those two partitions and xcopy files to boot partition, won’t it be enought to run “startup” repair from Windows 7/8 cd and just remove that bcdedit hassle?
I’ll check it next time I will have those problems. Thanks again!
Hi, and thanks for your patience in writing such a detailed solution. I’ve messed up my UEFI Win 10 partition when migraating to a SSD disk and trying to restore dual boot. To make short a long story, I decided to delet and rebuild UEFI partition, and I’ve got stuck at the copying files step. Whenever I try to use the {xcopy /s C:\Windows\Boot\EFI\*.* G:\EFI\Microsoft\Boot} command, I receive a message like “failure to copy files from source”. Everytime. This is driving me crazy. The files are there, I can see them, but I just can’t copy them. Any thoughts will be appreciated. Thanks again.
Jal_lah, if you’re still having trouble, you could try creating a Linux live CD or USB and boot into it. You can then mount both the EFI partition and your Windows partition, and copy the files over.
Thank you for the detailed guide! Exactly what I’m looking for. Do you know if there are any differences for applying this guide to restoring a Windows 10 EFI partition? Can I just replace the third ‘bcdedit’ command with the following?
bcdedit /store BCD /create /d “Windows 10” /application osloader
Any help would be appreciated!
I myself had to restore a Windows 10 UEFI partition and had no issues with changing the “Windows 7” part to “Windows 10”.
As far as I can tell, it’s really just a label so what goes in the quotes probably doesn’t matter too much.
After a few days of frustration, I’m happy to say this guide finally resolved the issue. I had 2 UEFI partitions, 4 recovery partitions, and then 2 partitions for my OSes (Win10 and Ubuntu). After messing around with getting rid of grub and returning the partition space back to windows, I ended up screwing up my entire boot.
And after about 2 days of scouring the internet and trying all solutions available, this is thankfully the first one that got me back to a usable system. Great thanks to the writer(s) of this article for getting me out of a bind.
Thanks for the detailed and thorough description of the recovery process.
In the case of a dual boot system, with Windows 7 and Fedora (installed on a newly added hard disk), and where only the Windows 7 boot is failing, would there be any concerns with following this method to recover the Windows 7 EFI boot partition?
Thank you very much!
A restored the win10 Pro boot after installing ubuntu and accidentally deleting the Windows Boot Manager partition.
Thanks a lot for this guide, saved my day!
hey man its really helpfull thank you so much for sharing this at least it show me a efi disk but after applying delete Partition override cmnd i get an error saying “virtual disk server error” and delete is not allowed on current boot, system.pagefile crashdamp or hibernation volume ……can i get a solution for that please thanks in advance <3
A big thank you! Your write-up saved me this weekend. HP Workstation Z440, shrank windows partition and tried with Acronis True Image (comes free with new SSD Crucial MX300) to clone HDD to SSD. But upon reboot nothing, no OS can be found. Your method saved me.
One point. If the windows partition does not extend to the end, then upon remaking EFI and MSR partitions, they are placed after the windows partition which I am not sure if it would work. One has to add the OFFSET flag to create partition. For MSR the offset should be 101*1024 = 103424.
Hope this is helpful to someone else…
I accidentally nuked the MSR & EFI partitions on a notebook I brought home to help a friend fix over St. Patrick’s weekend. Almost gave up on a startup repair versus a wipe and reload after countless hours on the internet before stumbling on your site.
My feedback based on your prescribed solution boils down to five words: Meticulous Guide with Amazing Results.
Thank You so much bro
I impressed and I love you so much
I don’t know how can I thank you
Thank you so much, very informative and helpful.
Also works for Win10 if you stop at the boot loader instruction and then follow http://woshub.com/how-to-repair-uefi-bootloader-in-windows-8/
This was amazing. I didn’t believe it could help, but you’re genious. This realy save my day.
Awsome…!!!! Work very well Thank You… Detail Solution…!!!!
God would bless you for this fix saved me a lot of time I just had to convert to gpt before creating efi
Feel unbelievable happy right now. You know what you are doing. Thanks a lot, will have some good sleep now.
Thanks a lot.
You sir, just saved my butt. Week before exams, all my papers are almost done and windows decided to shit the bed tonight. I had everything backed up to my server but it was all compressed and would take too much effort to reinstall everything to my laptop. Excellent explanations and the only thing I can add to this guide is that everything has to be in order, it most likely will not move on if you try something too early (I missed the creation of the {bootmgr} and it took me a bit to trace my steps). Thank you so much!
Can i do this from another PC ?
Oh my God! You saved sooo much headache and worry!! Thank you so much! I deleted the EFI partition on my computer 2 times and both times, your article came to the rescue!
Thank you very much. It’s work!
thank you so much…..thankyou thank you….
Wow thank you man, you rock!!!
Worked perfectly. Best guide in the world. Thank you.
Well, one thing doesn’t seem to work. The computer won’t shutdown properly and will just go to the sign out screen instead. Oh well.
Amazing guide, the only one I could find that worked. It’s a life saver, nothing in the install CD was working (couldn’t repair because of mismatched version) but opening the command line and rebuilding the boot from scratch is genius
Thank you!
Thank you for this. I removed a Ubuntu installation off of one of my secondary drives and for some reason windows didnt have an efi partition or even room for one. I had to shrink my boot drive before doing this. Thhhhannnkkkkk you so much for this easy to follow tutorial! One extra step I had to do. I had to do start up repair as it said originally something was messed up on the efi partiition I created and that fixed that issue.
Thank you.. Saved my day!
Thanks ! Your guide worked 🙂
PS: Instead of removing the hard disk , you can also force UEFI device detection by turning off the UEFI boot mode in your bios and rebooting it.
On the first boot it will say no boot devices found.
Then reboot again and enable UEFI, save settings and try again. This time your PC should redetect the new UEFI sector.
..At least it worked for me.. I was using a Intel Hades Canyon NUC.
All I can say is THANK YOU!
Thank you! Works perfectly!
Thank you! And google search leading to this article.
Fixed a windows 7 and now it boots.
Someone said in the earlier comments, “I don’t typically comment on guides”. Well I am usually the same. All I can say is THANK YOU!!! You just saved me rebuilding a domain controller after the backup failed to restore the EFI partition correctly. Awesome!
Thank you! You save my data with this tutorial!
I installed a fresh copy of Windows 10 1903, but after install everything i need to work, my boot partition doesn’t appears on BIOS settings.
Following entire steps above, i restore the EFI partition and voila! Windows boot again!
Thank you Guy!
This is the only one right solution in whole internet when it comes to this EFI. Awesome
God bless you. You have just saved me a lot of time and also my data because i was planning to reinstall my windows. I think this solution you have provided is the only one i could find in the internet except from reinstalling your windows. Thank you so much.
Great writeup! One of my coworkers borked his Windows 10 install beyond repair and all he had left was the naked VHDX file from a recent Windows Image backup he took a few days ago.
I created a naked HyperV VM, attached the VHDX and using your howto, was able to boot into his Windows 10 installation successfully.
Thanks alot!
You are a super star!! That saved my hair and my sanity!.
Hi I just went thru days trying to switch a 500 gig SSD drive to a Larger one. Clone copy, well apparently clone the Windows 10 OS, but not the EFI partition. I then went back to the small to try and salvage the mistake and it ran out of disk space trying to fix my the EFI issue. It snowballed from there and I ended up here. I was fooled a bit when you took those 2 dos command windows and combined them. lol. I just kept comparing and realized what you did. I like to add that at the end you had a couple problems booting and had to disconnect a drive and restart and then add a EFI boot line. This is confusing to me since I am not clear about why, but I am just about ready to restart the system that I used your great tutorial and crossing fingers. Everything went perfect entering commands with not one error. Thank You for taking the time to create this post and letting it remain in public. †
Not all heroes wear capes
Thanks for this guide. Finally someone who can provide solution with proper explanation. All other guides are just a bunch of console commands without any justification why we’re using them.
Thanks so much! This guide was literally the only one that helped me, because I accidentally deleted my EFI while hackintoshing D:
Dude you saved my ass big time. This was THE only solution on the whole internet i could find. Thats what i get for trying a dua boot windows 10/kali dual boot. note to self: DONT DUAL BOOT GET A SEPARATE DRIVE (yes im yelling at myself)
Awesome it worked perfectly for windows 10 without a single problem…Thanks you so much.
I love you. Thank you soooo much.
Thank you so much! It worked perfectly!
Thousand thanks!
I worked charms. Great tutorial =)
I was totally worried after accidentally deleting my boot files. Hats off to you for creating such a precise and simple guide with screenshots! You have saved my time and data bro. Kudos & Cheers to you!
best guide for EFI / GPT / Win corrupted bootloader ever! Thank you very much. I am doing for ages the PC repairs with MBR – classic BIOS but this is kinda new to me. When my favourite bootrec.exe /fixboot says acess denied it started to be funny. Also the command “bootsect/nt60 sys” saves lives but that did not helped me. I´ve done stupid thing. I make space on my drive. (EFI,MSR.Win, space, recovery) the HDD was bitlocker encrypted and I let linux mint to do automatic intall to the empty space. It was ok. Then nothing booted and all my traditional skills using gparted, windows recovery cmd went to dead end. Only this restored my Win. Now about to add Linux boot line. And thats it.
Thank you once more!
Fantastic guide!!! Saved my day.
Than you so much my bro!Tou helped me to restore my windows.God bless u man
THANKS
Thank you very much
Thank you for the detailed guide it helped me fix my boot problem which occurred after I cloned my drive to an SSD with clonezilla but then booted with both drives in the machine not work sure what step it was but somehow the EFI partition got messed up. I tried many things but this is the only guide that worked. I really appreciate you making the information available. John F.
Wondering to know, what about using bcdboot command, it is look simpler than bcdedit ?! Is bcdboot can used too in this case ?
Do you have article about it ?
You are my hero, thank you!!!!
Great job with the document! I had one such a PC with a broken EFI partition due an interrupted Ubuntu installation. This was the only guide that helped me get the whole thing back to life. That’s some good info on the GPT partition table structure but I managed to get my PC running without the MSR partition.
Thanks and you guys rock!
The best guide on the internet ever!!! It saved my PC!!
Woaw my hero.
Very good guide well detailed and solve mostly every boot errors
Sorry I replied to someone with this but can’t delete it. Repeat it here. I’m on a laptop. It didn’t work. The last step is difficult because my screen is broke so I don’t know where or how I can select it.
I’ve been viewing my screen on linux via my tv. I need windows 10 unfortunately. I think I’m screwed. I’ll have to save up for a new version because i can’t find the product key as chntpw doesn’t work. I have a dying iphone and that’s it. I’m struggking with health issues and only just got myself together to do this. I’m saddened. It’s my fault for accidentally deleting the bootloader in the 1st place (archlinux accident).
I tried my best and I learned something though. So thanks for the educational experience.
I can’t find my boot options.
Gah I used to be good at IT.
Hope you can help with this boot options part and where I can find it. I’m on a HP Pavillion. I’d have to pay for recovery software and I’m broke. Please help. I’m at my wits end.
THANK YOU VERY MUCH! YOU SAVED MY DAY!
I was trying to install archlinux as second OS but it turned out to messing up with some windows partitions. After about 10 hours I found this amazing guide that saved my laptop. You were very, very helpful!
Why is there a x:\Sources> before the mkdir G:\EFI\Microsoft\Boot in the console when we are supposed to type only mkdir G:\EFI\Microsoft\Boot at that step?
Thank you, you saved my pc!
Thank you very much, you save me from reinstalling windows 10, best regards from Croatia.
PLEASE PLEASE HELP! I’ve change id of (set id =…) of FAT32 partition which was successful and did exit. But now I can’t see FAT32 in my volume list, what to do please??! I really really need help! How can I bring it back to the list?
I think it will be easier for you to recreate the EFI partiotion from scratch according to this guide.
Thanks for the guide! This helped me successfully recreate my EFI partition for Windows 10.
I installed Windows 10 education on a new SSD, but the EFI partition was not created on it during install due to it already existing on my old SSD with the previous Windows 10 installation! When I formatted the old SSD and installed Linux, the partition with Windows boot loader was obviously deleted.
In my case, I was only missing the 100 MB EFI partition. I did not need to create the 16 MB MSR partition, it was already there. Before creating the EFI partition I had to shrink down the primary volume. Select the primary volume and shrink desired=100.
I also had 2 SSD and 1 HDD, and diskpart labeled my drives differently than what I expected. My C: drive on Windows was represented as volume D in diskpart, my E: drive represented as C, so it was confusing to identify the correct one for the bcdedit commands. Once I did, everything worked flawlessly.
I was hoping this would work. I followed the direction but still no luck. The only thing I didn’t do was disconnect my harddrive. I was hoping I didn’t have to. I have two hardrives and I can’t disconnect one of them. HDD2. I put all of my BIOS settings back to how they originally were but I saw in the boot configuration page that their are two windows boot drives that I can choose. when I reboot I get the 0000255 error code. I’m gonna try the disconnect the harddrive option and see what happens. I gotta be doing something wrong on my end. Any advice?
Forgot to click on the notify followup option below so I’m leaving another comment.
Anyone stuvk at mkdir not pivking up the line, just close cmd and reopen. As you can see it has X:/ in front
Hi there. I’m having this problem. I’ve tried closing cmd and reopening but still can’t seem to get past it. Any advice you can give me?
Thanks a lot
Great stuff. Works fantastically after I spent days trying to fix my laptop.
Still relevant. Took me back to my DOS days lol..thanks
Great Stuff. Works superb
This saved my laptop! Thanks a million!
Great Mister, Thank you so much.
You’ve saved me
Thanks a Million!
I worked. This is a real guide with reference image.
Wow!
Thank you very much!!!
Thank you 1000%!
While partitioning my computer when I was installing linux for a dual boot, I formatted /dev/sda1, the windows EFI partition, instead of /dev/sda8. Thanks for this amazing guide!
I recently did an update on a windows 10 computer which multi-booted with a bunch of Linux distributions, and for reasons I am still trying to figure out, I lost access every OS except Manjaro, Mint and Zorin. I spent the last week or so wondering how I was going to re-create my efi partitions (which I messed up reinstalling grub2) in order to access my windows installations and then I happened on this article. Whew!! Thank you!! :).
Thank you so much. Very concise instructions really saved me!
Thanks a lot…
I fucked up my partitions trying to make a hackintosh and this brought my laptop back to life! Thank you so, so much.
This explanation looks great. I’m not a tech, but on two occasions when a disk clone (via Macrium Reflect) didn’t boot, Macrium Reflect has a procedure for fixing the boot problem, using the “Recovery Media” USB stick it creates. Just FYI.
Thanks, this guide was amazing to help fix an accidental deletion. Really Appreciate it
Thanks! It worked like a charm, great tutorial!
Just one more thing – for whatever reason my disk was non-gpt so I had to convert it to gpt. Without loosing data you can use windows mbr2gpt executable, maybe you could update your tutorial with that?
If you have the same problem as me I will let you know that this worked.
I bought a computer with Linux on the HDD and it also had an empty SSD. I installed windows on the SSD but the EFI was still on HDD. My PC would work normally but once I turned it off i would get the error 0xc000000e. I had to use my bootable and enter the Recovery Environment to make it work all the time. Then I decided to move the HDD EFI to the SSD using EasyUEFI but it still didnt work. Then I deleted the HDD EFI and the windows was over at this point. Thanks to this very detailed tutorial I managed to create the EFI in the SSD.
Thanks a lot to the admin.
Thanks you so much… You saved my 2 Day time… Good bless
Whoever you are, you are a legend man! Didnt really expect it to work but your steps were so detailed i couldn’t even believe that it worked on the first try. Really respect the work you did helping us all from recovering our lost OS. Almost reinstalled windows but thanks to you it’s saved. Thank you from the bottom of my heart!
THANKS SO MUCH. I’m sure so many people have issues when cloning larger HDD to smaller SSD using software like EASEUS and others I’m sure.
Saved my bacon.
Thank you so much.
Thank you so much. You saved a lot of my time.
I would just repeat all what has been said. Thank you very much, reality great material.
works and its free 🙂
My god this post saved my whole network degree. You rock. Thankkk you very much
THANK YOU!!!
Brilliant job of describing how to get a non booting laptop working. Could see the drive but the EFI partition was toast. Your guide helped me to rebuild the partition and get it booting. Thank you 🙂
I followed all the instructions step by step and my windows returned back to life. At first I thought that it would probably come to another dead-end but it worked fine. Thank you so much.
Thank you very much!!!!!! It is working!!!! Yeaaaaahhhhhh! You are life saver, Big thanks again!!!!!!!
Thank you very much!!! You are “THE BEST”.
Thanks, it works, but i cant use fast startup and hybernate option anymore.
Your steps worked perfectly.
From the bottom of my heart, “thank you”
Does the “Unplug physically harddrive” means internal HDD?
This is the best way I could find after almost spending a whole daytime for: “completely erased boot partition of windows.”.
This is the perfect and most clean solution. Just carefully do whatever written above.
In my case, no reboot after reboot required; just simply worked and my system is back again like nothing ever happened.
This usually happens when I feel like to try new linux distros and gave me a real hard time this time, because googling is also difficult between all mess on internet. Here is what happened, for users who might have a similar problem:
– I have erased everything on the drive but the windows partition. I mean, there is a “C:” drive, but nothnig else.
– I had a bootable ubuntu usb. started ubuntu live with selecting usb in bios
– ubuntu has “gparted” within. so I have started it.
– copied the windows partition to another harddrive by creating another partition a little bigger than windows had (in my case windows had 80gb, I created a 100gb). This was just for anything accidental, have a backup somewhere else; in any case.
a) on an external hdd, if there is enough empty space: right click, “move-resize”. than shrink it to create and empty space enough to backup windows drive. (there is a chance of losing your data in your external drive, so, be very carefull)
b) on the external hdd: create an ntfs partition enough to copy the whole original partition. (there is a chance of losing your data in your external drive, so, be very carefull)
c) choose the windows hdd and right click on original windows partition and select “copy”
d) choose the external hdd and right click on the new partition created for backup and “paste) (there is a chance of losing your data in your external drive, so, be very carefull)
e) select the hdd of windows again and select windows partition and right clisk “move-resize” and push it at the end of the drive.
f) reboot into windows usb drive and did what the guy said on this page.
g) you may consider widenin up your external hdd again by using minitools free if you continue in windows.
Thanks A Lot!
Thank you, this was extremely helpful guide!
I was using Acronis True Image HD to clone an old bootable MBR drive to a GPT data drive as Acronis did not support making it bootable after MBR2GPT conversion. (I had tried also MBR2GPT tool to convert the old drive to GPT before cloning but it didnt work at all.)
With your help and clear step-by-step instructions, I was able to make this new drive bootable.
Thank you !!! Converted from MBR to GUID (GPR) using MBR2GPT MS app to support a Win 10 update and possible did something wrong. Had to dive deep into the article. Only had a EFI partition. Deleted the EFI partition and created new EFI and MSR partition per the instructions and it worked. Great work.
I dont know what to say but THANK YOU VERY MUCH, this guide works very well dude!
I was no hope when i accidently deleted wrong EFI but this guide SAVED ME!
Cool you are great!
Extremely helpful! you have to be aware of some concepts before attempting this, in order to adapt some of the commands if necessary –specially if the assigned letters are not the same– but this surely works! Thanks a lot, you’ve really saved my installation.
Regards.
Worked perfectly! Thanks for sharing this. I went to trouble after rescaling harddrive partitions on a windows system using GParted live. A very good and stable tool – but not the first time i had to work on booting issues after using.
Thank You again and take care. Regards Peter
Thank you so much! You saved me, the only guide on the internet to do this! Thanks!!
Hi there, can anyone help me out please? I’m stuck at the mkdir command. Whenever I type it, all I get is “Microsoft Diskpart version….” and the list of commands. I can’t seem to get past that point. Any help would be greatly appreciated.
Not to worry, I just needed to open into cmd through automatic repair and it worked.
Hi there, can anyone offer me some assistance? I’ve gone through this process twice but get the same result each time: “stop code: INACCESSIBLE BOOT DEVICE”
Ron – Although this is one of the best tech articles I have ever read, and I am NOT a tech but just a real estate lawyer, I have solved similar issues twice in the past by using Macrium Reflect to make a disk clone bootable. Find the related instructions in the Macrium Reflect user guides. (Obviously, first make a backup of whatever you need to save in case all heck blows loose.)
Thanks for the reply 🙂 I may give that a go and see if it helps. I’m at a slightly different stage now, with a different error, but having more options is always helpful. Thanks a lot for taking the time to reply
Thank you, very well explained!
THANK YOU THANK YOU THANK YOU! I deleted the EFI partition that was on my secondary drive when I was expanding my partitions, didn’t realise they were needed after all! Thank you, thank you!!!!
thank you very much that’s help me
I moved the EFI partition and nothing worked then. This is the ultimate guide for the case, can’t find in any other place. Must save this!
Thank You very much!