Liteon CDR, where do I start?
I have two cdrom drives, my /etc/fstab files looks like this;
LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 LABEL=/home /home ext3 defaults 1 2 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hda3 swap swap defaults 0 0 /dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0 /dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0 I can read from both the cdrom drives, but the cdrom1 is a LITEON LTR 32123S drive. It doesnt look like the system is recognising the drive other than a normal cdrom drive. Im running red Hat 9. Where do I start? |
change 'ro' (readonly) to 'rw' (readwrite) on whichever is the burner
or possibly just remove the 'ro' |
Thanks, how do i get the system to re-read this file now?
|
try mount -o remount /mnt/cdrom1
|
Ho hum...
No such luck im afraid... when i try that mount command i just get a scroll of text listing options for mount. I tried; mount /dev/cdrom1 /mnt/cdrom1 but it complains about; /dev/cdrom1: Input / output error mount: block device /dev/cdrom1 is write protected, mounting read-only /dev/cdrom1: Input / output error mount: you must specify the filesystem type So im still stuck here. Ive been away so thats why its been so long since the last post on this thread |
You can't just copy files to a CD on a burner, you need to use a program such as Gnomebaker or K3b to burn, those programs will recognise the burners alright, you may need to change some permissions but that's easy :)
|
I understand what you say about needing a program to write to a CD burner i have Gnome toaster but its still noe recongnising the drive.
I dont want to revert to windows, but i feel i may not have much choice here |
What do you mean "it's not recognizing the drive"? /dev/cdrom is just a generic term for a CD-based drive. It's not going to say /dev/cdr if that's what you're getting at.
Also, I don't think adding "rw" will do anything for you in /etc/fstab. As you quoted before, mount is just telling you it's a read-only filesystem (which it is) and trying to mount it as such. If you're thinking the system isn't recognizing it because you can't mount, then try this: 1. Put in a normal CD containing data (one of your Linux install CDs would be perfect) 2. Execute the following command (as root): Code:
mount -t iso9660 /dev/cdrom1 /mnt/cdrom1 Code:
ls -l /mnt/cdrom1 |
Thanks for your reply DH, i did check this drive initially by popping a normal CD in here. Its acts fine as a normal CD drive.
Strange thing is that when I put a blank CD-R into the drive (this is ok isnt it) a window pops up entitled burn/// or it may be ///burn, anyway you can select some files and drag them into here and click on an icon above called something like "record" or "burn to disc" (i cant remember exactly which at the moment because im not logged into the linux box at the moment), Anyway when I click this button, my only options from the dialog box is "write to iso image" the option of the CD writer doesn't show. This is why i didnt think Lunix was recognising the hardware as being capable of writing to a CD. I know you guys can help me solve my problem, I much prefer Linux to Windows. |
Oh yeah, it's perfectly fine to put a blank CD into the drive before you start doing any work to actually burn something. You just can't mount it; it's empty, and mounting it would only serve to confuse the computer.
To be honest, I'm a little wary of that feature (referring to the "burn" window you mentioned). I never really tried it because I was comfortable with other tools. I usually just closed the window and proceeded to do my "normal thing". The fact that it came up with a "burn" window should give you a warm-and-fuzzy feeling that the system realized your device was write-capable. In general, the process for burning a CD in linux is to create an image file to burn to a disc. So, expect to see a message about creating/writing an iso file or something similar. I don't know how knowledgeable you are about iso files, so forgive me if this is "elementary". Think of that iso file as a map for the data on the CD. It contains everything: the CD's table of contents, the filesystem, the actual data in the files, etc. Once this file is created, the computer has "all its ducks lined in a row". To burn, the computer simply needs to stream the data from the file to the burner. It's a necessary evil when dealing with write-once media. You can do all this over the command line (which is what I'm comfortable with), or you can use a burning application like XCDRoast, GnomeToaster, or others. Actually, those programs are just pretty front-ends for the command line. Anyway, it'll require some reading (you knew it was coming I'm sure) :) Or you can just experiment with the burn window. The worst that could happen is you trash a CD. |
Unless you change the permissions for the CDROM device you'll need to be logged in as root to burn.
|
Well this is looking promising...:)
I understand what an ISO file is but not too much about the specifics, I wish I knew more... though the explanation above was useful, thanks. So how can I use the command line? I actually prefer using the command line it gives you feedback that sometimes you may miss if you are using a GUI. I guess being bought up with GUIs (windows) you get lazy, and you rely on the GUI's designer to allow errors through, maybe sometimes they will mask or translate error messages with all the best intentions but this could also mean something gets missed. If you could help me with the command line DH, then I would really appreciate it. I can log in as root, like DJ p@ckman says. But just a question how does someone change the permissions to a device, is is the same as when you do it with a file (i.e. chmod <filename> ), and do you carry this out on the /dev/cdrom1 device? |
Post the output from this command
Code:
ls -l /dev/cdroms |
Here's a simple play-by-play of what I do for data CDs.
Go to a temporary/work directory(/home/user/temp for example), and create a new subdirectory (cd_layout perhaps). This new subdirectory will be the top level (or root directory) of the CD you'll burn. Start copying files and directory structure over, making sure you're not exceeding available disc space. Whn done copying files, return to the original temp/work directory and create the CD image with the mkisofs command: Code:
cd /home/user/temp Now you burn the iso file to the cd with the cdrecord command: Code:
cdrecord dev=0,0,0 speed=30 /home/user/temp/cdimage.iso Code:
cdrecord -scanbus That's all you have to do. As DJ P@CkMaN said, you'll need to be root to execute the cdrecord commands unless you've made appropriate permission changes. I don't mess with permissions and just use "su -c" for the cdrecord command. For instance: Code:
su -c "cdrecord dev=0,0,0 speed=30 /home/user/temp/cdimage.iso" |
In order to get my LiteOn cd-rom/cd-rw/dvd-rom to work correctly, I had to delete the link between /dev/cdrom and /dev/hdc, and make a new link between /dev/cdrom and /dev/sr0. The LiteOn cd-rom is treated as an ide drive; the drives with other functions such as cd-rw and dvd-rom/rw are treated as scsi drives and need an appropriate kernel module.
Not my word; I got it from documentation and it worked. |
All times are GMT -5. The time now is 12:23 AM. |