LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-12-2001, 02:46 AM   #1
themuppeteer
LQ Newbie
 
Registered: Nov 2001
Location: Belgium
Posts: 18

Rep: Reputation: 0
Question Eject Cdrom


Hello ,

I want to eject the cdrom in Linux.
The problem is that I 've booted from this cdrom.
Now, what I've tried is:

umount /mnt/cdrom

but this gives me the error message:

umount: /mnt/cdrom: device is busy

Can anyone help me please ? Its quite urgent.
 
Old 11-12-2001, 05:38 AM   #2
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
You probably have something running from the cd, a document on the cd open, or a terminal cded in to the cd directory.

The most common problem is something like this:

Code:
cd /mnt/cdrom
ls
su
cd ..
umount cdrom
In that case the user is still in the CD directory, but the su session isn't.
 
Old 11-12-2001, 06:34 AM   #3
themuppeteer
LQ Newbie
 
Registered: Nov 2001
Location: Belgium
Posts: 18

Original Poster
Rep: Reputation: 0
Unhappy

thnx for your reply, but it still doesn't work.

There's somthing I forgot to mention, Linux booted from that cd,
so I guess there's always something running...

I've already searched on the net for solutions, but I don't find a case where bootable cd's and umount are discussed.

thnx.
 
Old 11-12-2001, 08:07 AM   #4
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
If you booted from the CD (is this Suse Live-Eval?) it is possible that the entry in the fstab would not allow user mounting.

Post the contents of your /etc/fstab file here.
 
Old 11-12-2001, 08:12 AM   #5
themuppeteer
LQ Newbie
 
Registered: Nov 2001
Location: Belgium
Posts: 18

Original Poster
Rep: Reputation: 0
Here it is...



LABEL=/ / ext2 defaults 1 1
/dev/fd0 /mnt:floppy auto noauto,owner 0 0
none /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
 
Old 11-12-2001, 08:25 AM   #6
themuppeteer
LQ Newbie
 
Registered: Nov 2001
Location: Belgium
Posts: 18

Original Poster
Rep: Reputation: 0
this might be useful to...
when I type the command
fuser -v /mnt/cdrom
I get:

USER PID ACCES COMMAND
/mnt/cdrom root kernel mount /mnt/cdrom
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CDRom Won't eject! SentralOrigin Linux - Hardware 8 03-30-2006 11:35 PM
Can't eject cdrom seagreen Linux - Newbie 4 12-09-2004 02:34 PM
Can't Eject my CDROM!!! Setheck Linux - Hardware 5 09-02-2004 01:05 PM
Can't eject cdrom aeruzcar Linux - Hardware 5 08-16-2003 08:25 PM
cdrom eject FNC Linux - General 2 05-31-2001 09:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration