So, I'm using my brand new HARD DRIVE CADDY SATA III in CPU.
When I mount the HDD/SSD physically in the mounting bracket, I can click on "Scan for hardware changes" in "Device Manager" of Windows 7 to detect HDD/SSD. Now, how can I do like it in Ubuntu 18.04? I mean how can I detect HDD/SSD without rebooting Ubuntu?
I have three questions that I need to type in Ubuntu's terminal:
- What command can I type to detect HDD/SSD via IDE and SATA?
- What command can I type to remove plug-in with HDD/SSD via IDE or SATA?
- What the best way can I change HDD/SSD physically via IDE or SATA without any problem?
Finally, I found out how to reset/detect plug-in HDD/SSD via IDE or SATA without rebooting.
1. What command can I type to detect HDD/SSD via IDE and SATA?
First install scsi tools:
Then, you can type to detect plug-in via IDE and SATA:
2. What command can I type to remove plug-in with HDD/SSD via IDE or SATA?
BE CAREFUL! DO NOT REMOVE THE DISK THAT THERE IS AN UBUNTU OS RUNNING ON YOUR COMPUTER
To unmount and delete disks from Ubuntu's software, to type to get permission:
Then, you can type to unmount and delete disk:
The code
h:c:t:l
is the bus' number via IDE or SATA to remove disk, to check the bus' number, you can type:To make sure if the Hard Disk can be safely unplugged physically, you can type this same code to check that the disk does not display on the screen.
3. What the best way can I change HDD/SSD physically via IDE or SATA without any problem?
First, you have to type the command to remove the disk. Then, you have to type the command to check to make sure that the disk does not display on the system's software and you can change the disks physically being safely to unplug and plug. Finally, you can type the command to detect plug-in via IDE and SATA and to check the disks detected.