After using Wubi for a few weeks, I thought it would be time to do a real install of Ubuntu. I downloaded the iso file from the official website and installed the iso on a usb (with Pen Drive Linux's USB Installer). Next, I boot my PC via the usb and installed ubuntu on a new partition and also created a swap partition.

When I restart my PC it immediately boots up with Ubuntu without asking for the choice of Ubuntu/Windows7. The files saved under W7 are still available and also Windows is still on the ssd.

In the print screen one can find the current partitions of my ssd. sda1 is the partition where W7 is installed, sda2 is the partitions where W7 saves images and documents, sda3 is the partitions for Ubuntu and sda4 is the swap partition for Ubuntu.

I would like to have a choice to boot Ubuntu or W7. The difference with similar questions is that it will boot immediately Ubuntu and not Windows 7. Does anyone know how to solve this?

Overview of partititions on SSD

When I use the live boot of Ubuntu and then follow the steps described at https://help.ubuntu.com/community/Boot-Repair I get the following (see printscreen).

boot-repair boot-repair2

  • Have you followed these steps in this link to run boot-repair? help.ubuntu.com/community/Boot-Repair – ryekayo Aug 6 '14 at 17:19
  • Not yet, thanks for the comment. I will follow these steps now and post the result asap. – Michiel uit het Broek Aug 6 '14 at 17:30
  • Awesome. Let me know and I will post it as my answer. Thanks :) – ryekayo Aug 6 '14 at 17:31
  • what's the output of sudo update-grub and cat /etc/default/grub? – Braiam Aug 6 '14 at 17:31
  • @Braiam, what do you mean by the output? Is sudo update-grub a command or a program. – Michiel uit het Broek Aug 6 '14 at 17:43

as per here you should try running from the terminal

sudo os-prober
sudo update-grub

The first one will search in all partitions for other operating systems beside ubuntu, and make the system aware of it, the second one re-creates the menu at boot with the entries from known operating systems

| improve this answer | |
  • Great! When I boot my pc I get several options with among others Ubuntu and WD7. – Michiel uit het Broek Aug 7 '14 at 8:19

How did you create the partition? Did you create it in windows? Current Linuxes always give you options of installing side by side with windows or completely replacing windows - which one did you choose?

  1. If you have created windows backup disk or have windows original disc then try repairing and installing Linux again and this time choose the proper option of side by side.
  2. Use a bootloader/boot manager software in Linux and try looking if the windows boot information comes up.
| improve this answer | |
  • I did my best to offer some suggestions to clear up your post, but I still find it very difficult to understand some of what you said; consider expanding on your solution and making your post overall more clear. – HalosGhost Aug 6 '14 at 19:15
  • I created an unallocated space on the ssd via Windows. Then I boot the live version of Ubuntu and I have used GParted to create two partitions. Then I installed Ubuntu via the live boot of Ubuntu on the partition. The choice to install Ubuntu next to WD7 wasn't shown and I read in other topics that I had to choice 'use other' and allocated the partitions manually. – Michiel uit het Broek Aug 7 '14 at 8:18

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.