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

This question already has an answer here:

How can I insert the following scripts to run during bootup? These scripts are:

  1. apm=off
  2. no=hlt

The function of these scripts is to prevent premature laptop shutdown when my laptop is a little bit hot but not hot enough to burn the CPU.

share|improve this question

marked as duplicate by Florian Diesch, karel, Eric Carvalho, Maythux, belacqua Mar 7 '14 at 6:20

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

This looks more like kernel parameters. See… – Florian Diesch Mar 6 '14 at 20:38

"apm=off" and "no=hlt" are boot parameters. There is a good guide on the grumpymole blog for editing boot parameters temporarily and permanently.

I highly suggest you try to keep your laptop cooler first, since setting these two options will likely make it possible for your CPU to melt, literally. You can try ensuring there is proper ventalation, using the ondemand CPU governor (see how to change default scaling governor back to ondemand), stop any overclocking that is set, invest in a $10.00 external fan to protect your $500.00 laptop, and/or clean out the dust from the fans (see any of the results on this searh).

I would only edit these boot parameters as a last resort, since the computer usually only shuts down due to heat when it gets dangerously hot.

share|improve this answer

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