Results 1 to 6 of 6

Thread: grub2

  1. #1
    Join Date
    Jun 2007
    Beans
    10
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    grub2

    I have installed Ubuntu Karmic and made a few changes to the Grub2 so that when it starts it shows the following:

    Ubuntu Karmic
    Windows Systems

    That is all.
    After letting the updates run and install (I asked to keep the same Grub) it now shows me a double entry of Ubuntu Karmic, the rest is fine. I can choose either one and it will boot.
    How can I get rid of one entry.
    Thanks for the help.
    SP

  2. #2
    Join Date
    Apr 2009
    Location
    Hyderabad/Guntur, India
    Beans
    244
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: grub2

    Linux User #496905
    "...Deep Hack Mode--that mysterious and frightening state of consciousness where Mortal Users fear to tread."

  3. #3
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: grub2

    Are you sure it's double entry? I guess you have something like:

    Ubuntu 2.6.31-14
    Ubuntu 2.6.31-17

    It's easy to think it's the same kernel.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  4. #4
    Join Date
    Jun 2007
    Beans
    10
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: grub2

    you are correct darkod. Is there a way to get id of the first one?

  5. #5
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: grub2

    There is but it is highly recommended to keep at least one older kernel that's working for you. That way if the latest kernel is corrupted or something, you can always select to boot the older one and it will work.
    I can't really explain it in linux, I'm also new. The kernel is sort of the core files, and you can boot older kernel but still all your programs are there, it's not like another OS. Very different compared to windows for example. If windows gets corrupted, that's it.
    This is why keeping two kernels is recommended.
    But if you really want to remove it, open Synaptic Package manager (System-Administration), in the search box type linux-image-2.6.31-14 (or whatever you want removed), and mark that package for Complete Removal.
    MAKE SURE you don't remove all kernels, there will be nothing to boot.
    After removal, if you are using the new grub2 coming with 9.10, in terminal run:
    sudo update-grub

    and it will remove the kernel from the menu because it can no longer find it on the disk.
    Last edited by darkod; January 27th, 2010 at 09:29 PM.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  6. #6
    Join Date
    Oct 2009
    Location
    Nottingham, England
    Beans
    94
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: grub2

    Keeping an older kernel to boot into could be a life saver if one of them fails. I'd keep two kernels on your grub for a back up.

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
  •