You are not logged in.

#1 2004-06-23 16:45:20

super_duper_linux_guy
Member
Registered: 2004-05-28
Posts: 42

Mouting CDrom drive doesn't work

Hi all, I have been looking through the forums the last 2 days trying to find an answer to why my CDrom drive won't mount any CD's, but unfortunately no succes.

I have an IDE kernel,  with a CDrom drive and a DVD drive, my fstab looks like this:

none                   /proc         proc      defaults            0      0
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0
tmpfs                  /tmp          tmpfs     defaults            0      0
sysfs                  /sys          sysfs     defaults            0      0
usbdevfs               /proc/bus/usb usbdevfs  defaults            0      0

/dev/cdroms/cdrom0     /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
/dev/cdroms/cdrom1     /mnt/dvd  udf       ro,user,noauto,unhide   0      0
/dev/floppy/0          /mnt/fl   vfat      user,noauto,unhide      0      0

/dev/discs/disc0/part8 swap swap defaults 0 0
/dev/discs/disc0/part7 / ext3 defaults 0 1
/dev/discs/disc0/part6 /boot ext3 defaults 0 1

I changed:

/dev/cdroms/cdrom0     /mnt/dvd  udf       ro,user,noauto,unhide   0      0

to

/dev/cdroms/cdrom1     /mnt/dvd  udf       ro,user,noauto,unhide   0      0

When I go to /dev/cdrom/ and execute # mount cdrom0 I get the following error:

mount: can't find /dev/ide/host0/bus0/target1/lun0/cd in /etc/fstab or /etc/mtab

And when I go to /dev/cdrom/ and execute # mount cdrom1 I get the following error:

mount: can't find /dev/ide/host0/bus1/target0/lun0/cd in /etc/fstab or /etc/mtab

And if I just execute # mount cdrom0 or # mount cdrom1 I get the following error:

can't find cdrom in /etc/fstab or /etc/mtab

I have no idea what could be wrong, any help is very welcome.

Offline

#2 2004-06-23 16:50:39

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Mouting CDrom drive doesn't work

have you got mount points /mnt/cd /mnt/dvd set up ?

HTH

Mr Green


Mr Green

Offline

#3 2004-06-23 16:55:20

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Mouting CDrom drive doesn't work

looks like /dev/cdrom[01] are symlinks to /dev/ide/host0/bus[01]/target[10]/lun0/cd

So you would need to put /dev/ide/host0/bus[01]/target[10]/lun0/cd (change to the error line you get) in your fstab instead of /dev/cdrom/cdrom0)

What if you use mount /dev/cdrom/cdrom0, does that cause an error too? Perhaps it's just because you're mounting in /dev specifically.

Dusty

Offline

#4 2004-06-23 17:06:23

super_duper_linux_guy
Member
Registered: 2004-05-28
Posts: 42

Re: Mouting CDrom drive doesn't work

Hi, thanks for the replies:

I tried what you said, and I get the following:

# mount /dev/cdrom/cdrom0

mount: mount point /mnt/cd does not exist

# mount /dev/cdrom/cdrom1

mount: mount point /mnt/dvd does not exist

Does this mean I don't have a mount point?

Offline

#5 2004-06-23 17:11:07

dpb
Member
From: Cyperspace?
Registered: 2004-04-11
Posts: 231

Re: Mouting CDrom drive doesn't work

Do this:

mkdir /mnt/cd /mnt/dvd

and try mounting again.

Offline

#6 2004-06-23 17:24:15

super_duper_linux_guy
Member
Registered: 2004-05-28
Posts: 42

Re: Mouting CDrom drive doesn't work

Thanks, that works for the DVD drive, but when I try to load it in the CD-rom drive (which is also CD writer) I get the following error:

mount: wrong fs type, bad option, bad superblock on /dev/cdroms/cdrom1, or too many mounted file systems

Offline

#7 2004-06-23 17:28:54

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Mouting CDrom drive doesn't work

strange... er... is it an iso9660 formatted cd?

Offline

#8 2004-06-23 17:38:08

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Mouting CDrom drive doesn't work

yeah udf really is a useless format choice in your fstab. iso9660 works for either format (cdrom and dvd).


AKA uknowme

I am not your friend

Offline

#9 2004-06-23 17:39:01

super_duper_linux_guy
Member
Registered: 2004-05-28
Posts: 42

Re: Mouting CDrom drive doesn't work

Yes it is, I tried multiple CD's and the outcome is the same.  :?:

Offline

#10 2004-06-23 17:41:27

super_duper_linux_guy
Member
Registered: 2004-05-28
Posts: 42

Re: Mouting CDrom drive doesn't work

But it seems UDF is working, while the ISO isn't (you can see it in the fstab). When I do # mount /dev/cdroms/cdrom1 I get the error.

Offline

#11 2004-06-23 17:42:28

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Mouting CDrom drive doesn't work

perhaps the drive was previously mounted try umount the mount again.

other than that are you sure your drive is cdrom1 and not cdrom0?


AKA uknowme

I am not your friend

Offline

#12 2004-06-23 17:43:14

super_duper_linux_guy
Member
Registered: 2004-05-28
Posts: 42

Re: Mouting CDrom drive doesn't work

Wait, I changed it and now it works, it was the UDF.

Everybody thanks for your help!

Offline

#13 2004-06-23 19:24:06

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Mouting CDrom drive doesn't work

Are you trying to mount an Audio CD? if so it will not work

HTH

Mr Green


Mr Green

Offline

Board footer

Powered by FluxBB