Find the answer to your Linux question:
Results 1 to 5 of 5
I have recently installed Windows 7 AFTER having installed Ubuntu 9.10. When I reboot, the computer loads directly to Windows with no option to select an operating system after POST. ...
  1. #1
    Linux Newbie thornspear's Avatar
    Join Date
    Aug 2009
    Location
    Alberta, Canada
    Posts
    158

    [SOLVED] Recovering Ubuntu 9.10 After Installing Windows 7

    I have recently installed Windows 7 AFTER having installed Ubuntu 9.10. When I reboot, the computer loads directly to Windows with no option to select an operating system after POST. I've been following the following guide:

    https://help.ubuntu.com/community/Re...tallingWindows

    I've managed to reinstall the GRUB and get Ubuntu back up and running. At this point in the tutorial, it says:

    __________________________________________

    If, after installing grub, Windows does not appear in the boot menu, you will need to edit /boot/grub/menu.lst (That is a lowercase "L" and not the number 1 in menu.lst)

    Open a terminal and enter:

    gksu gedit /boot/grub/menu.lst

    __________________________________________

    When I enter the aforementioned code, gedit opens, but the file is completely empty...

    Meanwhile, it's saying:

    Your Windows stanza should look something like this:

    title Windows XP/Vista # Use any title you wish, it will appear in the grub boot menu
    rootnoverify (hd0,0) # This is the location of the windows partition
    makeactive
    chainloader +1




    So I'm a bit lost at this point. If anyone can help point me in the right direction it would be stellar!

    Thanks.
    As wide as were the waters,
    So wide was wove the net.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    You are following an old tutorial. Ubuntu latest version is using GRUB2 instead of GRUB.
    Execute this in Ubuntu Terminal
    Code:
    sudo grub2-update
    It will detect Windows OS and configure /boot/grub/grub.cfg file.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux Newbie thornspear's Avatar
    Join Date
    Aug 2009
    Location
    Alberta, Canada
    Posts
    158
    I know that the grub for 9.10 differs from previous versions as it mentions this at the top of this tutorial so I figured that this tutorial was up to date.


    entering the code you've suggested yields the following:

    sudo grub2-update

    Code:
    sudo: grub2-update: command not found
    As wide as were the waters,
    So wide was wove the net.

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    My Mistake ! Correct command is
    Code:
    sudo update-grub2
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Linux Newbie thornspear's Avatar
    Join Date
    Aug 2009
    Location
    Alberta, Canada
    Posts
    158
    Spinning like a top sir!

    Thanks casper!
    As wide as were the waters,
    So wide was wove the net.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...