Friday, May 5, 2017

boot - Can't find Windows 10 on GRUB


I'm a linux newbie and ran into this problem when trying to install Ubuntu as dual-boot with my Windows 10. I've done that before with Windows 7, with wubi. But I read that wubi wasn't the preferred instalation method anymore, so I tried with a bootable USB drive.


I've put the 14.04.3 Ubuntu image into the USB drive, then installed it on my laptop selecting the "Install alongside Windows 8" option. Everything went fine, but when I restarted it booted directly into Ubuntu (instead of the grub screen where I can get to choose which OS to use).


Googling about this, I saw some solutions that worked for people in similar situations. Tried the "Recommended Repair" option on the Boot Repair tool, with no success except that now the Grub screen appears (though with no "Windows 10" option). Also tried sudo update-grub but no changes.


Some info that may help:



  • I can't see my windows partitions on Nautilus.

  • I have a laptop with an 1tb HD with two partitions:

    • C:\ - named SYSTEM, with ~200gb for Windows 10 (upgraded from 8.1)

    • E:\ - named COPA, with ~700gb for personal files


  • With TestDisk, I was able to find both C:\ and E:.

  • Ran Boot Info Script and got this result.

  • Here's a screenshot from GParted


Thanks in advance for anyone that can help me with this! :)



The default installation of windows 10 requires a minimum of 4 partitions:



  1. sda1 (Recovery)

  2. sda2 (Boot/efi)

  3. sda3 (MSR)

  4. sda4 (Windows OS, usually "C")


If the "boot/efi" partition or the "MSR" partition has been damaged or deleted during the ubuntu install you might not be able to see windows in grub. Try the following command in ubuntu to see all the available partition:


sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL

It should give you an idea of what happened to your system. From the screenshot you've provided it seems that all the partition are there. You might try to repair windows with the installation CD/USB.


You can try to instal Grub customizer and see if windows is available in the list:


sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer

To launch: "Applications > System Tools > Grub Customizer" then you can change which system are available to boot.


Here's a screen of what a correct installation looks like:
Screenshot:


Hope this helps!


itSp4x


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...