LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 05-29-2007, 10:08 AM   #1
clayharryman
Member
 
Registered: Jan 2005
Location: Yewsten
Distribution: Fedora Core 5
Posts: 31

Rep: Reputation: 15
How to mount CD-RW?


I've tried man-paging and forum-searching and Googling but still can't find this answer.

When I try to mount my CD-RW, I keep getting the following:
Code:
mount: block device /dev/hdd is write-protected, mounting read-only
I determined it was /dev/hdd by going into /proc/ide/hdd/model. The model is ATAPI CDRW 52X32. Here is the contents of /proc/ide/hdd/settings:
Code:
name                    value           min             max             mode
----                    -----           ---             ---             ----
current_speed           66              0               70              rw
dsc_overlap             0               0               1               rw
init_speed              66              0               70              rw
io_32bit                0               0               3               rw
keepsettings            0               0               1               rw
nice1                   1               0               1               rw
number                  3               0               3               rw
pio_mode                write-only      0               255             w
unmaskirq               0               0               1               rw
using_dma               1               0               1               rw
Here's the /etc/fstab line for my CD-RW drive:
Code:
/dev/hdd              /mnt/cdrw               auto   defaults 0 0
I've tried iso9660 as the FS type and it returned read-only. I also tried ext3 but it returned wrong FS type.

The kicker is, I'm trying to salvage a damaged Windows game disk that Linux can read but Windows cannot. No, not a sob story - just ironic.

Thanks for the help. I really want to completely divorce myself from Windows. Learning Linux is like learning Chinese after a lifetime of English.
 
Old 05-29-2007, 10:24 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,806

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Quote:
mount: block device /dev/hdd is write-protected, mounting read-only
This is normal even though it is a RW disk. The filesystem should be iso9660. Were you able to sucessfully mount the CD and were there any other errors besides the read only message?
 
Old 05-29-2007, 03:06 PM   #3
clayharryman
Member
 
Registered: Jan 2005
Location: Yewsten
Distribution: Fedora Core 5
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by michaelk
This is normal even though it is a RW disk. The filesystem should be iso9660. Were you able to sucessfully mount the CD and were there any other errors besides the read only message?
No other errors - and I could read it. I haven't tried writing 'cuz it said it was read only.

'Spose I could give it a shot, eh? I'll let you know. Thanks!

<edit>
What CD-writing software do y'all use? I've got X-CD-Roast. It won't pick up the drive for writing. I've seen the cdrecord command-line discussed, but I'm a at that one.

Anyway, thanks for the info.

Last edited by clayharryman; 05-29-2007 at 03:16 PM.
 
Old 05-29-2007, 04:05 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,806

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
You do not mount the CD for writing and blank CDs can not be mounted because they do not contain a valid file system. k3b is probably the best linux burning application. Furthermore, nautilus is the only "drag n drop" GUI similar to windows that I know of. If you want to install use the following command:

yum install nautilus-cd-burner
 
Old 05-29-2007, 04:09 PM   #5
clayharryman
Member
 
Registered: Jan 2005
Location: Yewsten
Distribution: Fedora Core 5
Posts: 31

Original Poster
Rep: Reputation: 15
Thanks - I did not know that about mounting the CD. I'm gonna search for k3b. In the meantime, I ripped an ISO of the damaged CD using dd. I tried to use cdrecord to burn a new one and this is the output:
Code:
$ cdrecord -v speed=52 dev=ATAPI:/mnt/cdrw -data cluefinders.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01.01a03-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2005 Jörg Schilling
NOTE: This version contains the OSS DVD extensions for cdrtools and thus may
      have bugs related to DVD issues that are not present in the original
      cdrtools. Please send bug reports or support requests to
      http://bugzilla.redhat.com/bugzilla The original cdrtools author should
      not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: 'ATAPI:/mnt/cdrw'
devname: 'ATAPI:/mnt/cdrw'
scsibus: -2 target: -2 lun: -2
Use of ATA is preferred over ATAPI.
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
cdrecord: Is a directory. Cannot open '/mnt/cdrw'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
None of this makes a heckuva lot of sense to me.

Like I said, I'll look for k3b and give it a shot. Thanks for all your help, MichaelK!
 
Old 05-29-2007, 04:21 PM   #6
pusrob
Member
 
Registered: Jan 2006
Distribution: Debian
Posts: 463

Rep: Reputation: 35
Quote:
Originally Posted by clayharryman
Like I said, I'll look for k3b and give it a shot. Thanks for all your help, MichaelK!
Yes, try k3b. I think this is the best CD/DVD burning application for linux yet. With k3b you will be able to do all your CD/DVD mastering jobs, including copy, write new data/audio/video disc, burn images, create images, and the others. To see k3b screenshots, features, news, etc. visit their homepage: http://k3b.org/ Hope you will like this application.
 
Old 05-29-2007, 04:32 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,806

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
To find the the correct device ID use the following command:
cdrecord dev=ATAPI -scanbus

The output will look similar to the following:
Quote:
scsibus0:
0,0,0 0) '_NEC ' 'DVD_RW ND-3540A ' '1.F1' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
To burn use the results from the first command like.
drecord dev=ATAPI:0,0,0 image.iso

Replace the 0,0,0 with the actual device ID from your results.

/mnt/cdrw is a directory not a device. Typically your device ID will be /dev/cdrw. If this is the only optical drive installed in the computer so try:

cdrecord -v -dev=/dev/cdrw image.iso
 
  


Reply

Tags
cdrw, fc5, fedora


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
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 07:16 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 1 12-24-2005 04:25 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 02:15 AM


All times are GMT -5. The time now is 02:27 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration