Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eject command missing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
karr
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2004
Posts: 120
Location: albuquerque

PostPosted: Sun Aug 14, 2005 11:15 am    Post subject: eject command missing Reply with quote

I just finished installing Gentoo on my mac mini, and have run into a problem: the mini does not have an eject button, and this clean install does not seem to have the eject comman. What package do I need to emerge to get /usr/bin/eject?
Back to top
View user's profile Send private message
tlailax
Apprentice
Apprentice


Joined: 22 Feb 2004
Posts: 187

PostPosted: Sun Aug 14, 2005 11:19 am    Post subject: Reply with quote

emerge eject :)
Back to top
View user's profile Send private message
karr
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2004
Posts: 120
Location: albuquerque

PostPosted: Sun Aug 14, 2005 5:32 pm    Post subject: Reply with quote

Thanks, this is a prime example of why troubleshooting efter being up all night is a bad idea.
Back to top
View user's profile Send private message
JoshFed
n00b
n00b


Joined: 21 Jul 2003
Posts: 44
Location: Tacoma, WA USA

PostPosted: Thu Oct 02, 2008 8:01 pm    Post subject: Reply with quote

Let's say I installed Gentoo on a Mac Mini and do not have a Mac keyboard or mouse. How might I get the install CD out? The USB keyboard works to boot the Apple grey screen, only the install CD is available. After that the keyboard doesn't work until the live Gentoo environment it up. I can't use "eject" from there since the CD is still mounted and I can't umount it since it's in use. Going into my newly installed Gentoo environment and issuing eject didn't work, it doesn't see any CD.

Any thoughts?
Back to top
View user's profile Send private message
JoshFed
n00b
n00b


Joined: 21 Jul 2003
Posts: 44
Location: Tacoma, WA USA

PostPosted: Fri Oct 03, 2008 2:48 pm    Post subject: Reply with quote

The boss and I remember there's an ooold Mac keyboard and mouse in one of the storage closest. The one thing that did work to eject the CD was plugging the old, round, green original iMac mouse into the Mini and holding the mouse button down while it booted.
Back to top
View user's profile Send private message
JoshFed
n00b
n00b


Joined: 21 Jul 2003
Posts: 44
Location: Tacoma, WA USA

PostPosted: Mon Nov 10, 2008 2:28 pm    Post subject: Reply with quote

F12 will also work on an old Apple keyboard. Dunno about a PC keyboard but if you have won give it a try.
Back to top
View user's profile Send private message
leviathan4444
n00b
n00b


Joined: 08 Oct 2006
Posts: 13
Location: Champaign, IL

PostPosted: Sun Nov 30, 2008 8:04 pm    Post subject: a few eject notes Reply with quote

The eject command can be run using the optical drive device name as an argument like the example below:
eject /dev/hdc
This will eject the drive even if there is no mounted media in it. Another fun little tidbit is eject -t will close the tray.
Holding down the mouse button right when the machine turns on will eject the optical drive as previously mentioned, as will holding down Apple-E. If neither of these methods work, and you're on a PowerPC Mac, you can always hold down Apple-Option-O-F right at power on, which will boot into Open Firmware. There you can type eject cd which should eject the optical drive. On a generic USB keyboard, as I recall, the option key is alt, and the Apple key is the Windows key.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum