Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Is there a Terminal command to eject disk?

My MBP wont start up and I used my friends install disk to try and reboot it, bnut it would not work and I cannot eject the disk.
Is there a Terminal command that will eject the disk.
MY MBP won't boot so it os booting from teh Install disks.

MacBook Pro CD 1.83GHz/PC (XP) CD2 E6550 2.33GHz, Mac OS X (10.5.1), 4GB iPod Nano/iPhone 8gb

Posted on Feb 14, 2008 4:47 PM

Reply
Question marked as Best reply

Posted on Feb 14, 2008 4:59 PM

Hold the mouse button down while booting. That should eject the disc.
5 replies

Feb 14, 2008 5:11 PM in response to dwb

There is a Terminal command and it does work under 10.5.1 and 10.5.2. In Terminal type drutil tray eject . You can look at the command man drutil and it lists a lot of related commands. I have sometimes had the mouse method fail to work but so far not the said drutil command. I assume there is only one Disk Recorder involved, otherwiuse you'd have to specify the drive to be ejected.

Feb 14, 2008 5:46 PM in response to neil1255

In researching this I discovered that you can put a permanent eject button on the top menu bar as follows:
go to System->Library->Core Services->Menu Extras
There you will find a veritable treasure-trove of extras, one of which is the eject.menu.
Double-click on the item to install it on the top menu bar.

Extra bonus:
There are many other items in the Menu Extras folder that you can install on the menu bar the same way.
To remove a menu bar item, hold down the Command key and drag the menu item onto the desktop. You will get a "poof" as it disappears. Only the link is "poofed" not the actual item.

Is there a Terminal command to eject disk?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.