LinuxQuestions.org
Register a domain and help support LQ
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-15-2007, 06:17 PM   #1
stefaandk
Member
 
Registered: Jun 2005
Distribution: Centos
Posts: 215

Rep: Reputation: 30
Linux ejecting my DVDRW


First time I use a DVDRW on Linux, my intention is to use it from the command line to burn backups too.

The Drive is certainly a DVDRW compatible one but as soon as I insert a disc it ejects it immediately.
Do I need to configure/start a program first to prevent this from happening?

Thanks.
 
Old 01-15-2007, 06:38 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
Post contents of /etc/fstab. Maybe it contains somekind of automount option.
Also which gui are you running and is it running when you do this?

Brian
 
Old 01-15-2007, 07:17 PM   #3
stefaandk
Member
 
Registered: Jun 2005
Distribution: Centos
Posts: 215

Original Poster
Rep: Reputation: 30
This is my fstab

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=/tmp /tmp ext3 noexec 1 2
LABEL=/usr /usr ext3 defaults 1 2
LABEL=/var /var ext3 defaults,usrquota 1 2
LABEL=SWAP-sda3 swap swap defaults 0 0
/dev/sdb1 /backup ext3 defaults 1 2
/dev/hdb /media/cdrecorder auto pamconsole,fscontext=system_ubject_r:removable_t,exec,noauto,
managed 0 0
/dev/fd0 /media/floppy auto pamconsole,fscontext=system_ubject_r:removable_t,exec,noauto,
managed 0 0


not running any GUI at all.

Thanks
 
Old 01-15-2007, 07:47 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
Not sure if this would help but maybe change your /dev/hdb line to say this.
Code:
/dev/hdb              /media/cdrecorder              auto    noauto,owner,ro 0 0
Just add a # to the current one and add the one above. Make sure /media/cdrecorder exist. Not sure how that directory works without the managed option. The managed option auto creates the /media directory moint points.

Could create /mnt/cdrecorder and use that instead of /media/cdrecorder.

Brian
 
Old 01-15-2007, 07:50 PM   #5
stefaandk
Member
 
Registered: Jun 2005
Distribution: Centos
Posts: 215

Original Poster
Rep: Reputation: 30
Righto,

I can give that a try, now for this to change to take effect, can I reload the fstab or will it take effect automatically?

Do I need to reboot?

Thanks
 
Old 01-16-2007, 05:41 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
Changes to fstab become active on save.

Brian
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to read CDMRWs in Linux from a CDRW/DVDRW drive WITHOUT firmware MRW support? farnell_mark Linux - Software 1 03-28-2005 12:17 AM
Cdrom keeps ejecting. rentz Linux - Hardware 11 08-20-2004 06:15 PM
CD-rw problems Ejecting jklaroe Slackware 4 06-20-2004 04:22 PM
Mandrake Linux 10, Ejecting the CD-ROM while running WineX bloodredbath Linux - Hardware 3 04-09-2004 03:49 PM


All times are GMT -5. The time now is 08:58 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