Click to See Complete Forum and Search --> : How to set up a Dvd-rom - SuSE


vader89
07-08-2003, 01:36 PM
How do you set up a DVD-ROM drive with linux? I use SuSE linux 8.1. In YAST2 I checked the box by IDE DVD-ROM to integrate it into the system. It says it integrated it successfully. However, there is no dev/dvd created, and when I go back to YAST2 it says it isn't integrated. I used to have a CD-ROM drive and a CD-R drive. I replaced the CD-ROM with the DVD-ROM. And now when I mount dev/cdrom it reads the DVD-ROM drive. HELP!!:confused:

oubipaws
07-08-2003, 01:53 PM
i have a cd, cd-r, and dvd

they show up as such:
/dev/cdrom
/dev/cdrom1
/dev/cdrom2

I don't think it is suppose to show up as DVD

vader89
07-08-2003, 02:21 PM
When I go to play a dvd in mplayer it says "cannot find /dev/dvd/".

oubipaws
07-08-2003, 02:29 PM
ok, sorry.. I haven't used Suse in a while... on gentoo and red hat, its come up like i put it in.

Hayl
07-08-2003, 02:30 PM
Originally posted by vader89
When I go to play a dvd in mplayer it says "cannot find /dev/dvd/".

make a symlink then

ln -s /dev/whatever_your_dvd_rom_is /dev/dvd

Hayl
07-08-2003, 02:30 PM
Originally posted by vader89
How do you set up a DVD-ROM drive with linux? I use SuSE linux 8.1. In YAST2 I checked the box by IDE DVD-ROM to integrate it into the system. It says it integrated it successfully. However, there is no dev/dvd created, and when I go back to YAST2 it says it isn't integrated. I used to have a CD-ROM drive and a CD-R drive. I replaced the CD-ROM with the DVD-ROM. And now when I mount dev/cdrom it reads the DVD-ROM drive. HELP!!:confused:

swap the devices in /etc/fstab then

mdwatts
07-08-2003, 02:35 PM
Lets say your original cdrom was /dev/hdc (secondary/master) and you replaced the cdrom with the dvd on the same secondary/master.

First check for the existing symlink

ls -al /dev/cdrom

If it is symlinked from /dev/hdc, remove the symlink

cd /dev

rm cdrom

Now create a new symlink

ln -s hdc dvd

All this as root.

Post the contents of /etc/fstab and we will tell you what to change.

vader89
07-08-2003, 03:03 PM
this is the contents of my etc/fstab file. (the attached file). One more thing, I typed in ls -al /dev/cdrom and I got the output /dev/cdrom -> sr1. I've never done this before so I'd like to know what it means.

mdwatts
07-08-2003, 03:07 PM
It can't be that long. Could you post the contents within the thread so I don't have to download the text file and then open it.

Just post the lines that relate to cdrom etc.

vader89
07-08-2003, 03:14 PM
here is the dev/cdrom line
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0:D

mdwatts
07-08-2003, 03:17 PM
Does dvd exist under /media?

ls -al /media

If you need to create (as root)

mkdir /media/dvd

Now change your /etc/fstab entry (if you created the symlink as I described above)

/dev/dvd /media/dvd auto ro,noauto,user,exec 0 0

lpletch
07-08-2003, 03:25 PM
vader89 Says:

"And now when I mount dev/cdrom it reads the DVD-ROM drive."

If you:
ln -s /dev/cdrom /dev/dvd

should fix everything

vader89
07-08-2003, 03:31 PM
I did all that you said, but when I mount dev/dvd it says, "error, you must specify the filesystem type"

lpletch
07-08-2003, 03:40 PM
If you remove /dev/cdrom then programs that are set to use this are not going to work.

Things like cdplayer to play audio cd's and file managers.

DVD ROM drives will still handle a data or music cd and programs that accessed this before will need to be reconfigured.

mdwatts
07-08-2003, 04:02 PM
If you made the changes to /etc/fstab, you should be able to mount (with a cd in the drive)

mount /media/dvd

vader89
07-08-2003, 04:08 PM
I made the changes in etc/fstab , but when I mount the dvd-rom it says there is no filesystem specified. :mad: :( :confused:

mdwatts
07-08-2003, 04:23 PM
Maybe change

/dev/dvd /media/dvd auto ro,noauto,user,exec 0 0

to

/dev/dvd /media/dvd iso9660 ro,noauto,user,exec 0 0

<searching keywords>

dvd mount suse

vader89
07-08-2003, 04:32 PM
now it says "wrong fs type, bad option, and bad superblock on dev/dvd"

mdwatts
07-08-2003, 05:22 PM
I see you're still sitting waiting for a reply. Did you try any JL forum searches while you were waiting?

Could you post exactly what you did from the suggestions above.

vader89
07-08-2003, 10:00 PM
These are the things I did: I created a new symlink after removing the /dev/cdrom one, I made the /media/dvd folder, and I changed etc/fstab just like you told me.

drummerboy195
07-08-2003, 10:15 PM
do you have the udf support in the kernel?

vader89
07-08-2003, 10:51 PM
What do you mean by UDF support?

mdwatts
07-09-2003, 07:04 AM
Originally posted by vader89
These are the things I did: I created a new symlink after removing the /dev/cdrom one, I made the /media/dvd folder, and I changed etc/fstab just like you told me.

So you did

cd /dev

rm cdrom

ln -s hdc dvd

Edited /etc/fstab and made the changes.

Do you have a regular data cd in the dvd drive?

vader89
07-09-2003, 02:45 PM
Yes, I had a regular data disk in the computer.

mdwatts
07-09-2003, 03:00 PM
Maybe it's as another member posted. Use /dev/cdrom instead. ???

As root

cd /dev

rm dvd

ln -s hdc cdrom

Change /etc/fstab

/dev/cdrom /media/dvd iso9660 ro,noauto,user,exec 0 0

and then see if it mounts.

Do you have scsi emulation enabled? Check for hd?=ide-scsi in your bootloader config (/boot/grub/menu.lst).

drummerboy195
07-09-2003, 05:26 PM
is this a dvd-rom, or a data cd that you are trying to mount? if it is a dvd, you will need udf filesystem support. im not sure if it is enabled in whatever setup you are using, but when i recompiled recently, and left it out, that was the error i got when trying to play a dvd.

vader89
07-09-2003, 06:14 PM
Now I can mount it... but it won't play dvd video because there is no dev/dvd :mad:

mdwatts
07-09-2003, 06:17 PM
Originally posted by vader89
Now I can mount it... but it won't play dvd video because there is no dev/dvd :mad:

What did you finally do and what DVD playing app are you using?

< searching keywords >

bad option superblock dvd mount fstab /dev/dvd

vader89
07-09-2003, 10:49 PM
I removed dev/dvd and changed it to dev/cdrom in etc/fstab. I am using Xine and Mplayer to play dvds

mdwatts
07-10-2003, 06:49 AM
Maybe you also need to create a symlink from cdrom to dvd.

cd /dev

ln -s cdrom dvd