Ubuntu: Windows 10 was removed while installing Ubuntu 16.04



Question:

I installed ubuntu 16.04 recently. They asked me to install beside windows and I chose that option but still windows was removed after the installation. The windows is not being shown in the boot menu and its partitions are being shown in the ubuntu. Can anybody explain to me why this happened ? Have I lost my windows forever ?

The output for the command sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL was as follows :

NAME   FSTYPE   SIZE MOUNTPOINT                    LABEL  sda           698.7G                                 â"œâ"€sda1 ntfs     200M /media/shrey/5C0E9CC30E9C979A   â"œâ"€sda2 ntfs   574.7G /media/shrey/5EDE9E79DE9E48E3   â"œâ"€sda3            1K                                 â"œâ"€sda4 ntfs    14.8G                               LENOVO_PART  â"œâ"€sda5 ntfs      29G /media/shrey/LENOVO           LENOVO  â"œâ"€sda6 ext4    76.1G /                               â""â"€sda7 swap     3.9G [SWAP]                          sr0            1024M         


Solution:1

Can you try doing

sudo update-grub  

in a terminal?

Then reboot and if Windows is not corrupted and GRUB detects it then Windows should appear in the boot menu.


Solution:2

There are 4 ntfs type partitions on your disk, so you probably didn't lose your Windows installation, you just can't boot into Windows since Grub (the bootloader) couldn't manage to find it somehow.

In order to try to make Grub find Windows, you can try following:

  1. Make sure os-prober package is installed:

    $ sudo apt-get install os-prober

  2. Make grub re-create its configuration:

    $ grub-mkconfig -o /boot/grub/grub.cfg

If this also doesn't work, you can post contents of your grub config file /boot/grub/grub.cfg and someone can help you add Windows to the menu manually.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »