LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-05-2006, 04:29 PM   #1
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Rep: Reputation: 30
Cant mount dvd writer and will only mount as read only.


I am trying to use my DVD writer and it will only mount read only from the command line I do mount /dev/cdrom and it always says mounting read only, I try in K3B and it does not find the writer and I cannot specify it anywhere.
I am also having a problem with files in /mnt/cdrom that are not supposed to be there and I cannot delete them as user or root, no matter what I do. They are files that were on a disk but the disk is not in the cdrom anymore.

This is my fstab:

/dev/hda2 swap swap defaults 0 0
/dev/hda1 / reiserfs defaults 1 1
/dev/cdrom /mnt/cdrom auto noauto,users,rw 0 0
/dev/sda1 /mnt/sda1 auto noauto,users,rw 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
/dev/sda2 /mnt/camera auto noauto,users,rw 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

Is there a way to make it write and read?
 
Old 11-05-2006, 05:22 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
You need to use the DVD+/-RW tools for Linux -- you can't just mount the disk and write to it like a normal block device AFAIK. This howto that I found off of Google explains some about it.

A couple of questions, too:

(1) What make/model DVD burner do you have?
(2) You are using Slack 10.2. Assuming you are using the 2.4 kernel you will need to have ide-scsi emulation for your burner (2.4 kernels only burn to SCSI devices so you need to emulate your IDE burner as a SCSI burner except in the unlikely circumstance that you actually have a SCSI CD writer). Did you activate the ide-scsi stuff? If not you'll need to edit /etc/lilo.conf, add hdc=ide-scsi to the append line for your kernel, rerun lilo, and reboot. This assumes your burner is /dev/hdc (second IDE channel master device).
(3) You say you can see files off an old disk in /mnt/cdrom. This may indicate that the device was never correctly unmounted. What is the output of the mount command (with no arguments)?
 
Old 11-05-2006, 06:17 PM   #3
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by btmiller
You need to use the DVD+/-RW tools for Linux -- you can't just mount the disk and write to it like a normal block device AFAIK. This howto that I found off of Google explains some about it.

A couple of questions, too:

(1) What make/model DVD burner do you have?
(2) You are using Slack 10.2. Assuming you are using the 2.4 kernel you will need to have ide-scsi emulation for your burner (2.4 kernels only burn to SCSI devices so you need to emulate your IDE burner as a SCSI burner except in the unlikely circumstance that you actually have a SCSI CD writer). Did you activate the ide-scsi stuff? If not you'll need to edit /etc/lilo.conf, add hdc=ide-scsi to the append line for your kernel, rerun lilo, and reboot. This assumes your burner is /dev/hdc (second IDE channel master device).
(3) You say you can see files off an old disk in /mnt/cdrom. This may indicate that the device was never correctly unmounted. What is the output of the mount command (with no arguments)?
I dont know the model but it did work with slack 10 using 2.4 kernel. I dont know about emulating as scsi. this is what mount shows

/dev/hda1 on / type reiserfs (rw)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
 
Old 11-05-2006, 06:58 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Hmmm ... maybe then you can try cdrecord -scanbus to see if it picks up the drive or show the outputwhen you try to have k3b detect the drive. Does the system log or message log show anything?

As for the files in /mnt/cdrom -- /mnt/cdrom is just a normal directory -- maybe they were copied in there by mistake? Just a thought.
 
Old 11-05-2006, 07:53 PM   #5
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by btmiller
Hmmm ... maybe then you can try cdrecord -scanbus to see if it picks up the drive or show the outputwhen you try to have k3b detect the drive. Does the system log or message log show anything?

As for the files in /mnt/cdrom -- /mnt/cdrom is just a normal directory -- maybe they were copied in there by mistake? Just a thought.

I appended lilo and now when I do cdrecord -scanbus, the cdrom is found but cdrecord is really difficult to use from command line.
I will have to check the k3b logs.
I installed xcdroast and that gives an error saying I have to configure it as root but there is no way to do that.
 
Old 11-06-2006, 02:07 AM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Try running xcdroast as root and see if will help you out. If cdrecord can detect the burner, k3b should be able to as well.
 
Old 11-06-2006, 07:11 AM   #7
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
I can't speak to why your burner is not detected by K3B, but there is no need to mount a disc to burn it. Before you actually burn something onto it, there is no filesystem on the disc to mount.

When burning CDs and DVDs, just put the disc in the drive and burn. Don't try to mount a disc with no filesystem.

good luck otherwise, I'm baffled.

Last edited by lurko; 11-06-2006 at 07:12 AM.
 
Old 11-06-2006, 08:23 PM   #8
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
When I run xcdroast as user I get a message saying you must run configuration as root to start using xcdroast, so i try as root and I get a console messages saying cannot open graphical server or something like that. Either way it does not work. K3B does not find any burner at all and it wont accept the drive manually. Is there any other program that works for burning DVDs in linux?
 
  


Reply


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
mount as a device: mount dvd-iso file in /dev/dvd sadarax Linux - General 21 02-02-2011 11:59 PM
DVD (auto)mount problem, gnome-mount, hal, Fedora C 5 lazarion Linux - Hardware 5 01-10-2007 04:45 AM
aopen dvd writer can read CDs but not DVDs swafran Linux - Hardware 5 05-07-2006 07:06 PM
mount:not a directory. Suse dvd mount problem tzanis Linux - General 8 11-06-2005 11:30 AM
Mount CD Writer nirav1983 Fedora 6 03-21-2005 03:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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