For anyone else with this issue, here's a handy command to remember.
In terminal, type:
Code:drutil tray eject
And the disk should eject![]()
This is the only thing that ejected a disc on an Intel-based iMac I was troubleshooting. No terminal commands in single user mode worked because it wasn't detecting the hardware. Couldn't start up because there was an integrity problem with the hard drive.
My bluetooth keyboard has an eject button but since it never was connected to this computer I had to dredge up an old USB keyboard and holding F12 and restarting (and continuing to hold until the disc ejected) worked.
the mouse trick didn't work for me, this did:
i had this problem tonight, tried everything on apple/support, no work!!!
called support, the first thing he suggested worked, apparently a secret i haven't seen anywhere else!!! i searched for two freakin' hours, and 5 minutes on the phone worked!!!
shut computer down, while holding the eject button on the wireless keyboard, turn computer on, eject as designed!!!
i tried at least 5 other suggestions at least twice each to no avail before this.
2008 intel based imac
tried;
dragging icon to trash can. NO GO
ejecting from itunes. NO GO
eject via disc util. NO GO (gave message "unable to unmount", with no clue what to do!)
reboot while holding Opt-Comm-O-F. NO GO
eject in terminal. NO GO
See if it shows up in Disk Utility. If it does you can probably eject it from there.
the eject key needs to be held down for a second or two to work.
If it is an actual glitch though, you should be able to eject it the hard way by rebooting and holding down the eject key while it is restarting.
[doublepost=1456758958][/doublepost]Holding the "EJECT" key down while re-booting worked. Thank you. The DVD ejected.the eject key needs to be held down for a second or two to work.
If it is an actual glitch though, you should be able to eject it the hard way by rebooting and holding down the eject key while it is restarting.