Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

In old GRUB, if I wanted to change boot options, I would use a line starting with the word kernel in "/boot/grub/menu.lst":

kernel /vmlinuz root=/dev/sda1 ro MY BOOT OPTIONS

Now since I'm using GRUB 2, I looked under "/etc/grub.d/10_Linux" for something similar, but I'm not even sure that's the right place to do this. If it is, please guide me. If it's not, guide me anyways.

share|improve this question
If it matters, I use Debian. – Tshepang Feb 24 '11 at 13:28
Funny, I remember upvoting this question before... – phunehehe Feb 24 '11 at 17:16
up vote 5 down vote accepted

Edit the file /etc/default/grub and set your parameter in GRUB_CMDLINE_LINUX. For example I have:


I learned this from Ubuntu documentation. Other sources are either too hard to find, or I didn't dig deep enough.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.