LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-16-2015, 12:06 PM   #16
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,222

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320

Quote:
Originally Posted by slrosenblum View Post
After my niece and her boyfriend installed it.
Your niece has a great boyfriend too.
 
Old 01-16-2015, 12:27 PM   #17
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
If you want to uncluster this, my recommendation is that you experiment with a few Linux distros booted as live distros.

That is you download something to a CD/DVD or USB thumbstick and then boot off of that media on your computer. Whatever you're doing really is throwaway because writing to the boot media are generally not allowed. There are ways and exceptions to that, but my point here is not to go that far but instead to give you a viable direction to go to try a few different distributions and determine what you like and also then see if the different distributions do or don't have problems with the concept of ejecting a disk as the distro you have now does.

Here are where many ISO files are located http://iso.linuxquestions.org/

Just seems like they were nice enough to show you the glitz, but then they left you up (blank's) creek for any further help. Therefore you either want to continue with the Ubuntu family of distributions or seek an alternative. I'm not sure if what you have is an x86 by the way since you mentioned swapping from MAC to Linux.
 
Old 01-16-2015, 01:39 PM   #18
slrosenblum
LQ Newbie
 
Registered: Jan 2015
Posts: 13

Original Poster
Rep: Reputation: Disabled
I guess all I would really like right now is for ideas about how to get the CD that is stuck in my drive out. I use a Mac Mini and if I understand correctly, it ejects electronically, not mechanically, so no poking anything to solve the problem.
 
Old 01-16-2015, 02:30 PM   #19
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member response

Hi,
'man eject';
Code:
NAME
       eject - eject removable media

SYNOPSIS
       eject -h
       eject [-vnrsfmqp] [<name>]
       eject [-vn] -d
       eject [-vn] -a on|off|1|0 [<name>]
       eject [-vn] -c slot [<name>]
       eject [-vn] -t [<name>]
       eject [-vn] -T [<name>]
       eject [-vn] -x <speed> [<name>]
       eject [-vn] -X [<name>]
       eject -V

DESCRIPTION
       Eject allows removable media (typically a CD-ROM, floppy disk, tape, or JAZ or ZIP disk) to be ejected under software control. The command can
       also control some multi-disc CD-ROM changers, the auto-eject feature supported by some devices, and close the disc tray of some CD-ROM drives.

       The device corresponding to <name> is ejected. The name can be a device file or mount point, either a full path or with  the  leading  "/dev",
       "/media" or "/mnt" omitted. If no name is specified, the default name "cdrom" is used.

       There  are four different methods of ejecting, depending on whether the device is a CD-ROM, SCSI device, removable floppy, or tape. By default
       eject tries all four methods in order until it succeeds.

       If the device is currently mounted, it is unmounted before ejecting.

COMMAND-LINE OPTIONS
       -h   This option causes eject to display a brief description of the command options.

       -v   This makes eject run in verbose mode; more information is displayed about what the command is doing.

       -d   If invoked with this option, eject lists the default device name.

       -a on|1|off|0
            This option controls the auto-eject mode, supported by some devices.  When enabled, the drive automatically ejects  when  the  device  is
            closed.

       -c <slot>
            With this option a CD slot can be selected from an ATAPI/IDE CD-ROM changer. Linux 2.0 or higher is required to use this feature. The CD-
            ROM drive can not be in use (mounted data CD or playing a music CD) for a change request to work. Please also note that the first slot of
            the changer is referred to as 0, not 1.

       -t   With this option the drive is given a CD-ROM tray close command. Not all devices support this command.

       -T   With  this  option the drive is given a CD-ROM tray close command if it's opened, and a CD-ROM tray eject command if it's closed. Not all
            devices support this command, because it uses the above CD-ROM tray close command.
-x <speed>
            With this option the drive is given a CD-ROM select speed command.  The speed argument is a number indicating the desired speed  (e.g.  8
            for 8X speed), or 0 for maximum data rate. Not all devices support this command and you can only specify speeds that the drive is capable
            of. Every time the media is changed this option is cleared. This option can be used alone, or with the -t and -c options.

       -X   With this option the CD-ROM drive will be probed to detect the available speeds. The output is a list of speeds which can be used  as  an
            argument  of  the -x option. This only works with Linux 2.6.13 or higher, on previous versions solely the maximum speed will be reported.
            Also note that some drive may not correctly report the speed and therefore this option does not work with them.

       -n   With this option the selected device is displayed but no action is performed.

       -r   This option specifies that the drive should be ejected using a CDROM eject command.

       -s   This option specifies that the drive should be ejected using SCSI commands.

       -f   This option specifies that the drive should be ejected using a removable floppy disk eject command.

       -q   This option specifies that the drive should be ejected using a tape drive offline command.

       -p   This option allow you to use /proc/mounts instead /etc/mtab. It also passes the -n option to umount(1).

       -m   This option allows eject to work with device drivers which automatically mount removable media and therefore must  be  always  mount()ed.
            The option tells eject to not try to unmount the given device, even if it is mounted according to /etc/mtab or /proc/mounts.

       -V   This option causes eject to display the program version and exit.
If you look closely at the front of the CD/DVD drive you should find a small hole which can be accessed by using a straightened paper clip. You insert the clip perpendicularly to the face and gently push it to physically unlatch the drive door. Once the door has opened you can move the tray outward;
Quote:
From http://www.computerhope.com/issues/ch000214.htm

CD stuck within drive If you suspect that a CD may be stuck within the drive, the tray needs to be ejected manually. Look for the small manual eject hole that ( not the head phone jack) located on the front of the drive. Unwind a paper clip and place one end of the paper clip into the hole to eject the CD-ROM tray.
EDIT: Sorry, I did not realize this was for a MAC. You can open a console and then you have a command line for 'eject /dev/sr0' or 'eject /dev/cdrom' should work for your device. You could look in '/dev/ for the cdrom which can be a link to /dev/sr0. The device will depend on '/dev/assignments', eject will umount that device then perform the device eject.

Hope this helps.
Have fun & enjoy!

Last edited by onebuck; 01-16-2015 at 04:21 PM. Reason: note
 
Old 01-16-2015, 02:52 PM   #20
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by slrosenblum View Post
I guess all I would really like right now is for ideas about how to get the CD that is stuck in my drive out. I use a Mac Mini and if I understand correctly, it ejects electronically, not mechanically, so no poking anything to solve the problem.
I searched for like "remove stuck cd out of mac mini" and there was a youtube result showing that you basically take the drive out and take the top off of the drive, get your CD and then re-assemble. Even then, they showed Apple/MAC commands or attempts to first try, but barring that, they went to the manual removal method.

https://www.youtube.com/watch?v=EzZnL_tzdgc
 
Old 01-16-2015, 04:45 PM   #21
slrosenblum
LQ Newbie
 
Registered: Jan 2015
Posts: 13

Original Poster
Rep: Reputation: Disabled
Again, thanks.
We did have to take the Mac Mini apart. Turned out to be the CD itself. It crashed another computer.

beachboy2,
unfortunately, your fix didn't work, still no working eject button on the keyboard, I think I will shoot this question out on its own.
 
Old 01-17-2015, 02:21 AM   #22
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
slrosenblum,

I did not realise that you were using a Mac Mini.

This fix does work for general PCs.

Unfortunately I know nothing about Macs. Sorry that I cannot help you further.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux redhat: basic info simransab Linux - Newbie 6 02-02-2010 05:24 PM
where to find openoffice basic (for Calc) tutorials kaiwan Linux - Software 2 10-08-2008 06:25 AM
Any good advice or tutorials on Visual Basic? Micro420 Programming 3 03-18-2007 06:15 PM
spassassin basic tutorials alaios Linux - Networking 1 10-23-2006 05:45 PM
I'm a BASIC chap, looking for some info on BASIC programming CragStar Programming 2 01-21-2001 09:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration