Monday, September 22, 2008

Eject your Mac's CD tray from command line......

Yeah I know what you're thinking.....who the heck would need that. Well since mac's don't have a physical CD eject button on the front plate (ie: eject is done by eject key), if you ever need to put a CD/DVD into a machine without keyboard (server machine and/or if you're using teleport to share a keyboard/mouse) you're in trouble. It turns out those Apple geniuses knew about this and gave you a way out.....just open up a terminal (or ssh to your server) and type the following command:
drutil eject

5 comments:

DeepWater said...

Thanks, but how would I open the tray when the system fails to boot completely, or hangs on the blue start-up screen?

Many said...

Hi Deepwater,

Hold down the Mouse key (Apple single button mouse) or mouse keys (two button PC type mouse) immediately after reboot (before the chime kicks in). That should do it.

Goodluck
TTYL
Many

DeepWater said...

Hey Many-

That did the trick, all is well again in my world, thanks much!

DeepWater

IKROLM said...

I stuck a blank dvd into the cd drive (don't ask...). When I typed the command, my terminal froze. Any advice?

Anonymous said...

Perfect! Thanks