1

I recently installed Ubuntu 17.04 on my Windows 7 laptop, intending to dual boot. However, now my computer automatically defaults to Ubuntu. After playing around, I got the grub menu to show, but it only shows Ubuntu. How do I get Windows to show?

Code: sudo fdisk -l

Got this:

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: 0xe9fded33

Device     Boot    Start       End   Sectors  Size Id Type
/dev/sda1  *        2048    999423    997376  487M 82 Linux swap / Solaris
/dev/sda2        1001470 137717759 136716290 65.2G  5 Extended
/dev/sda5        1001472  40060927  39059456 18.6G 83 Linux
/dev/sda6       40062976 137717759  97654784 46.6G 83 Linux

Partition 2 does not start on physical sector boundary.

BOOT-INFO

https://pastebin.com/BFUrL3cD

Boot repair says it succeeded, yet I still see only Ubuntu in the grub menu. Help please!

  • 4
    Who knows, simply stating that it is not working is insufficient information. Run boot-repair and send the url it provides if it fails. help.ubuntu.com/community/Boot-Repair – Panther Jun 23 '17 at 15:56
  • 2
    I'm fairly certain that underneath sudo update-grub uses os-prober, but you might try it for good measure. – Maxattax Jun 24 '17 at 2:45
  • Could you please edit your question to include the complete link to the Boot-Info log? The current one just leads to the main page of the pastie service. – David Foerster Jun 24 '17 at 17:43
  • 1
    You sure that the Windows boot loader is present on the second disk? If not you need to boot repair just that disk alone with the other drive disconnected and have the Windows boot loader restored. – Thomas Ward Jun 24 '17 at 17:51
  • @DavidFoerster: I was also confused by that, but all the boot repair gave me was "Please write on a paper the following URL: paste2.org" – reincarnationofstackexchange Jun 24 '17 at 18:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.