LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 01-17-2007, 05:20 AM   #1
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

Rep: Reputation: 29
cant mount my DVD writer


hi, guys

I can't mount my dvd writer, it gives my the erro as followed.

mount: block device /dev/hda is write-protected, mounting read-only
/dev/hda: Invalid argument
mount: /dev/hda: can't read superblock


can some budy help me what to do and my fstab is as followed

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
LABEL=/cache1 /cache 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
LABEL=/home2 /home2 ext3 defaults 1 2
LABEL=/najobackups /najobackups ext3 defaults 1 2
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=/var /var ext3 defaults 1 2
LABEL=SWAP-hdb6 swap swap defaults 0 0
/dev/hda /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
~


can some one help that what is wrong

thanks in advance
 
Old 01-17-2007, 06:10 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Try using for the device;

/dev/hda /media/cdrecorder auto noauto,users,ro 0 0
 
Old 01-18-2007, 01:31 AM   #3
nimtshew
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Rep: Reputation: 0
try #dmesg
and use hda or hdb according to ur DVD writer brands by typing #mount /dev/hdX /media/cdrom1 X=a, b or c.
 
Old 01-25-2007, 02:23 AM   #4
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

Original Poster
Rep: Reputation: 29
hi

this is the line from the dmesg command for the cdrom

hda: SONY DVD RW DRU-800A, ATAPI CD/DVD-ROM drive

can you write me the complete command to mount it. I have tried the above from the friend in my /etc/fstab file but still don't have any good result. thanks in advance if some one comes with the sloution.

thanks
 
Old 01-25-2007, 05:42 AM   #5
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
As root; mount -t auto /dev/hda /media/cdrecorder
 
  


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
Cant mount dvd writer and will only mount as read only. M$ISBS Linux - Newbie 7 11-06-2006 08:23 PM
Burning ISO image (DVD+R, external DVD writer) swan2925 Linux - Software 6 06-02-2005 09:49 AM
DVD Copy with USB2 DVD Writer swan2925 Linux - Software 1 05-29-2005 08:40 AM
Cannot find DVD writer or get CD-writer to spin audio disk dgwebb Linux - Hardware 5 03-28-2005 05:00 PM
DVD Writer / Playing DVD Problems MikeyCarter Linux - Hardware 3 02-07-2003 01:11 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

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