Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I had ubuntu already installed on my laptop.I did not uninstall it.I installed windows 7 on my laptop.Now I can't access ubuntu.It's hidden.I thought I would get a choice of operating systems at the start but I dont. I want both OS on my machine.Can somebody please help me? The Ubuntu files still exist on a seperate hard drive on my system.Its name is OS(D) .Windows 7 is installed on C.Can anybody tell me how do I get a choice of operating systems during system start up ?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Steps:

  1. Boot from a Ubuntu LiveCD.

  2. Select Try Ubuntu.

  3. Open a terminal (Ctrl + Alt + T).

  4. Execute the following commands:

    sudo add-apt-repository ppa:yannubuntu/boot-repair
    sudo apt-get update
    sudo apt-get install boot-repair
    sudo boot-repair
    
  5. Follow the instructions.

  6. Reboot.

This will re-install GRUB, which was removed by the Windows installer. You'll be able to into into both operating systems now.

share|improve this answer
    
i dont have a ubuntu live cd.Can't I reinstall grub from my windows? –  iOsBoy Mar 5 '13 at 11:40
1  
Do you have the Ubuntu installer for Windows? I've never tried it, but it should be possible from there to. –  Dennis Mar 5 '13 at 11:49
    
Can't I download grub from the internet ? –  iOsBoy Mar 5 '13 at 11:51
3  
The problem isn't downloading GRUB (it's already on your Ubuntu partition), but re-installing it. This involves writing to your Ubuntu partition, which – if it's formatted with ext2/3/4 – WIndows won't be able to access without additional drivers. I suppose this is possible (and I'll look into it), but I don't know how right now. It doesn't have to be GRUB; you could install any other boot manager that supports both Windows and Linux as well. –– If you don't mind me asking, how did you install Ubuntu without an installer or a Live CD? –  Dennis Mar 5 '13 at 11:57
1  
The boot-repair disk might be useful. –  Karan Mar 6 '13 at 3:51

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.