LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   cant mount my DVD writer (https://www.linuxquestions.org/questions/linux-enterprise-47/cant-mount-my-dvd-writer-520095/)

shahz 01-17-2007 05:20 AM

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_u:object_r:removable_t,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
~


can some one help that what is wrong

thanks in advance

Lenard 01-17-2007 06:10 AM

Try using for the device;

/dev/hda /media/cdrecorder auto noauto,users,ro 0 0

nimtshew 01-18-2007 01:31 AM

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.

shahz 01-25-2007 02:23 AM

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

Lenard 01-25-2007 05:42 AM

As root; mount -t auto /dev/hda /media/cdrecorder


All times are GMT -5. The time now is 05:42 PM.