Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: After Upgraded Kernel It's not in the grub menu when I boot

  1. #11
    Join Date
    Feb 2010
    Beans
    6

    Re: After Upgraded Kernel It's not in the grub menu when I boot

    haha, good tips.

  2. #12
    Join Date
    May 2008
    Location
    Buenos Aires - Argentina
    Beans
    23
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: After Upgraded Kernel It's not in the grub menu when I boot

    Hi,
    I don't know how it happened I just upgraded every time the upgrade manager asked me to.
    Something mixed the 2 versions of grub.
    I want to have 2.0.
    How can I do it?

  3. #13
    Join Date
    Apr 2008
    Beans
    11,707

    Re: After Upgraded Kernel It's not in the grub menu when I boot

    I need to see the results of the Boot Info Script as I said in post #9. This is easy to fix but I need some system specific info.

  4. #14
    Join Date
    May 2008
    Location
    Buenos Aires - Argentina
    Beans
    23
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: After Upgraded Kernel It's not in the grub menu when I boot

    Ok, here's the info from the script
    thanks for helping me!
    Attached Files Attached Files

  5. #15
    Join Date
    Apr 2008
    Beans
    11,707

    Re: After Upgraded Kernel It's not in the grub menu when I boot

    Well I see Win XP on sdd1, Vista on sdd4, and Karmic on sdd3. I do however see an entry for Mac OS X on sdc2 that must have been removed, huh?

    And this tells me that you were still booting with grub2 even though legacy grub had been installed:

    => Grub 0.97 is installed in the MBR of /dev/sda and looks on boot drive #4
    in partition #3 for /boot/grub/stage2 and /boot/grub/menu.lst.
    => Syslinux is installed in the MBR of /dev/sdb
    => Syslinux is installed in the MBR of /dev/sdc
    => Grub 2 is installed in the MBR of /dev/sdd and looks on the same drive in
    partition #3 for /boot/grub.
    So you must have sdd set as the boot drive in BIOS, but we won't take any chances.

    Now we're going to backup the old grub directory anyway but when we reinstall grub2 it will overwrite any old configuration files so if you customized anything you'll have to do that over again.

    I'm also going to give you the option of using the newest grub2 packages from Lucid if you'd like, but you'll need to know whether you have 32bit or 64bit Ubuntu, so run:

    Code:
    uname -m
    (64 bit = x86_64, and 32 bit = i686)

    So we begin:

    Code:
    sudo mv /boot/grub /boot/grub_backup
    Code:
    sudo mkdir /boot/grub
    Code:
    sudo apt-get --purge remove grub
    Code:
    sudo apt-get --purge remove grub-common
    Now if you want to use the newest grub2 download the proper "grub-common" and "grub-pc" packages here:

    http://packages.ubuntu.com/lucid/grub-common

    http://packages.ubuntu.com/lucid/admin/grub-pc

    Just save them to the Desktop (or Downloads folder, wherever you wish) then just double-click the package and gdebi will install it. (Note: grub-common must be installed first and grub-pc second)

    If you prefer using the official Karmic packages just:

    Code:
    sudo apt-get install grub-pc
    Then:

    Code:
    sudo update-grub
    And wait for it to say done, it should find all kernels and both Windows.

    Then install to the mbr's of sda and sdd:

    Code:
    sudo grub-install /dev/sda
    Code:
    sudo grub-install /dev/sdd
    There probably is no real need to install to sda but it also won't harm anything and the old legacy grub mbr is useless now.

    That should be it but you'll have a really long list of kernels so I wouldn't be surprised if the Windows entries get "pushed off" the end of the list. They should still show up if you arrow down but once you make sure the newer kernels boot OK after reinstalling it would be a good idea to delete some old ones.

    I always like to keep two working kernels just in case the newest one gets hosed somehow. The way I like to do that is just by typing the exact kernel number (ie: 2.6.31-14) into Synaptic's Search window (not the quick or rebuilding search) then you can easily see what to remove from there.

    Clear as mud?????????

    I'll be gone until late tomorrow evening, but if you have any trouble feel free to send me a brief PM pointing me back to this thread.

  6. #16
    Join Date
    May 2008
    Location
    Buenos Aires - Argentina
    Beans
    23
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: After Upgraded Kernel It's not in the grub menu when I boot


    thank you!!!!!!!!
    It worked perfect!
    I really appretiate your help!!!

Page 2 of 2 FirstFirst 12

Tags for this Thread

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
  •