komali2
February 10th, 2016, 08:50 PM
Windows 10 is missing from my boot list on my UEFI machine after I installed ubuntu in an empty partition. How can I get it back?
I used a liveUSB of ubuntu to install ubuntu to an empty partition I had created by shrinking the main partition within Windows 10. The machine is a Lenovo y500. Ubuntu boots fine, but Windows is missing from the boot menu, see this image (http://i.imgur.com/R3rd8br.jpg).
I ran update-grub, which yielded the following, rebooted, and found it did not work.
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.19.0-15-generic
Found initrd image: /boot/initrd.img-3.19.0-15-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows Recovery Environment (loader) on /dev/sda1
done
Then, I followed the steps on an askubuntu (https://help.ubuntu.com/community/Boot-Repair#A2nd_option_%3a_install_Boot-Repair_in_Ubuntu) link on running a boot repair which yielded this pastebin. (http://paste.ubuntu.com/15010441/)I restarted, and found it did not work.
fdisk -l yielded the following:
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xfe621785
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
/dev/sda2 206848 1850200063 1849993216 882.1G 7 HPFS/NTFS/exFAT
/dev/sda3 1952600064 1953521663 921600 450M 27 Hidden NTFS WinRE
/dev/sda4 1850202110 1952600063 102397954 48.8G 5 Extended
/dev/sda5 1850202112 1943949311 93747200 44.7G 83 Linux
/dev/sda6 1943951360 1952600063 8648704 4.1G 82 Linux swap / Solaris
Partition 5 does not start on physical sector boundary.
Partition table entries are not in disk order.
Thank you for taking a look.
I used a liveUSB of ubuntu to install ubuntu to an empty partition I had created by shrinking the main partition within Windows 10. The machine is a Lenovo y500. Ubuntu boots fine, but Windows is missing from the boot menu, see this image (http://i.imgur.com/R3rd8br.jpg).
I ran update-grub, which yielded the following, rebooted, and found it did not work.
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.19.0-15-generic
Found initrd image: /boot/initrd.img-3.19.0-15-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows Recovery Environment (loader) on /dev/sda1
done
Then, I followed the steps on an askubuntu (https://help.ubuntu.com/community/Boot-Repair#A2nd_option_%3a_install_Boot-Repair_in_Ubuntu) link on running a boot repair which yielded this pastebin. (http://paste.ubuntu.com/15010441/)I restarted, and found it did not work.
fdisk -l yielded the following:
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xfe621785
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
/dev/sda2 206848 1850200063 1849993216 882.1G 7 HPFS/NTFS/exFAT
/dev/sda3 1952600064 1953521663 921600 450M 27 Hidden NTFS WinRE
/dev/sda4 1850202110 1952600063 102397954 48.8G 5 Extended
/dev/sda5 1850202112 1943949311 93747200 44.7G 83 Linux
/dev/sda6 1943951360 1952600063 8648704 4.1G 82 Linux swap / Solaris
Partition 5 does not start on physical sector boundary.
Partition table entries are not in disk order.
Thank you for taking a look.