Find the answer to your Linux question:
Results 1 to 7 of 7
Hi, Just installed ubuntu 2 days ago... however I have already got a kernel update, so my boot menu has 2 linux kernels, memtest, and windows 7. I'm trying to ...
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Location
    UK
    Posts
    10

    [SOLVED] /boot/grub/menu.lst does not exist??

    Hi,
    Just installed ubuntu 2 days ago... however I have already got a kernel update, so my boot menu has 2 linux kernels, memtest, and windows 7. I'm trying to remove the extra (old) kernel entries (and from the disk if possible - don't know how this works) but all tutorials I can find involve editing /boot/grub/menu.lst

    I entered 'gksu gedit /boot/grub/menu.lst' into terminal, and it came up with a blank file... I navigated to the grub folder, and no 'menu.lst' file exists.. so where are the grub boot options, and how do I change them??

    Thanks for any help

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    The latest versions of Ubuntu use GRUB2, which has a grub.cfg file rather than the menu.lst file that you are familiar with. You can check this HowTo for some good tips on working with GRUB2 under Ubuntu:

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

    Basically, it's now the /etc/default/grub that you'll want to edit.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Just Joined!
    Join Date
    Jun 2010
    Location
    UK
    Posts
    10
    thanks, all done

  4. #4
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    Hey, glad that worked out for you! I've been using GRUB2 for a couple of years now but haven't decided yet if I like it better than the older GRUB Legacy, or not. It's reportedly much better but I guess it just takes some getting used to.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  5. #5
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    Location
    Virginia
    Posts
    623
    Quote Originally Posted by ozar View Post
    The latest versions of Ubuntu use GRUB2, which has a grub.cfg file rather than the menu.lst file that you are familiar with. You can check this HowTo for some good tips on working with GRUB2 under Ubuntu:

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

    Basically, it's now the /etc/default/grub that you'll want to edit.
    I was about to post a question about whether you'd seen a reason stated for both moving and renaming the config file, and whether /boot was even needed in this environment, then I looked at the link you posted, which indicates that the file is still under /boot. Is /etc/default/grub.cfg a soft link?

    As you might guess, I'm mad as a Red Hatter.....

  6. #6
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    Quote Originally Posted by greyhairweenie View Post
    I was about to post a question about whether you'd seen a reason stated for both moving and renaming the config file, and whether /boot was even needed in this environment, then I looked at the link you posted, which indicates that the file is still under /boot. Is /etc/default/grub.cfg a soft link?
    I don't actually run Ubuntu myself so I'm unable to take a look to see how they've configured GRUB2 and the configuration file to work together. The Arch version of GRUB2 that I use it is currently configured in the /boot/grub/grub.cfg file. My guess is that it won't be long before it too is configured using the /etc/default/grub file.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  7. #7
    Just Joined!
    Join Date
    Mar 2009
    Location
    Santa Cruz, California
    Posts
    52
    Quote Originally Posted by brighty22 View Post
    Hi,
    Just installed ubuntu 2 days ago... however I have already got a kernel update, so my boot menu has 2 linux kernels, memtest, and windows 7. I'm trying to remove the extra (old) kernel entries (and from the disk if possible - don't know how this works) but all tutorials I can find involve editing /boot/grub/menu.lst

    I entered 'gksu gedit /boot/grub/menu.lst' into terminal, and it came up with a blank file... I navigated to the grub folder, and no 'menu.lst' file exists.. so where are the grub boot options, and how do I change them??

    Thanks for any help
    Configuration files for grub2 are in two places: /etc/grub.d/ and the file /etc/default/grub .

    After making changes there, you have to run update-grub (as root or with sudo) to make the changes in the MANY files in /boot/grub/, which are entirely different from the files for the earlier 'legacy' grub. update-grub will give some feedback regarding the validity of your changes.

    Search on google for an ubuntu community page on grub2.

    Most setting you would want to change are in the /etc/default/grub file.

Posting Permissions

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