Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

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

I have an Asus EEE 1015PX netbook. It runs Linux (debian) without any powersavings enabled. E.g. no harddisk idle/spin-down tooling is running. Now constantly the harddisk spins down after it has been idle for half a minute or so. I can disable this with hdparm -B 255 /dev/sda but this only works up to the next reboot. I tried using hdparm -K 1 /dev/sda to make this setting permanent but this gives an input/output error. This seems to be an issue with other EEE systems as well: my mother has an EEE Shell (a pink one) running windows 7 and that one has a down-spinning drive as well.

My question now is: how can I make it stop doing this? It makes the system very unresponsive and opening terminal/su to root/hdparm/exit shell every time I reboot the laptop (or had it suspend for a while by closing the lid) is annoying as hell.

share|improve this question

my recipe, I guess found on the internet, which I have followed with success on eee-netbook, says

  1. make a file named 99-hdd-spin-fix.sh. The important thing is starting with '99'.

  2. make sure the file contains the following 2 lines:

    hdparm -B 255 /dev/sda
  3. copy this file to 3 locations:

    • not sure about necessity of the last two, but the following is a must:


    • and of course the shell-scripts must be made executable. To put them out where one normally not can go, do sudo nautilus in a shell.
share|improve this answer

As this bug report indicates, there is a /etc/default/hdparm file in Debian's hdparm package, you should have a look at this... there might (I'm not sure, sorry, no Debian system at hand right now) be a /etc/hdparm.conf, too, which should be used to set these parameters at init time.

share|improve this answer
This unfortunately does not work: I closed the lid so that it goes into stand-by. Then I started it again and verified with hdparm -B /dev/sda that the value is 254 instead of the 255 I configured in /etc/default/hdparm. On the other hand, I found: jzab.de/content/ultimate-boot-cd-wdidle3-util-included which I'm going to give a try. Will probably help for my mother's asus with windows 7 as well. – Folkert van Heusden Apr 24 '12 at 12:37

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.