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?
Asked
Active
Viewed 940 times
1 Answers
1
Edit the /etc/default/grub
file:
GRUB_CMDLINE_LINUX="no-hit"
If you only need it on normal boot (i.e. not single-user mode):
GRUB_CMDLINE_LINUX_DEFAULT="no-hit"
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.

Hello71
- 165
- 5
-
1Perfect, 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 07 '11 at 04:55