Cannot boot into Windows 10 after installing Ubuntu 18.04 LTS

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I am new to Linux but wanted to try it. I did a dual installation and installed Ubuntu into 50GB from around 100 GB of previously unallocated space.



After the ubuntu installation, the GRUB menu does not show an option for windows 10. I tried various solutions available this forum but nothing seems to work.



I used Boot-repair, which could not solve the problem. Apparently, os-prober cannot find Windows.



I added a custom entry into /etc/grub.d/40_custom for Windows 10 as follows:



menuentry "Windows 10" --class windows --class os 
insmod ntfs
insmod ntldr
insmod search_fs_uuid
search --no-floppy --set=root --fs-uuid 427E52997E528597
ntldr /bootmgr




The last line in the menuentry is due to the fact that I saw a bootmgr file in the Windows drive.



Performing sudo update-grub after adding the above entry did not find Windows. However, after reboot, there is now an entry for Windows 10, but it doesn't boot! I get an error message that a recent software or hardware change has rendered Windows unbootable, and it must be repaired.



Here is the latest report from Boot-repair.







share|improve this question






















  • sda3 contains a Windows folder. This is probably not the windows boot partition. You are looking for the Windows Boot partition witch contains 'bootmgr' AND the 'Boot' folder.
    – cmak.fr
    May 26 at 11:02











  • ahan, i see sda2 contains a 'bootmgr' and a 'Boot' folder. i will try to edit the /etc/grub.d/40_custom menu entry with respect to this.. any hints on the contents of the menu entry? Thanks for the reply
    – Aizaz
    May 26 at 11:35










  • You have several major issues. You installed grub to NTFS partition's boot sector (PBR or BS). Windows essential boot file info in the PBR. You can use testdisk to restore from backup BS. askubuntu.com/questions/655290/… You also converted sda2 from NTFS to FAT32. Windows has boot files in sda2 and only boots from NTFS with boot flag. Back up files & convert back to NTFS. If conversion erases files use backup to restore them.
    – oldfred
    May 26 at 15:12










  • Thanks @oldfred. I also realized that things are rather messy on my disk. I dont know when did I convert sda2 from NTFS to FAT32. Actually I solved the problem for now, taking hint from @cmk.fr, I edited the menu entry /etc/grub.d/40_custom i.e. replaced the UUID for sda3 with that of sda2 and did not change anything else. Atleast, now I can log into Windows 10. However, I will try to do a complete fix in near future. When you said "Back up files & convert back to NTFS", do you mean i should back up the whole hard disk or just the sda2, which I will be converting from FAT32 to NTFS?
    – Aizaz
    May 26 at 19:02










  • I intended that you should backup the FAT32 as I was not sure change to NTFS would delete data or not, probably depends on how you do it. But you should have everything backed up before making any system changes. And after editing any NTFS partition run chkdsk from Windows. Best to also have Windows repair disk as well as current version Ubuntu installer for Linux repairs. Windows 10 also has fast start up which must be off. And with updates will turn it back on, so check whenever issues. askubuntu.com/questions/843153/…
    – oldfred
    May 26 at 19:45














up vote
0
down vote

favorite












I am new to Linux but wanted to try it. I did a dual installation and installed Ubuntu into 50GB from around 100 GB of previously unallocated space.



After the ubuntu installation, the GRUB menu does not show an option for windows 10. I tried various solutions available this forum but nothing seems to work.



I used Boot-repair, which could not solve the problem. Apparently, os-prober cannot find Windows.



I added a custom entry into /etc/grub.d/40_custom for Windows 10 as follows:



menuentry "Windows 10" --class windows --class os 
insmod ntfs
insmod ntldr
insmod search_fs_uuid
search --no-floppy --set=root --fs-uuid 427E52997E528597
ntldr /bootmgr




The last line in the menuentry is due to the fact that I saw a bootmgr file in the Windows drive.



Performing sudo update-grub after adding the above entry did not find Windows. However, after reboot, there is now an entry for Windows 10, but it doesn't boot! I get an error message that a recent software or hardware change has rendered Windows unbootable, and it must be repaired.



Here is the latest report from Boot-repair.







