Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-29-2007, 10:08 AM
|
#1
|
Member
Registered: Jan 2005
Location: Yewsten
Distribution: Fedora Core 5
Posts: 31
Rep:
|
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.
|
|
|
05-29-2007, 10:24 AM
|
#2
|
Moderator
Registered: Aug 2002
Posts: 26,215
|
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?
|
|
|
05-29-2007, 03:06 PM
|
#3
|
Member
Registered: Jan 2005
Location: Yewsten
Distribution: Fedora Core 5
Posts: 31
Original Poster
Rep:
|
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.
|
|
|
05-29-2007, 04:05 PM
|
#4
|
Moderator
Registered: Aug 2002
Posts: 26,215
|
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
|
|
|
05-29-2007, 04:09 PM
|
#5
|
Member
Registered: Jan 2005
Location: Yewsten
Distribution: Fedora Core 5
Posts: 31
Original Poster
Rep:
|
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!
|
|
|
05-29-2007, 04:21 PM
|
#6
|
Member
Registered: Jan 2006
Distribution: Gentoo
Posts: 507
Rep:
|
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.
|
|
|
05-29-2007, 04:32 PM
|
#7
|
Moderator
Registered: Aug 2002
Posts: 26,215
|
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
|
|
|
All times are GMT -5. The time now is 10:46 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|