Find the answer to your Linux question:
Results 1 to 5 of 5
i had windows 7 and then installed ubuntu on a different disk. everything was fine until i reinstalled windows 7 and the computer booted right to windows instead of going ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    2

    Unhappy windows 7 destroyed grub

    i had windows 7 and then installed ubuntu on a different disk. everything was fine until i reinstalled windows 7 and the computer booted right to windows instead of going to grub.
    I tried to run from the ubuntu cd

    sudo grub
    find /boot/grub/stage1
    root(hd1,0)
    setup(hd1)
    quit

    but first grub could not be found so i reinstalled it
    then stage1 could not be found so i tried copying it from /usr/lib/grub/i386
    to /boot/grub but it still couldnt be found and setup did not work.

    I do not want to reinstall ubuntu because i have already installed many programs
    all i want is grub back the way it was before the greedy windows took it over

  2. #2
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    Welcome to the forums!

    Yes indeed, Windows will always overwrite the bootloader when installed after Linux.

    Just guessing here, but are you sure that you reinstalled the correct version of GRUB?

    Ubuntu stopped using GRUB Legacy and switched to GRUB2 with their 9.10 release and they configure and work differently.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Just Joined!
    Join Date
    Mar 2010
    Posts
    2
    i do not have grub2 in the synaptic package manager. i am using 9.10 on the cd but i have a previous version on the hard disk. perhaps i have to reinstall grub on my previous system but I can;t get to it.
    i installed grub but it removed grub-pc

  4. #4
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    The Ubuntu folks have put together some nice documentation for using either version of GRUB that might be useful to you:

    https://help.ubuntu.com/community/GrubHowto

    https://help.ubuntu.com/community/Grub2

    https://wiki.ubuntu.com/Grub2

    You might find GRUB2 listed as 1.97~beta something or other in Synaptic because it's not really up to version 2 quite yet. I'm not running Ubuntu at them moment so can't check it easily.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    9.10 uses GRUB2 only and you have tried to install GRUB Legacy. That process has removed integral part of GRUB2, grub-pc.

    Now if you are planning to use GRUB, you have to create menu.lst file manually and configure it correctly.
    I would suggest you to reinstall GRUB2 instead of GRUB Legacy.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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