Hi I'm a newbie to Linux and have been interested in trying it out. My wife has no interest in it so I'm forced to create a dual OS situation but I've really run into a brick wall here.

I've done as much Google searching and read as many tutorials as I can but this just isn't working. I have two HDDs that I can use. One has Win7 installed, but as soon as I installed Ubuntu on the other drive Windows refuses to boot. I tried using my 7 disk to repair the bootloader which didn't work, and I also tried to install grub which also did not work. Any help would be appreciated.

  • 1
    Please use Boot Repair and post the repair log. – Danatela Mar 5 '14 at 9:42
  • Windows 7 boot repair or some Ubuntu boot repair? – user254959 Mar 5 '14 at 9:53
  • 1
  • Ok cool it did do a thing and at boot I now have the grub menu. Windows 7 is not there though. Here's that url you asked for paste.ubuntu.com/7037700 – user254959 Mar 5 '14 at 10:13
  • 1
    This can be marked as solved. Your advice helped tremendously and I appreciate it. It took a little more work than I thought it would take. It required a new install of Windows. But I did that, shrank the partition down in Windows. Then I booted up the live CD and installed Ubuntu. After that was done I used the boot-repair you mentioned. Now I can switch between the two seamlessly. Thanks again! – user254959 Mar 5 '14 at 16:58

First of all, you have to install and run Boot-Repair. Choose Recommended Repair.

Once you have done it, boot into Ubuntu, then run

sudo update-grub2

Normally, that's all. You should not care for Windows, as it will find it for you. If not, repair the Windows' MBR and repeat Boot-Repair recommended procedure. There is alternate way if you want to make Windows entry manually.

Enabling Windows manually

Edit /etc/grub.d/40_custom

exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry "Microsoft Windows 7" {
        insmod ntfs
        set root='(hd0,1)'
        drivemap -s (hd0) ${root}
        chainloader +1


sudo update-grub2

And you will see Windows at the end of boot menu.

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.