1827723 Members
2719 Online
109968 Solutions
New Discussion

Re: cdrom

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

cdrom

I am running RH8 and just installed a DVD/R-RW drive. When I try to mount it it gives me an error saying I must specify file system type. What command should I be using?

10x
RPM
UNIX IS GOOD
8 REPLIES 8
Nobody's Hero
Valued Contributor

Re: cdrom

Also,

If I am trying to run mondoarchive to this dvd drive, do I need to mount it first from the OS. Or does mondo take care of this ?
UNIX IS GOOD
Jerome Henry
Honored Contributor

Re: cdrom

Hi Robert,

I suppose you have blank CDR(W) in your drive. That's why Linux can't mount it (there is no file system type yet at that level !)

You shouldn't need to mount the CD before backing up, just wait Mondo to ask you to insert the CD, the mondo burning tool will take it in charge...

Read this for an example :

http://www.microwerks.net/~hugo/docs/1.6x-howto/backupcommands.html

Hope this helps you with this great tool.

J
You can lean only on what resists you...
Francisco J. Soler
Honored Contributor
Solution

Re: cdrom

Hi Robert,

First of all, you need to configure the scsi emulation to your RW works.

To do so, assuming you have your RW in the hdb, put this in /etc/modules.conf

options ide-cd ignore=hdb # tell the ide-cd module to ignore hdb
alias scd0 sr_mod # load sr_mod upon access of scd0
pre-install sg modprobe ide-scsi # load ide-scsi before sg
pre-install sr_mod modprobe ide-scsi # load ide-scsi before sr_mod
pre-install ide-scsi modprobe ide-cd # load ide-cd before ide-scsi

You could need to change the link to the cdrom device like this:

cd /dev && rm cdrom && ln -s scd0 cdrom

reboot the sistem and it should work.

To get more information:

http://wt.xpilot.org/publications/linux/howtos/cd-writing/html/

Frank.
Linux?. Yes, of course.
Nobody's Hero
Valued Contributor

Re: cdrom

Thanks everyone,
Francisco,

two questions:

1) when I apply this change, will I still be able to use the cdrom drive for normal functions, other than mondo?

2) how would I mount a blank cd-r/rw from the command line. Like, I wanted to copy my home directory to cd?

points awarded at close of discussion.
I really appreciate your help. I had no idea that you had to do something like this in Linux. Very interesting. I was clueless. I appreciate it very much.

Rpm
UNIX IS GOOD
Jerome Henry
Honored Contributor

Re: cdrom

Mmmm...

You're running rh8, aren't you ? I 'think' that scsi emulation is not required anymore since rh7.2 (or is it 7.1 ?).

SAd that you don't run rh9, as it has a write to cd function in nautilus, as in XP...

But you have rh8 (say win 2k !). So back to the original mount problem. You cant' mount a file system that doesn't exist (we have a guy in France called Lapalisse who was known to say many of these obvious things)...

So you must use a command to make file system as it burns, or a graphical tool that will do the same. There are several under rh8, look at :
http://www.europe.redhat.com/documentation/rhl8.0/rhl-gsg-en-8.0/s1-disks-cdrw.php3
where you'll get all commands and graphical tools.

My advice is to test graphcal tools, as they were not very powerrfull at rh8 time...

hth

J
You can lean only on what resists you...
Francisco J. Soler
Honored Contributor

Re: cdrom

Hi Robert,

1) Yes, you can use it as a normal CD, and mount cd's in the normal way.

2) Like Jerome says, you can't mount a drive without a file system in it. To burn cds you must use software to toast cd's.

There are a lot of software to burn cds, basicaly all front-ends use cdrecord or mkisofs as backend. You must install cdrecord or mkisofs and a nice front-end of your choice. I suggest you gcombust but there are alot of them.

http://www.abo.fi/~jmunsin/gcombust/

Check too:
http://www.yolinux.com/TUTORIALS/LinuxTutorialCDBurn.html


HTH
Frank.
Linux?. Yes, of course.
Caesar_3
Esteemed Contributor

Re: cdrom

Hello!

1. You use the drive as always only that
after the change ide-scsi module emulate
the cdrom that it's like a scsi.

2. You can't mount blank CD and also you
don't need to do so.

Caesar
Francisco J. Soler
Honored Contributor

Re: cdrom

Hi Robert,
A lot of thanks for your points, you make me graduate.

I'm going on hollidays today, and thanks to you i'll go with a new hat.

Thanks again.
Frank.
Linux?. Yes, of course.