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.

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, Ask, belacqua Mar 7 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.

2  
This looks more like kernel parameters. See askubuntu.com/questions/19486/… –  Florian Diesch Mar 6 at 20:38

1 Answer 1

"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.