I've done lots of research and I found that /dev/sda cannot be unmounted on Ubuntu; however, I have Ubuntu and Windows on separate drives. Ubuntu is on an SSD (/dev/nvme0n1) and Windows is on and HDD (/dev/sda).
Here is the output from lsblk
:
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 16M 0 part
└─sda2 8:2 0 931.5G 0 part
nvme0n1 259:0 0 465.8G 0 disk
├─nvme0n1p1 259:1 0 512M 0 part
└─nvme0n1p2 259:2 0 465.3G 0 part /
I cannot find /dev/sda in the output from the mount
command because /dev/sda doesn't seem to be mounted.
When I run sudo fdisk -l /dev/sda
, this is the output:
Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: TOSHIBA MQ04ABF1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 94F88F12-C169-4D88-9FD1-19C9781D8130
Device Start End Sectors Size Type
/dev/sda1 2048 34815 32768 16M Microsoft reserved
/dev/sda2 34816 1953523711 1953488896 931.5G Microsoft basic data
Is there a way to unmount or remove (or at least stop the HDD from running when I'm on Ubuntu)?
P.S. as per HappyTux's recommendation, I tried sudo hdparm -S 6 /dev/sda
(to set the spindown time to 30 seconds), but the HDD is never idle; so it's constantly running.
umount
not work? And: where did you install grub? – kanehekili Feb 20 '21 at 20:35/dev/sda
is not a partition, it's the name of the disk device. What doessudo fdisk -l /dev/sda
show (please add to your question)? – ajgringo619 Feb 20 '21 at 20:38umount /dev/sda' is:
umount: /dev/sda: not mounted.` I didn't install grub. I had Ubuntu installed on the SSD, then I installed Windows on the HDD. – thetipsyhacker Feb 20 '21 at 22:04/dev/sda
partitions are mounted, there's nothing to do there. – ajgringo619 Feb 20 '21 at 22:11hdparm
usage (to power down the HDD). The drive never seems to be idle. – thetipsyhacker Feb 20 '21 at 22:35