Results 1 to 6 of 6

Thread: Clearing GRUB options

  1. #1
    Join Date
    Oct 2007
    Beans
    28

    Clearing GRUB options

    I've been running ubuntu for about a year now and have had little real problems after the initial bumps. I partitioned my drive so I could still occasionally use windows applications without the hassle of running them through WINE. Since then, the amount of choices for ubuntu when using GRUB has increased and I'm wondering, how do I delete these redundant entries so it only gives me the choices I really need?

  2. #2
    Join Date
    Feb 2008
    Location
    US
    Beans
    2,782
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Clearing GRUB options

    go into terminal and run these two commands:
    Code:
    sudo cp /boot/grub/menu.lst /boot/grub/menu.lst.bak
    sudo nano /boot/grub/menu.lst
    Then scroll down to the bottom and delete(better yet comment out) the lines that correspond to older kernels and such. If something gets really messed up just use the backup to get things working again.
    Desktop: Q6600 OC: 343 x 9, 4 GB RAM, 8600 GTS Twinview (22",17"), 1.5 TB RAID 5
    Laptop: Lenovo T61 T7300 @ 2 GHz, 2GB RAM, Nvidia 140M Quadro, 160 GB harddrive
    Remember to mark posts as [SOLVED] when your problem is resolved

  3. #3
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Clearing GRUB options

    You have multiple entries because you have multiple kernels.

    Remove the old kernels (it is always a good idea to keep at least 1 old one) and the removal process should clean up your grub menu.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  4. #4
    Join Date
    Oct 2007
    Beans
    28

    Re: Clearing GRUB options

    That's what I expected, but how do you get rid of the old kernels.

  5. #5
    Join Date
    Aug 2006
    Location
    India
    Beans
    688
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Clearing GRUB options

    find the kernel in synaptic. they would be named as linux-image-<kernel version>. remove that and it will remove the line items.
    Powered by Ubuntu, Driven by Linux

  6. #6
    Join Date
    May 2008
    Location
    Beverley, UK
    Beans
    733
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Clearing GRUB options

    Quote Originally Posted by Ramrod_The_Wizard View Post
    That's what I expected, but how do you get rid of the old kernels.
    To remove the old kernels, search for them in Synaptic Package Manager and remove them.
    With regards to the removal of the entries in the menu.lst file, I would personally just comment out the lines, rather than removing the entries. That way, if you still have the kernel and have to access it for whatever reason, you could easily uncomment the line(s).
    To do this, just put a # before the title line for each entry you wish to remove.
    Everything that has a Beginning, has an End

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
  •