21 lines
806 B
Plaintext
21 lines
806 B
Plaintext
Yes, there are more aggressive, and therefore more dangerous, methods you can try since you have to reboot anyway. **EXTREME WARNING:** These commands are fundamentally unsafe... The theory here is to go a level deeper than the SCSI device scan. We will attempt to force the kernel to re-initialize the entire SATA host controller... Here are the steps to run as **root**:
|
|
|
|
1. **Find the PCI address of your SATA controller.**
|
|
```bash
|
|
lspci | grep -i sata
|
|
```
|
|
|
|
2. **Forcibly remove the PCI device from the kernel.**
|
|
```bash
|
|
echo 1 > /sys/bus/pci/devices/0000:00:17.0/remove
|
|
```
|
|
|
|
3. **Tell the PCI bus to rescan for devices.**
|
|
```bash
|
|
echo 1 > /sys/bus/pci/rescan
|
|
```
|
|
|
|
4. **Check if the device was re-detected correctly.**
|
|
```bash
|
|
cat /proc/partitions
|
|
``` |