Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: GRUB trouble : I lost my GRUB!!!

  1. #1
    Join Date
    Apr 2008
    Location
    Chennai, India
    Beans
    67
    Distro
    Ubuntu 10.04 Lucid Lynx

    Unhappy GRUB trouble : I lost my GRUB!!!

    I installed Fedora Core 9.0 on my HDD containing Ubuntu 8.04 and WinXP, but on a different partiton. During the installation, I chose the Fedora Core's /boot partition as the install location for its Boot Loader, as I din't want it to overwrite the GRUB 1.5 of my Ubuntu from my MBR. Now, when I boot my system, I see "Loading GRUB 1.5 ....." for just one second, the same I used to see earlier during my Ubuntu 8.04 + WinXP times, but it doesn't load completely and instead, it loads the Fedora Core GRUB 0.97 or something. Here, I can only boot Fedora or Other (WinXP), I don't know how to get my GRUB 1.5 back!! I just want to get back to my Ubuntu!! Help please...

  2. #2
    Join Date
    Mar 2007
    Beans
    1,208
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: GRUB trouble : I lost my GRUB!!!

    Try re-installing grub via the Ubuntu LiveCD, that should detect all your OS's for you.

    https://help.ubuntu.com/community/Re...tallingWindows
    How To Use Ubuntu - Tips and guides for ubuntu
    How To Make A Band - Tips and ideas for anyone in a band

  3. #3
    Join Date
    Apr 2008
    Location
    Chennai, India
    Beans
    67
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: GRUB trouble : I lost my GRUB!!!

    How do I install the GRUB alone from the LiveCD?

    Guess that's what the link was for! Sorry!!
    Last edited by kauboy; September 15th, 2008 at 03:25 PM. Reason: My bad!

  4. #4
    Join Date
    Apr 2008
    Location
    Chennai, India
    Beans
    67
    Distro
    Ubuntu 10.04 Lucid Lynx

    Unhappy Re: GRUB trouble : I lost my GRUB!!!

    Is there a way to get into Ubuntu without having to re-install my GRUB, because I'm quite sure that my old GRUB 1.5 is still present, just that it isn't loading. Then maybe, I can edit the menu.lst file in Ubuntu and get Fedora to load. I just want to load my Ubuntu GRUB 1.5, without re-installation if possible. GRUB 1.5 is still there, it just comes up for coupla seconds, then the Fedora GRUB loads up .

  5. #5
    Join Date
    Jul 2007
    Location
    Melbourne, Australia
    Beans
    3,475
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: GRUB trouble : I lost my GRUB!!!

    Post output of
    cat /boot/grub/menu.lst
    Windows is the best virus detector on the market!
    Ubuntu attracts Human Beings - Windows attracts viruses and worms

  6. #6
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: GRUB trouble : I lost my GRUB!!!

    Quote Originally Posted by kauboy View Post
    Is there a way to get into Ubuntu without having to re-install my GRUB, because I'm quite sure that my old GRUB 1.5 is still present, just that it isn't loading. Then maybe, I can edit the menu.lst file in Ubuntu and get Fedora to load. I just want to load my Ubuntu GRUB 1.5, without re-installation if possible. GRUB 1.5 is still there, it just comes up for coupla seconds, then the Fedora GRUB loads up .
    You have to reinstall Grub to the master boot record (MBR) and point it to your Ubuntu partition again if you want your Ubuntu's menu.lst to be used instead of Fedora's. Just do like Tatty recommended. Boot your Live CD, and do:
    Code:
    sudo grub
    grub> find /boot/grub/stage1
    If that returns two partitions in the form (hdX,Y), decide which is your Ubuntu partition and use it in the commands below. If it only gives one output in the form (hdX,Y), use that:
    Code:
    grub> root (hdX,Y)
    grub> setup (hdX)
    grub> quit
    You can then add Fedora's menu.lst to your Ubuntu menu.lst with the following syntax:
    Code:
    title  Fedora
    root   (hdX,Y)
    configfile /boot/grub/menu.lst
    Of course (hdX,Y) needs to be your Fedora partition, and you also need to make sure you give the correct path to the menu.lst or grub.conf, whichever Fedora uses. If you need help with that, let me know, otherwise let me know how it goes.
    Last edited by caljohnsmith; September 15th, 2008 at 03:44 PM.

  7. #7
    Join Date
    Mar 2007
    Beans
    1,208
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: GRUB trouble : I lost my GRUB!!!

    Im not really sure, im not sure how having multiple grubs works. Re-installing is just the easiest option as it should sort it all out for you.

    If you really want to just fix it by hand then this page should help you.

    https://help.ubuntu.com/community/GrubHowto
    How To Use Ubuntu - Tips and guides for ubuntu
    How To Make A Band - Tips and ideas for anyone in a band

  8. #8
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: GRUB trouble : I lost my GRUB!!!

    If you have another comp online you could try this:

    www.supergrubdisk.org

  9. #9
    Join Date
    Jul 2005
    Location
    /dev/UK
    Beans
    984
    Distro
    Ubuntu Mate 18.10 Cosmic Cuttlefish

    Re: GRUB trouble : I lost my GRUB!!!

    Quote Originally Posted by kauboy View Post
    Is there a way to get into Ubuntu without having to re-install my GRUB, because I'm quite sure that my old GRUB 1.5 is still present, just that it isn't loading. Then maybe, I can edit the menu.lst file in Ubuntu and get Fedora to load. I just want to load my Ubuntu GRUB 1.5, without re-installation if possible. GRUB 1.5 is still there, it just comes up for coupla seconds, then the Fedora GRUB loads up .
    It looks like Fedora's grub has installed to the mbr. You need to reinstall the ubuntu grub to the mbr using the live cd, as per the link. Only takes a couple of seconds so it's not a big job. Then you can edit menu.lst to add Fedora

    edit: looks like we all replied at once

  10. #10
    Join Date
    Apr 2008
    Location
    Chennai, India
    Beans
    67
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: GRUB trouble : I lost my GRUB!!!

    Evidently, I'm now running only Fedora Core 9.0 or something, as I've no means of loading my Ubuntu 8.04 yet.

    # cat /boot/grub/menu.lst
    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE: You have a /boot partition. This means that
    # all kernel and initrd paths are relative to /boot/, eg.
    # root (hd0,8)
    # kernel /vmlinuz-version ro root=/dev/sda11
    # initrd /initrd-version.img
    #boot=/dev/sda9
    default=0
    timeout=5
    splashimage=(hd0,8)/grub/splash.xpm.gz
    hiddenmenu
    title Fedora (2.6.25-14.fc9.i686)
    root (hd0,8)
    kernel /vmlinuz-2.6.25-14.fc9.i686 ro root=UUID=d870ef70-ef17-48b2-bffc-2855c237fec2 rhgb quiet
    initrd /initrd-2.6.25-14.fc9.i686.img
    title Other
    rootnoverify (hd0,0)
    chainloader +1
    Pardon me, 8 ) without the space in-between, is what shows up as 8) (without the space!!)

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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