Stop your Hd from spinning when running Puppy from Usb
Stop your Hd from spinning when running Puppy from Usb
How to stop your Hardisk from spinning when running Puppy from Usb-Stick in frugal mode when not in use.
One day i found it quite annoying when using Puppy from a Usb-Stick in frugal mode that hardisk on my machine keeps spinning without any purpose.
So i found something that could be useful for everyone .
It is just a little script ....first :
install hdparm (if not already installed )
Make a script ----
#!/bin/bash
hdparm -y /dev/sdx
So sdX is your Hardrive .
make it executable
.....and click on it ...your Hardisk will stop spinning .
In case you get access to your Harddrive again after using it ....click again.
You can put this script into your Startup folder ..so it will prevent your Harddisk from spinning after bootup ....while not in use.
Probably saves your Accus some power .
One day i found it quite annoying when using Puppy from a Usb-Stick in frugal mode that hardisk on my machine keeps spinning without any purpose.
So i found something that could be useful for everyone .
It is just a little script ....first :
install hdparm (if not already installed )
Make a script ----
#!/bin/bash
hdparm -y /dev/sdx
So sdX is your Hardrive .
make it executable
.....and click on it ...your Hardisk will stop spinning .
In case you get access to your Harddrive again after using it ....click again.
You can put this script into your Startup folder ..so it will prevent your Harddisk from spinning after bootup ....while not in use.
Probably saves your Accus some power .
Last edited by backi on Sun 10 Jul 2016, 05:43, edited 4 times in total.
Hi april !
Do :
#!/bin/bash
hdparm -y /dev/sdX
sd X is your Harddrive
Maybe have a look in Puppy Packetmanager......or....
https://packages.debian.org/search?keywords=hdparm
Also have a look here :
http://www.debianadmin.com/tune-your-ha ... dparm.html
https://unix.stackexchange.com/question ... setting-co
http://distro.ibiblio.org/puppylinux/pet_packages-3/
http://www.smokey01.com/coolpup/
Do :
#!/bin/bash
hdparm -y /dev/sdX
sd X is your Harddrive
Maybe have a look in Puppy Packetmanager......or....
https://packages.debian.org/search?keywords=hdparm
Also have a look here :
http://www.debianadmin.com/tune-your-ha ... dparm.html
https://unix.stackexchange.com/question ... setting-co
http://distro.ibiblio.org/puppylinux/pet_packages-3/
http://www.smokey01.com/coolpup/
This is interesting, as many would possibly like to launch spinnoff or whatever, where the non competent user can know for sure their Puppy Live WILL NOT even attempt to spinn the HD for even a second, giving them assurance against any interference with their paid and sometimes precious Windows installation.
I would not mind to have that as a concept as many are afraid of Linux messing up their Windows.
I would not mind to have that as a concept as many are afraid of Linux messing up their Windows.
Interesting . Seems it is in Puppy precise 5.7.1 already /sbin/hdparm
Code: Select all
# hdparm -y /dev/sda
/dev/sda:
issuing standby command
# hdparm -y /dev/sr0
/dev/sr0:
issuing standby command
#
There is also a way to shut the disk off "permanently" for the duration of the current powered session (ie: running pmount or other disk access will not be able to wake it up until after next reboot). However - please note this warning:backi wrote:In case you mount your HardDisk for getting acces to it it will spin again .
But just click this little script it will stop spinning immediately .
*** only use the following method for a disk that IS NOT USED AS YOUR BOOT DISK OR YOUR SAVEFILE DISK
EDIT : As Backi mentioned below - the disk can also be accessed if there is a "swap" partition on it and the system will try to spin it up again - so I need to also mention this addition to the warning above - Do not use this method below if your hard drive has a swap partition
(On my usb puppies I create a swap partition on the usb stick)
See this post:
http://www.murga-linux.com/puppy/viewto ... 606#549606
It works great on my machine as a power saver.
***********************
EDIT:
I just want to tie together several common threads detailing disk spindown:
http://www.murga-linux.com/puppy/viewto ... 606#549606
http://www.murga-linux.com/puppy/viewto ... 641#770641
http://murga-linux.com/puppy/viewtopic. ... 135#652135
http://murga-linux.com/puppy/viewtopic.php?t=107442
Last edited by greengeek on Wed 20 Jul 2016, 20:17, edited 1 time in total.