Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

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