Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18
i am running lenny. and at some point my grub started exibiting a strange problem. Grub will not display all the kernels that it finds, it only displays 2 of ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    9

    GRUB problem

    i am running lenny. and at some point my grub started exibiting a strange problem. Grub will not display all the kernels that it finds, it only displays 2 of them out of the 5 grub was finding.

    the system is working and boots just fine.

    I attempted to install GRUB2 which went ok. since my system booted ok i removed GRUB that operation was sucessful and it deleted all the grub files that were not needed.

    but my system is still booting into grub with the same 2 kernels.

    Could someone tell me what i can do to either get grub or grub2 to work?



  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Hi and Welcome !

    Which version of GRUB are you using right now? Is it GRUB Legacy or GRUB2?
    Post the output of this
    Code:
    ls /boot
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Mar 2010
    Posts
    9
    my:~# ls /boot
    config-2.6.26-2-686 initrd.img-2.6.30-backports.1-686 System.map-2.6.30-bpo.1-686
    config-2.6.30-backports.1-686 initrd.img-2.6.30-bpo.1-686 System.map-2.6.32-bpo.3-686
    config-2.6.30-bpo.1-686 initrd.img-2.6.30-bpo.1-686.bak vmlinuz-2.6.26-2-686
    config-2.6.32-bpo.3-686 initrd.img-2.6.32-bpo.3-686 vmlinuz-2.6.30-backports.1-686
    grub multiboot.img vmlinuz-2.6.30-bpo.1-686
    grub.sav System.map-2.6.26-2-686 vmlinuz-2.6.32-bpo.3-686
    initrd.img-2.6.26-2-686 System.map-2.6.30-backports.1-686


    my system says i have the latest GRUB2 installed but when i boot its ver .9?? GRUB

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    I am not sure if its possible to keep both versions of GRUB. I have to check it in my Debian machine.
    Could you post the contents of /boot/grub/menu.lst file?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Mar 2010
    Posts
    9
    i do not want 2 versions of grub i just want one that is working.

    grub2 deletes the menu.lst file si it no longer exists.

    and the grub that is booting is using something to display a menu but its not menu.lst as there is no file by that name on my entire system

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Execute update-grub command as root user. Does it throw any error message or info regarding OS probe?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined!
    Join Date
    Mar 2010
    Posts
    9
    my:~# update-grub
    Updating /boot/grub/grub.cfg ...
    Found linux image: /boot/vmlinuz-2.6.32-bpo.3-686
    Found initrd image: /boot/initrd.img-2.6.32-bpo.3-686
    Found linux image: /boot/vmlinuz-2.6.30-bpo.1-686
    Found initrd image: /boot/initrd.img-2.6.30-bpo.1-686
    Found linux image: /boot/vmlinuz-2.6.30-backports.1-686
    Found initrd image: /boot/initrd.img-2.6.30-backports.1-686
    Found linux image: /boot/vmlinuz-2.6.26-2-686
    Found initrd image: /boot/initrd.img-2.6.26-2-686
    done


    only these 2 kernels display in the menu on boot up

    2.6.30-bpo.1-686
    2.6.26-2-686

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Its GRUB2, detected all available kernels and generated new grub.cfg file. Reboot machine and check if all kernel versions are listed in GRUB Menu.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #9
    Just Joined!
    Join Date
    Mar 2010
    Posts
    9
    it doesn't display the all the kernels and the

    grub.cfg file does list all the kernels.

    the problem is the harddrive is still booting fron grub and not grub2

  10. #10
    Linux User
    Join Date
    Dec 2007
    Location
    Idaho USA
    Posts
    351
    need to find out what version you have, early versions had a problem updateing grub.cfg data from menu.lst. been there done that. Needs to be version 1.97~beta4

    grub-install -v

Page 1 of 2 1 2 LastLast

Posting Permissions

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