Unable to boot into Windows after accidentally deleting Ubuntu partition












0















I had windows 10 installed on my pc and I installed Ubuntu 17.10 alongside windows. I logged into windows and EasUs partition manager showed me I have some free space and file system of that partition is unknown. Then I went to disk management from My Computer and it showed me that previously mentioned 60GB was empty. So I just deleted that partition and extended another partition. Then I restarted my PC and it's stuck in the "error:no such partition" screen.



I flushed supergrub2 into my pendrive from another PC and restarted my pc with that pen drive. I still can't get my pc to boot. I've seen some YouTube tutorials and tried the "set" command in grub rescue. The result I have is below which does not match any of the tutorials that I've watched.



cmdpath=(hd0,msdos1)/EFI/BOOT
prefix=(hd0)/boot/grub
root=hd0



And typing ”ls” in grub rescue shows the following:



(hd0) (hd0,msdos1) (hd1) (hd1,msdos7) (hd1,msdos6) (hd1,msdos5) ) (hd1,msdos2) (hd1,msdos1)



How can I access Windows or my hard disk again?










share|improve this question







New contributor




Mamun Kaiser Zisan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Since you have deleted Ubuntu, grub can't find the files it needs for booting. Either boot on Ubuntu live media to reintall Ubuntu, or boot on Windows media to repair MBR / UEFI. If Windows was installed under UEFI, you might also be able to choose boot order and boot into windows that way.

    – Soren A
    Mar 9 at 13:20













  • If partitions are msdos, then your Windows install has to be the old BIOS/MBR configuration. And then the only way to boot is thru MBR. So you need to restore a Windows boot loader to MBR. Always best to do that before deleting any partitions. Use your Windows repair disk & its repair console to do fixMBR or from Ubuntu live installer: askubuntu.com/questions/133533/…

    – oldfred
    Mar 9 at 16:04











  • I just followed the link provided by oldfred and was able to boot into my windows. Thanks a lot

    – Mamun Kaiser Zisan
    Mar 9 at 17:54
















0















I had windows 10 installed on my pc and I installed Ubuntu 17.10 alongside windows. I logged into windows and EasUs partition manager showed me I have some free space and file system of that partition is unknown. Then I went to disk management from My Computer and it showed me that previously mentioned 60GB was empty. So I just deleted that partition and extended another partition. Then I restarted my PC and it's stuck in the "error:no such partition" screen.



I flushed supergrub2 into my pendrive from another PC and restarted my pc with that pen drive. I still can't get my pc to boot. I've seen some YouTube tutorials and tried the "set" command in grub rescue. The result I have is below which does not match any of the tutorials that I've watched.



cmdpath=(hd0,msdos1)/EFI/BOOT
prefix=(hd0)/boot/grub
root=hd0



And typing ”ls” in grub rescue shows the following:



(hd0) (hd0,msdos1) (hd1) (hd1,msdos7) (hd1,msdos6) (hd1,msdos5) ) (hd1,msdos2) (hd1,msdos1)



How can I access Windows or my hard disk again?










share|improve this question







New contributor




Mamun Kaiser Zisan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Since you have deleted Ubuntu, grub can't find the files it needs for booting. Either boot on Ubuntu live media to reintall Ubuntu, or boot on Windows media to repair MBR / UEFI. If Windows was installed under UEFI, you might also be able to choose boot order and boot into windows that way.

    – Soren A
    Mar 9 at 13:20













  • If partitions are msdos, then your Windows install has to be the old BIOS/MBR configuration. And then the only way to boot is thru MBR. So you need to restore a Windows boot loader to MBR. Always best to do that before deleting any partitions. Use your Windows repair disk & its repair console to do fixMBR or from Ubuntu live installer: askubuntu.com/questions/133533/…

    – oldfred
    Mar 9 at 16:04











  • I just followed the link provided by oldfred and was able to boot into my windows. Thanks a lot

    – Mamun Kaiser Zisan
    Mar 9 at 17:54














0












0








0








I had windows 10 installed on my pc and I installed Ubuntu 17.10 alongside windows. I logged into windows and EasUs partition manager showed me I have some free space and file system of that partition is unknown. Then I went to disk management from My Computer and it showed me that previously mentioned 60GB was empty. So I just deleted that partition and extended another partition. Then I restarted my PC and it's stuck in the "error:no such partition" screen.



I flushed supergrub2 into my pendrive from another PC and restarted my pc with that pen drive. I still can't get my pc to boot. I've seen some YouTube tutorials and tried the "set" command in grub rescue. The result I have is below which does not match any of the tutorials that I've watched.



cmdpath=(hd0,msdos1)/EFI/BOOT
prefix=(hd0)/boot/grub
root=hd0



And typing ”ls” in grub rescue shows the following:



(hd0) (hd0,msdos1) (hd1) (hd1,msdos7) (hd1,msdos6) (hd1,msdos5) ) (hd1,msdos2) (hd1,msdos1)



How can I access Windows or my hard disk again?










share|improve this question







New contributor




Mamun Kaiser Zisan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I had windows 10 installed on my pc and I installed Ubuntu 17.10 alongside windows. I logged into windows and EasUs partition manager showed me I have some free space and file system of that partition is unknown. Then I went to disk management from My Computer and it showed me that previously mentioned 60GB was empty. So I just deleted that partition and extended another partition. Then I restarted my PC and it's stuck in the "error:no such partition" screen.



