spin off hard disks for a session

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
hightowersj
Ronin
Ronin
Posts: 2
Joined: 09 Oct 2015, 09:36
Distribution: 3.1 DESKTOP MATE 64BIT
Location: Hungary

spin off hard disks for a session

Post#1 by hightowersj » 09 Oct 2015, 10:05

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?

User avatar
ncmprhnsbl
Full of knowledge
Full of knowledge
Posts: 783
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: spin off hard disks for a session

Post#2 by ncmprhnsbl » 09 Oct 2015, 11:33

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...
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

hightowersj
Ronin
Ronin
Posts: 2
Joined: 09 Oct 2015, 09:36
Distribution: 3.1 DESKTOP MATE 64BIT
Location: Hungary

Re: spin off hard disks for a session

Post#3 by hightowersj » 09 Oct 2015, 11:43

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.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5436
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: spin off hard disks for a session

Post#4 by brokenman » 09 Oct 2015, 14:43

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).
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply