Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just compiled my own kernel for the first time. Because it is mentioned in a tutorial, I now want to check whether the kernel got written into the grub.conf file. Well, I did not find a grub.conf file. So I googled. Answer: Ubuntu does not have grub.conf, but rather has a menu.lst (also stored in /boot/grub). So I looked for that file. But I don't have that one either.

So now the question: Where is my GRUB data stored? I'm using Ubuntu 10.10 with Kernel 2.6.35-27 .

share|improve this question

Grub stores its configuration in /boot/grub/grub.cfg. This file is generated using the values stored in /etc/default/grub via grub-mkconfig.

The templates are stored in /etc/grub.d/.

If you ever need to manually change something about grub's settings, refer to the /etc/grub.d/README file. Meanwhile, you can check if your kernel appears in grub.cfg like so:

cat /boot/grub/grub.cfg | grep Something

Where something is a search query for your kernel's name, like 35-22-generic.

share|improve this answer

/boot/grub/menu.lst was present in GRUB legacy, but GRUB2 uses /boot/grub/grub.cfg.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.