share|improve this question






















  • sda3 contains a Windows folder. This is probably not the windows boot partition. You are looking for the Windows Boot partition witch contains 'bootmgr' AND the 'Boot' folder.
    – cmak.fr
    May 26 at 11:02











  • ahan, i see sda2 contains a 'bootmgr' and a 'Boot' folder. i will try to edit the /etc/grub.d/40_custom menu entry with respect to this.. any hints on the contents of the menu entry? Thanks for the reply
    – Aizaz
    May 26 at 11:35










  • You have several major issues. You installed grub to NTFS partition's boot sector (PBR or BS). Windows essential boot file info in the PBR. You can use testdisk to restore from backup BS. askubuntu.com/questions/655290/… You also converted sda2 from NTFS to FAT32. Windows has boot files in sda2 and only boots from NTFS with boot flag. Back up files & convert back to NTFS. If conversion erases files use backup to restore them.
    – oldfred
    May 26 at 15:12










  • Thanks @oldfred. I also realized that things are rather messy on my disk. I dont know when did I convert sda2 from NTFS to FAT32. Actually I solved the problem for now, taking hint from @cmk.fr, I edited the menu entry /etc/grub.d/40_custom i.e. replaced the UUID for sda3 with that of sda2 and did not change anything else. Atleast, now I can log into Windows 10. However, I will try to do a complete fix in near future. When you said "Back up files & convert back to NTFS", do you mean i should back up the whole hard disk or just the sda2, which I will be converting from FAT32 to NTFS?
    – Aizaz
    May 26 at 19:02










  • I intended that you should backup the FAT32 as I was not sure change to NTFS would delete data or not, probably depends on how you do it. But you should have everything backed up before making any system changes. And after editing any NTFS partition run chkdsk from Windows. Best to also have Windows repair disk as well as current version Ubuntu installer for Linux repairs. Windows 10 also has fast start up which must be off. And with updates will turn it back on, so check whenever issues. askubuntu.com/questions/843153/…
    – oldfred
    May 26 at 19:45












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am new to Linux but wanted to try it. I did a dual installation and installed Ubuntu into 50GB from around 100 GB of previously unallocated space.



After the ubuntu installation, the GRUB menu does not show an option for windows 10. I tried various solutions available this forum but nothing seems to work.



I used Boot-repair, which could not solve the problem. Apparently, os-prober cannot find Windows.



I added a custom entry into /etc/grub.d/40_custom for Windows 10 as follows:



menuentry "Windows 10" --class windows --class os 
insmod ntfs
insmod ntldr
insmod search_fs_uuid
search --no-floppy --set=root --fs-uuid 427E52997E528597
ntldr /bootmgr




The last line in the menuentry is due to the fact that I saw a bootmgr file in the Windows drive.



Performing sudo update-grub after adding the above entry did not find Windows. However, after reboot, there is now an entry for Windows 10, but it doesn't boot! I get an error message that a recent software or hardware change has rendered Windows unbootable, and it must be repaired.



Here is the latest report from Boot-repair.







share|improve this question














I am new to Linux but wanted to try it. I did a dual installation and installed Ubuntu into 50GB from around 100 GB of previously unallocated space.



After the ubuntu installation, the GRUB menu does not show an option for windows 10. I tried various solutions available this forum but nothing seems to work.



I used Boot-repair, which could not solve the problem. Apparently, os-prober cannot find Windows.



I added a custom entry into /etc/grub.d/40_custom for Windows 10 as follows:



menuentry "Windows 10" --class windows --class os 
insmod ntfs
insmod ntldr
insmod search_fs_uuid
search --no-floppy --set=root --fs-uuid 427E52997E528597
ntldr /bootmgr




The last line in the menuentry is due to the fact that I saw a bootmgr file in the Windows drive.



Performing sudo update-grub after adding the above entry did not find Windows. However, after reboot, there is now an entry for Windows 10, but it doesn't boot! I get an error message that a recent software or hardware change has rendered Windows unbootable, and it must be repaired.



Here is the latest report from Boot-repair.









share|improve this question













share|improve this question




share|improve this question








