Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have searched everywhere on the internet and I cannot seem to find a solution to this problem. I have an Alienware Aurora and with it came Windows 7. Recently, I inserted an additional HDD and installed Ubuntu on it. Upon boot up, I do not have the option of booting to a specific OS. I checked and everything is still on the original drive. I even went into my BIOS and tried to switch the drive from which the computer booted, but there was no option for the original drive. I also tried using boot-repair to no avail. Thanks in advance for the help. I realize that similar questions have been asked on these forums but none of them seem to be any help to me. Edit: I meant to add that I tried removing the Ubuntu drive therefore forcing it to boot to Windows. When I did this, it started a GRUB command line which I am completely unfamiliar with.

share|improve this question
    
Take a look at Grub Customizer. –  Mitch Aug 15 '13 at 16:06
    
please indicate the URL provided by Boot-Repair. –  LovinBuntu Aug 16 '13 at 9:15
add comment

2 Answers

You just need to add entry in Grub to boot windows.

So just edit /etc/grub.d/40_custom (using SUDO) and add the following lines to the bottom of the file:

menuentry ‘Windows 7′ {
set root=’(hd0,msdos2)’
chainloader +1
}

(hd0,msdos2) Refers to first HDD ( /dev/sda2 ).

After making changes into grub, you need to update grub.cfg by using below command.

sudo update-grub2

Now when you boot your system, you will get Option to boot Ubuntu or Windows.

share|improve this answer
add comment

that's also happen to me, maybe you can try to press F9 after you restart your computer. then there's a different drives will pop up then choose what you want.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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