I just got Bionic Beaver on a USB stick to see if my old single core 750M RAM system could support it and so far quite happy. Now I'm trying to make a new USB stick using the updated code on the current one. This will involve a lot of "fdisk" and "dd" and does not need the hard drive so I would like to power it off for safety- it will be hard to recreate by Debian install from circa 2011. The closest question that came up was this,
Hard drive doesn't go to sleep when is not in use
But I am not even using the disk and do not want hibernate. I guess I could open the case and pull the power to the HDD but that seems pretty extreme.
Also it looks like Beaver is lumping all these things into /dev/sdx
and I'm used to Debian putting the HD on /dev/hdx
so a typo could easily get by.
Is there some command or low level thing I can do to stop it from spinning?
Thanks.