I flushed supergrub2 into my pendrive from another PC and restarted my pc with that pen drive. I still can't get my pc to boot. I've seen some YouTube tutorials and tried the "set" command in grub rescue. The result I have is below which does not match any of the tutorials that I've watched.



cmdpath=(hd0,msdos1)/EFI/BOOT
prefix=(hd0)/boot/grub
root=hd0



And typing ”ls” in grub rescue shows the following:



(hd0) (hd0,msdos1) (hd1) (hd1,msdos7) (hd1,msdos6) (hd1,msdos5) ) (hd1,msdos2) (hd1,msdos1)



How can I access Windows or my hard disk again?







grubrescue grub-efi






share|improve this question







New contributor




Mamun Kaiser Zisan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Mamun Kaiser Zisan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Mamun Kaiser Zisan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Mar 9 at 12:49









Mamun Kaiser ZisanMamun Kaiser Zisan

1




1




New contributor




Mamun Kaiser Zisan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Mamun Kaiser Zisan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Mamun Kaiser Zisan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Since you have deleted Ubuntu, grub can't find the files it needs for booting. Either boot on Ubuntu live media to reintall Ubuntu, or boot on Windows media to repair MBR / UEFI. If Windows was installed under UEFI, you might also be able to choose boot order and boot into windows that way.

    – Soren A
    Mar 9 at 13:20













  • If partitions are msdos, then your Windows install has to be the old BIOS/MBR configuration. And then the only way to boot is thru MBR. So you need to restore a Windows boot loader to MBR. Always best to do that before deleting any partitions. Use your Windows repair disk & its repair console to do fixMBR or from Ubuntu live installer: askubuntu.com/questions/133533/…

    – oldfred
    Mar 9 at 16:04











  • I just followed the link provided by oldfred and was able to boot into my windows. Thanks a lot

    – Mamun Kaiser Zisan
    Mar 9 at 17:54



















  • Since you have deleted Ubuntu, grub can't find the files it needs for booting. Either boot on Ubuntu live media to reintall Ubuntu, or boot on Windows media to repair MBR / UEFI. If Windows was installed under UEFI, you might also be able to choose boot order and boot into windows that way.

    – Soren A
    Mar 9 at 13:20













  • If partitions are msdos, then your Windows install has to be the old BIOS/MBR configuration. And then the only way to boot is thru MBR. So you need to restore a Windows boot loader to MBR. Always best to do that before deleting any partitions. Use your Windows repair disk & its repair console to do fixMBR or from Ubuntu live installer: askubuntu.com/questions/133533/…

    – oldfred
    Mar 9 at 16:04











  • I just followed the link provided by oldfred and was able to boot into my windows. Thanks a lot

    – Mamun Kaiser Zisan
    Mar 9 at 17:54

















Since you have deleted Ubuntu, grub can't find the files it needs for booting. Either boot on Ubuntu live media to reintall Ubuntu, or boot on Windows media to repair MBR / UEFI. If Windows was installed under UEFI, you might also be able to choose boot order and boot into windows that way.

– Soren A
Mar 9 at 13:20







Since you have deleted Ubuntu, grub can't find the files it needs for booting. Either boot on Ubuntu live media to reintall Ubuntu, or boot on Windows media to repair MBR / UEFI. If Windows was installed under UEFI, you might also be able to choose boot order and boot into windows that way.

– Soren A
Mar 9 at 13:20















If partitions are msdos, then your Windows install has to be the old BIOS/MBR configuration. And then the only way to boot is thru MBR. So you need to restore a Windows boot loader to MBR. Always best to do that before deleting any partitions. Use your Windows repair disk & its repair console to do fixMBR or from Ubuntu live installer: askubuntu.com/questions/133533/…

– oldfred
Mar 9 at 16:04





If partitions are msdos, then your Windows install has to be the old BIOS/MBR configuration. And then the only way to boot is thru MBR. So you need to restore a Windows boot loader to MBR. Always best to do that before deleting any partitions. Use your Windows repair disk & its repair console to do fixMBR or from Ubuntu live installer: askubuntu.com/questions/133533/…

– oldfred
Mar 9 at 16:04













I just followed the link provided by oldfred and was able to boot into my windows. Thanks a lot

– Mamun Kaiser Zisan
Mar 9 at 17:54





I just followed the link provided by oldfred and was able to boot into my windows. Thanks a lot

– Mamun Kaiser Zisan
Mar 9 at 17:54










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Mamun Kaiser Zisan is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124298%2funable-to-boot-into-windows-after-accidentally-deleting-ubuntu-partition%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








Mamun Kaiser Zisan is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Mamun Kaiser Zisan is a new contributor. Be nice, and check out our Code of Conduct.













Mamun Kaiser Zisan is a new contributor. Be nice, and check out our Code of Conduct.












Mamun Kaiser Zisan is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124298%2funable-to-boot-into-windows-after-accidentally-deleting-ubuntu-partition%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

數位音樂下載

When can things happen in Etherscan, such as the picture below?

格利澤436b