Results 1 to 9 of 9

Thread: grub2 problem

  1. #1
    Join Date
    Jun 2008
    Beans
    26

    grub2 problem

    ubuntu-9.10 on SDA
    FreeBSD-7.1 on SDB
    Did a clean install of Karmic,after rebooting there was no boot menu,it booted straight into ubuntu.Grub failed to find my second hd(sdb).So I thought no problem I'll just edit /boot/grub/menu.lst,that's when I found out there is no menu.lst anymore.It's now grub2 and for the life of me I do not know what and where to edit anything.

  2. #2
    Join Date
    Feb 2006
    Location
    So.San Francisco
    Beans
    745

    Re: grub2 problem

    try this command,should find your OS

    Code:
    sudo update-grub

    darco
    Reason: no beans

  3. #3
    Join Date
    Jun 2008
    Beans
    26

    Re: grub2 problem

    Thanks darco but it still only finds ubuntu.
    Code:
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-2.6.31-14-generic
    Found initrd image: /boot/initrd.img-2.6.31-14-generic
    Found memtest86+ image: /boot/memtest86+.bin
    done

  4. #4
    Join Date
    Feb 2006
    Location
    So.San Francisco
    Beans
    745

    Re: grub2 problem

    Grub2 is a different beast.
    I too have two seperate hdd and I installed Karmic on sdb and after a few updates, it actually sees my sda drive...are you fully updated?
    Try this link and/or search the forums for grub2

    HTML Code:
    http://ubuntuforums.org/showthread.php?t=1195275
    darco
    Reason: no beans

  5. #5
    Join Date
    Jun 2008
    Beans
    26

    Re: grub2 problem

    Yes I am fully updated darco and and I have read the link you supplied,but I still cant see which way to go,most of it talks about upgrading to grub2.
    I do not like grub2 I was quite happy with grub legacy and menu.lst.
    Why did'nt grub2 detect my second hd,I suppose there is no way I can go back to grub legacy without downgrading ubuntu.

  6. #6
    Join Date
    Jun 2008
    Beans
    26

    Re: grub2 problem

    Any help would be greatly appreciated.

  7. #7
    Join Date
    Aug 2006
    Location
    Norway
    Beans
    13
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: grub2 problem

    Have you seen this page?

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

    It even has a section on how to revert to grub legacy...
    Frode A
    - Sic itur ad astra

  8. #8
    Join Date
    Jun 2008
    Beans
    26

    Re: grub2 problem

    What I have done so far.
    Reverted back to grub legacy,edited menu.lst to boot my other hd,but it still boots straight into ubuntu (no boot menu).But if I select ESC at boot prompt I do get a boot menu where Ubuntu and FreeBSD are listed and I can boot either one and everything is fine.How can I get the boot menu to show without pressing ESC everytime.

  9. #9
    Join Date
    Apr 2008
    Beans
    11,707

    Re: grub2 problem

    Quote Originally Posted by geum View Post
    What I have done so far.
    Reverted back to grub legacy,edited menu.lst to boot my other hd,but it still boots straight into ubuntu (no boot menu).But if I select ESC at boot prompt I do get a boot menu where Ubuntu and FreeBSD are listed and I can boot either one and everything is fine.How can I get the boot menu to show without pressing ESC everytime.
    Run the command:

    Code:
    gksudo gedit /boot/grub/menu.lst
    And look for these lines:

    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    #timeout 10

    ## hiddenmenu
    # Hides the menu by default (press ESC to see the menu)
    #hiddenmenu
    The # (aka: comment) in front of hiddenmenu makes the menu show.

    The # in front of timeout makes grub just sit there until I've made a decision. If I remove that # then grub will boot the default in the specified 10 seconds. That 10 seconds can be changed to any value you wish if you choose to have grub boot the default.

    I prefer mine to just wait for me to decide, nothing more annoying than to be rebooting to get into another OS and just then having to answer the doorbell and having the wrong OS boot.

    Remember to click on Save after editing the menu.lst. Then just file > quit.

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
  •