Skip navigation
This discussion is archived

Is there a Terminal command to eject disk?

23887 Views 5 Replies Latest reply: Feb 14, 2008 5:46 PM by nerowolfe RSS
neil1255 Calculating status...
Currently Being Moderated
Feb 14, 2008 4:47 PM
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
  • dwb Level 6 Level 6 (19,690 points)
    Currently Being Moderated
    Feb 14, 2008 4:59 PM (in response to neil1255)
    Hold the mouse button down while booting. That should eject the disc.
    MacBook (black) / G5 Dual Desktop / Intel Mac mini, Mac OS X (10.5), Win • Linux • iPhone
  • Robert Newall Level 3 Level 3 (605 points)
    Currently Being Moderated
    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.
    powerbook G4, Mac OS X (10.5.1), 1GbRam
  • nerowolfe Level 6 Level 6 (13,070 points)
    Currently Being Moderated
    Feb 14, 2008 5:14 PM (in response to neil1255)
    In the terminal, enter
    drutil list

    you should see the drive listed with a number
    Then type
    drutil tray eject
    or
    drutil tray eject 1
    or whatever the number of the drive was under list
    Dual G5, MacBookPro 15, MacBookPro3,1 17 Core2Duo, Mac OS X (10.5.2), Vista Ultimate 64-bit on MBP/17", homebrew 3GHz PC, Dell Inspiron8k
  • nerowolfe Level 6 Level 6 (13,070 points)
    Currently Being Moderated
    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.
    Dual G5, MacBookPro 15, MacBookPro3,1 17 Core2Duo, Mac OS X (10.5.2), Vista Ultimate 64-bit on MBP/17", homebrew 3GHz PC, Dell Inspiron8k

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.