edited May 26 at 14:35









Zanna

47.8k13116226




47.8k13116226










asked May 26 at 9:49









Aizaz

1




1











  • sda3 contains a Windows folder. This is probably not the windows boot partition. You are looking for the Windows Boot partition witch contains 'bootmgr' AND the 'Boot' folder.
    – cmak.fr
    May 26 at 11:02











  • ahan, i see sda2 contains a 'bootmgr' and a 'Boot' folder. i will try to edit the /etc/grub.d/40_custom menu entry with respect to this.. any hints on the contents of the menu entry? Thanks for the reply
    – Aizaz
    May 26 at 11:35










  • You have several major issues. You installed grub to NTFS partition's boot sector (PBR or BS). Windows essential boot file info in the PBR. You can use testdisk to restore from backup BS. askubuntu.com/questions/655290/… You also converted sda2 from NTFS to FAT32. Windows has boot files in sda2 and only boots from NTFS with boot flag. Back up files & convert back to NTFS. If conversion erases files use backup to restore them.
    – oldfred
    May 26 at 15:12










  • Thanks @oldfred. I also realized that things are rather messy on my disk. I dont know when did I convert sda2 from NTFS to FAT32. Actually I solved the problem for now, taking hint from @cmk.fr, I edited the menu entry /etc/grub.d/40_custom i.e. replaced the UUID for sda3 with that of sda2 and did not change anything else. Atleast, now I can log into Windows 10. However, I will try to do a complete fix in near future. When you said "Back up files & convert back to NTFS", do you mean i should back up the whole hard disk or just the sda2, which I will be converting from FAT32 to NTFS?
    – Aizaz
    May 26 at 19:02










  • I intended that you should backup the FAT32 as I was not sure change to NTFS would delete data or not, probably depends on how you do it. But you should have everything backed up before making any system changes. And after editing any NTFS partition run chkdsk from Windows. Best to also have Windows repair disk as well as current version Ubuntu installer for Linux repairs. Windows 10 also has fast start up which must be off. And with updates will turn it back on, so check whenever issues. askubuntu.com/questions/843153/…
    – oldfred
    May 26 at 19:45
















  • sda3 contains a Windows folder. This is probably not the windows boot partition. You are looking for the Windows Boot partition witch contains 'bootmgr' AND the 'Boot' folder.
    – cmak.fr
    May 26 at 11:02











  • ahan, i see sda2 contains a 'bootmgr' and a 'Boot' folder. i will try to edit the /etc/grub.d/40_custom menu entry with respect to this.. any hints on the contents of the menu entry? Thanks for the reply
    – Aizaz
    May 26 at 11:35










  • You have several major issues. You installed grub to NTFS partition's boot sector (PBR or BS). Windows essential boot file info in the PBR. You can use testdisk to restore from backup BS. askubuntu.com/questions/655290/… You also converted sda2 from NTFS to FAT32. Windows has boot files in sda2 and only boots from NTFS with boot flag. Back up files & convert back to NTFS. If conversion erases files use backup to restore them.
    – oldfred
    May 26 at 15:12










  • Thanks @oldfred. I also realized that things are rather messy on my disk. I dont know when did I convert sda2 from NTFS to FAT32. Actually I solved the problem for now, taking hint from @cmk.fr, I edited the menu entry /etc/grub.d/40_custom i.e. replaced the UUID for sda3 with that of sda2 and did not change anything else. Atleast, now I can log into Windows 10. However, I will try to do a complete fix in near future. When you said "Back up files & convert back to NTFS", do you mean i should back up the whole hard disk or just the sda2, which I will be converting from FAT32 to NTFS?
    – Aizaz
    May 26 at 19:02










  • I intended that you should backup the FAT32 as I was not sure change to NTFS would delete data or not, probably depends on how you do it. But you should have everything backed up before making any system changes. And after editing any NTFS partition run chkdsk from Windows. Best to also have Windows repair disk as well as current version Ubuntu installer for Linux repairs. Windows 10 also has fast start up which must be off. And with updates will turn it back on, so check whenever issues. askubuntu.com/questions/843153/…
    – oldfred
    May 26 at 19:45















