0

I have SSD and HDD hard drives in my laptop and I have Ubuntu on SSD and windows 10 in HDD and (sometimes) I want to eject HDD when I am working on Ubuntu (because of power saving and...), how to do that?

2 Answers2

1

In the Files app, you have a sidebar on the left. You will see a little triangle next to the mounted device.

enter image description here

Click on it, and your drive will be unmounted (a.k.a. "ejected").

If you have chosen to see mounted drives on the desktop, you will have a right-click option "Eject" there as well.

Jos
  • 29,224
  • I want to power off my hard drive, by unmounting or ejecting partitions the hard drive is still working (I can sense it's sound of working), how I can eject it completely? – Hamid Haghdoost Apr 08 '19 at 12:19
  • 1
    That is strictly not "ejecting". See https://askubuntu.com/questions/671683/how-to-turn-off-hard-drive-in-ubuntu – Jos Apr 08 '19 at 12:20
0

This command worked for me:

sudo hdparm -Y /dev/sdX