I got my Ubuntu server built and working, but I have to manually add a boot parameter ("no-hlt") into grub to start. I'm running maverick so it's grub2..and I can't figure out how to put it in so I don't have to manually override it on every boot. What exactly do I need to do to include this parameter in the default boot?


Edit the /etc/default/grub file:


If you only need it on normal boot (i.e. not single-user mode):


If there are already options there, then either append or prepend (doesn't really matter which) using spaces as delimiters.

Some might say to edit /boot/grub/grub.cfg; this is a bad idea, as Grub2 automatically overwrites this file every time anything involving the kernel or GRUB is updated.

  • 1
    Perfect, that did it. The only other step was after updating that file, was to run sudo update-grub. Thanks for the tip! – Matt Stratton Feb 7 '11 at 4:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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