Jump to content

Getting Rid of "Disk Insertion" warning. Help and suggestions


jackc00
 Share

3 posts in this topic

Recommended Posts

Here is the scenario. Every time I boot up OS X, I get

 

"Disk Insertion. The disk you inserted was not readable by this computer'

 

I have referred to this thread, which showed two methods on how to auto unmount Volumes. I have tried both methods mentioned in it but neither worked for me. The fact that the solutions provided in another thread did't work is that, the two disks that were not being recognized by OSX are on Intel RAID0 (RAID enabled in BIOS on P5K-E) and thus they cannot be mounted read. To those who are wondering how I was able to run OSX while having RAID enabled in BIOS, here is how. Basically, install OSX to a hard drive while turning AHCI mode in BIOS and after installation, update the driver for ICH10 in OSX (available in this thread), then change AHCI to RAID in BIOS.

 

Here is my question. There is a command called,

 

"diskutil unmountDisk force /dev/disk1"

 

How do I run this command at OSX startup in an attempt to get rid of the Disk Insertion message? I have put this command in /Library/Management/login.sh as followed,

 

#!/bin/bash

diskutil unmountDisk force /dev/disk0

exit 0

 

I have also tried this,

 

#!/bin/bash

diskutil unmountDisk force /dev/disk0

exit 0

 

and this,

 

#!/bin/bash

eject /dev/disk0

exit 0

 

To date, none of these were able to get rid of the Disk Insertion message. Either I am doing something terribly wrong with login.sh hook or the only viable solution seemed like to switch RAID to AHCI in BIOS, which I prefer not having to do every time when I want to boot into OSX. Any thought would be greatly appreciated.

 

Thanks,

 

Jack

Link to comment
Share on other sites

 Share

×
×
  • Create New...