sda3 contains a Windows folder. This is probably not the windows boot partition. You are looking for the Windows Boot partition witch contains 'bootmgr' AND the 'Boot' folder.
– cmak.fr
May 26 at 11:02





sda3 contains a Windows folder. This is probably not the windows boot partition. You are looking for the Windows Boot partition witch contains 'bootmgr' AND the 'Boot' folder.
– cmak.fr
May 26 at 11:02













ahan, i see sda2 contains a 'bootmgr' and a 'Boot' folder. i will try to edit the /etc/grub.d/40_custom menu entry with respect to this.. any hints on the contents of the menu entry? Thanks for the reply
– Aizaz
May 26 at 11:35




ahan, i see sda2 contains a 'bootmgr' and a 'Boot' folder. i will try to edit the /etc/grub.d/40_custom menu entry with respect to this.. any hints on the contents of the menu entry? Thanks for the reply
– Aizaz
May 26 at 11:35












You have several major issues. You installed grub to NTFS partition's boot sector (PBR or BS). Windows essential boot file info in the PBR. You can use testdisk to restore from backup BS. askubuntu.com/questions/655290/… You also converted sda2 from NTFS to FAT32. Windows has boot files in sda2 and only boots from NTFS with boot flag. Back up files & convert back to NTFS. If conversion erases files use backup to restore them.
– oldfred
May 26 at 15:12




You have several major issues. You installed grub to NTFS partition's boot sector (PBR or BS). Windows essential boot file info in the PBR. You can use testdisk to restore from backup BS. askubuntu.com/questions/655290/… You also converted sda2 from NTFS to FAT32. Windows has boot files in sda2 and only boots from NTFS with boot flag. Back up files & convert back to NTFS. If conversion erases files use backup to restore them.
– oldfred
May 26 at 15:12












Thanks @oldfred. I also realized that things are rather messy on my disk. I dont know when did I convert sda2 from NTFS to FAT32. Actually I solved the problem for now, taking hint from @cmk.fr, I edited the menu entry /etc/grub.d/40_custom i.e. replaced the UUID for sda3 with that of sda2 and did not change anything else. Atleast, now I can log into Windows 10. However, I will try to do a complete fix in near future. When you said "Back up files & convert back to NTFS", do you mean i should back up the whole hard disk or just the sda2, which I will be converting from FAT32 to NTFS?
– Aizaz
May 26 at 19:02




Thanks @oldfred. I also realized that things are rather messy on my disk. I dont know when did I convert sda2 from NTFS to FAT32. Actually I solved the problem for now, taking hint from @cmk.fr, I edited the menu entry /etc/grub.d/40_custom i.e. replaced the UUID for sda3 with that of sda2 and did not change anything else. Atleast, now I can log into Windows 10. However, I will try to do a complete fix in near future. When you said "Back up files & convert back to NTFS", do you mean i should back up the whole hard disk or just the sda2, which I will be converting from FAT32 to NTFS?
– Aizaz
May 26 at 19:02












I intended that you should backup the FAT32 as I was not sure change to NTFS would delete data or not, probably depends on how you do it. But you should have everything backed up before making any system changes. And after editing any NTFS partition run chkdsk from Windows. Best to also have Windows repair disk as well as current version Ubuntu installer for Linux repairs. Windows 10 also has fast start up which must be off. And with updates will turn it back on, so check whenever issues. askubuntu.com/questions/843153/…
– oldfred
May 26 at 19:45




I intended that you should backup the FAT32 as I was not sure change to NTFS would delete data or not, probably depends on how you do it. But you should have everything backed up before making any system changes. And after editing any NTFS partition run chkdsk from Windows. Best to also have Windows repair disk as well as current version Ubuntu installer for Linux repairs. Windows 10 also has fast start up which must be off. And with updates will turn it back on, so check whenever issues. askubuntu.com/questions/843153/…
– oldfred
May 26 at 19:45















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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1040540%2fcannot-boot-into-windows-10-after-installing-ubuntu-18-04-lts%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1040540%2fcannot-boot-into-windows-10-after-installing-ubuntu-18-04-lts%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491