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.

Sorry if I asking old question.

I had only ubuntu on my laptop, then I installed Windows 7 on other partition. I thought that I will be choosing OS when computer boots, but it always loads Windows 7 and don't give any choose option.

From ancient times it was normal to have XP, then install Linux, it always give choose option, but now I don't know how to configure that things.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Boot to a live cd. Load up the system under "Try ubuntu". Open a terminal. Type sudo install /dev/sd? replacing the ? with the proper letter of the main drive (this will likely be an a, resulting in sudo grub-install /dev/sda).

Afterwards, reboot without the LiveCD and see if Grub shows up. Lemme know if it doesn't because I have another method that worked for me.

share|improve this answer
2  
Just a tidbit of info: When you install Windows alongside a preexisting Ubuntu installation, Windows will overwrite (or take control of, depending on the setup) of the boot loader. To override this, you need to reinstall the Grub bootloader. Then you can effectively dual boot. Usually, what you'd do is install Windows first, then Ubuntu, because then the bootloader is fixed to be Grub. –  Thomas W. Jul 13 '11 at 13:23
    
tried to do with your suggestions, but it always gives an error: install: missing destination file operand after '/dev/sda3 try install --help' for more information. –  Rinat Tainov Jul 16 '11 at 6:30
    
dont specify the partition at all. Only specify the drive device itself sda, not sda3. –  Thomas W. Jul 16 '11 at 16:11
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.