LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   mount DVD Rom & CD-R/RW (https://www.linuxquestions.org/questions/slackware-14/mount-dvd-rom-and-cd-r-rw-235957/)

ernesto_lelo 09-27-2004 06:35 PM

mount DVD Rom & CD-R/RW
 
Hello everybody.
I just move to Slackware 10 and I've been trying to set my system, but I'm having a bad time with my DVD Rom and my CD-R/RW (both liteon).
First I had the idea that Slackware was detecting more device. I got this Idea after checking my dmesg...

Here is a copy of my dmesg file:

hda: ST340823A, ATA DISK drive
hdb: LITE-ON LTR-52246S, ATAPI CD/DVD-ROM drive
blk: queue c03b3360, I/O limit 4095Mb (mask 0xffffffff)
hdc: WDC WD400EB-00CPF0, ATA DISK drive
hdd: JLMS DVD-ROM LTD-166S, ATAPI CD/DVD-ROM drive
blk: queue c03b37b4, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 78165360 sectors (40021 MB) w/512KiB Cache, CHS=4865/255/63, UDMA(100)
hdc: attached ide-disk driver.
hdc: host protected area => 1
hdc: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=77545/16/63, UDMA(33)
hdb: attached ide-cdrom driver.
hdb: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
hdd: attached ide-cdrom driver.
hdd: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)



Now I read on a different thread that by editing my fstab file it should work. (assuming that my DVD is on hdd and my CD-R/RW is on hdb). So I changed it. Here is a copy of my fstab...

/dev/hdc2 swap swap defaults 0 0
/dev/hdc1 / reiserfs defaults 1 1
/dev/hda1 /WindowsXP ntfs ro 1 0
/dev/hdd /mnt/dvd auto noauto,users,ro 0 0
/dev/hdb /mnt/cdrw auto noauto,users,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0



But still is giving me problems. Now when I try to mount any of them (using the following command:
Code:

mount /mnt/dvd
) it gives me the following error...

/dev/hdd: Input/output error
mount: you must specify the filesystem type


any suggestion????

Although I posted my problem on a different thread I was advice to create a new one, so I'm doing it....

shilo 09-27-2004 06:47 PM

You've got:
Quote:

/dev/hdd /mnt/dvd auto noauto,users,ro 0 0
/dev/hdb /mnt/cdrw auto noauto,users,ro 0 0
You should try:
Code:

/dev/hdd  /mnt/dvd  iso9660  noauto,users,ro  0  0
/dev/hdb  /mnt/cdrw  iso9660  noauto,users,ro  0  0

Additionally, I add nosuid to both of mine, but that is just me.

Bruce Hill 09-27-2004 06:49 PM

Change your entries for the CD-RW and DVD-ROM like this:

Code:

/dev/hdb        /mnt/cdrw        iso9660    noauto,users,ro  0  0
/dev/hdd        /mnt/dvd        iso9660    noauto,users,ro  0  0


ernesto_lelo 09-27-2004 07:42 PM

Thanks for the quick response.
I tried your suggestion (both of you suggested the same thing) and I actually got to see the data on a data CD using both devices but when trying to use a music CD now the error message changed to this...

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

any idea ???

Bruce Hill 09-27-2004 07:47 PM

Quote:

Originally posted by ernesto_lelo
when trying to use a music CD now the error message changed to this...

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

any idea ???

You can't mount music CDs in Linux - that I know of - at
least not the .cda files. You can play them, however,
and for this I install the xmms-cdread-0.11d.tar.gz plugin
and then just stick them in the drive without trying to
mount them and play with XMMS.

lukeh 10-28-2004 08:38 PM

this reply might be a bit late but I had a similar problem. If you are using the 'hdc=ide-scsi' flag with your kernel then to mount a dvdrom I needned to mount it like 'mount /dev/sr0 /mnt/dvd'

hope this helps
Luke H.


All times are GMT -5. The time now is 03:45 PM.