Page 1 of 1

spin off hard disks for a session

Posted: 09 Oct 2015, 10:05
by hightowersj
Hi everyone!

I am relatively new to Porteus, and not a Linux geek but I manage :) all the same I would need some help, please.

The purpose:
I'd like to run Porteus from a USB-key (done with YUMI) on my laptop with as less power consumption as possible. So it would be nice to spin off the hard drives for a complete session.

The problem:
To save power I manage spin off the hard drives (hdparm -Y) but although I do not use them, they are unmounted, after say 5 minutes they spin up again.

Others:
-cheat code change=EXIT entered
-copy2ram cheat code in place
-hard drives unmounted

My system:
Porteus 3.1 desktop edition MATE 64bit

Any ideas?

Re: spin off hard disks for a session

Posted: 09 Oct 2015, 11:33
by ncmprhnsbl
Welcome to porteus :)
i havnt tried this myself,,
these cheatcodes might do it.

Code: Select all

nohd
 ... Do not discover any hard drives during startup.
or maybe

Code: Select all

noauto
... Do not mount any devices during startup.
 Every disk needs to be mounted manually in order to access it.
the other thing might whether there are any swap partitions on the hds...

Re: spin off hard disks for a session

Posted: 09 Oct 2015, 11:43
by hightowersj
ncmprhnsbl:
I've forgotton to mention noauto is already set.

As for nohd, if set it I cannot boot Porteus up, usb-key is not recognized, it's 'mistaken' for a hard disk.

Re: spin off hard disks for a session

Posted: 09 Oct 2015, 14:43
by brokenman
Whats the output of: hdparm -B /dev/sd?

A value set higher than 127 probably won't spin down. If it says unsupported it could be that it controls itself (or it is way old).