Cannot boot into Windows 10 after installing Ubuntu 18.04 LTS
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.
boot dual-boot grub2
add a comment |Â
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.
boot dual-boot grub2
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
add a comment |Â
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.
boot dual-boot grub2
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.
boot dual-boot grub2
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
add a comment |Â
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
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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