
Originally Posted by
rrfish72
Trying to get dvd to play and this is what I was informaed to do. How is this done? Here is my fstab:
# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,users,showexec,umask=022 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/sr0 /cdrom iso9660 defaults,users,noexec 0 0
/dev/cdrom1 /cdrom1 iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/sr2 /dvd iso9660 defaults,ro,users,noexec 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/cdrom1 /mnt/auto/cdrom1 auto users,noauto,exec,ro 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0
# Added by KNOPPIX
/dev/hda5 /mnt/hda5 ext2 users,exec 0 0
Is this set right? Any help in resolving this would be appreciated.
Hmm, I think a "re-vamp" is needed, considering your last post... I think the problem is, seeing your last post, you have /dev/dvd pointing to sr2, and /dev/cdrom pointing to sr0, but you have a symlink for /dev/dvd pointing to /dev/cdrom - thus, dvd is on sr2 but points to your cdrom device which is on sr0 - this is impossible.
Your sr# links are suposed to be linked to scd# devices - mine are the same way,
Code:
root@Morpheus:~# ls -la /dev/sr?
lrwxrwxrwx 1 root root 4 Jul 2 07:02 /dev/sr0 -> scd0
lrwxrwxrwx 1 root root 4 Aug 7 10:18 /dev/sr1 -> scd1
lrwxrwxrwx 1 root root 4 Jul 2 07:02 /dev/sr2 -> scd2
lrwxrwxrwx 1 root root 4 Jul 2 07:02 /dev/sr3 -> scd3
lrwxrwxrwx 1 root root 4 Jul 2 07:02 /dev/sr4 -> scd4
lrwxrwxrwx 1 root root 4 Jul 2 07:02 /dev/sr5 -> scd5
lrwxrwxrwx 1 root root 4 Jul 2 07:02 /dev/sr6 -> scd6
lrwxrwxrwx 1 root root 4 Jul 2 07:02 /dev/sr7 -> scd7
lrwxrwxrwx 1 root root 4 Jul 2 07:02 /dev/sr8 -> scd8
lrwxrwxrwx 1 root root 4 Jul 2 07:02 /dev/sr9 -> scd9
root@Morpheus:~#
sr0 -> scd0 -=- sr1 -> scd1 -=- etc... So these are fine... Leave your sr# links as they are...
Here is what I would do: ( do all of this in a root Konsole )
1 ) Do a "cd /dev" - so that you are in the dev directory / folder
2 ) Do a "umount /dev/device" on any mounted CD-ROM or DVD devices that are mounted. We are going to be changing some things, and don't want the devices mounted. So, if your DVD is mounted, you would want to do a "umount /dev/dvd" or something like that.
3 ) I am still not sure what device you have connected to sr1, your fstab file appears to be for only devices sr0 and sr2, but "sr" numbers usually are sequencial, so, either sr2 is actually sr1, or something that is on sr1 isn't being included in your fstab.
4 ) From what I can tell, from your fstab file, you have the following "mount points" -=- /cdrom /cdrom1 /dvd and lastly /cdaudio -=- if you do a "ls -la /" you should have these "mount points" as folders / directories off of the "/" ( root ) device.
5 ) From what I can tell, from your fstab file, you have the following devices going to these mount points -=- /cdrom = sr0 -=- /cdrom1 = unknown -=- /dvd = sr2 -=- and lastly, /cdaudio = unknown. Whichever device has the "audio cable" connected to your sound card, is usally setup as your /cdaudio device. In my case, my dvd has the audio cable to my sound card, so, my /cdaudio links to my sr0, and my /dvd links to my sr0.
First of all, we will only be "playing" with the fstab entries that are for your CD-ROM's and DVD devices, this is what you had:
Code:
/dev/sr0 /cdrom iso9660 defaults,users,noexec 0 0
/dev/cdrom1 /cdrom1 iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/sr2 /dvd iso9660 defaults,ro,users,noexec 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/cdrom1 /mnt/auto/cdrom1 auto users,noauto,exec,ro 0 0
And this would be my suggestion:
Code:
/dev/cdrom /cdrom iso9660 defaults,users,noexec 0 0
/dev/cdrom1 /cdrom1 iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/dvd /dvd iso9660 defaults,ro,users,noexec 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,users,noexec,noauto 0 0
# /dev/cdrom1 /mnt/auto/cdrom1 auto users,noauto,exec,ro 0 0 - commented out...
I would also check to make sure that you have the "mount point" folders in existance. You should have four folders in the / folder; dvd, cdrom, cdrom1, and cdaudio - if not, you will want to create these folders to hold the data/files/structure of there respective devices. You can do this with "mkdir [directoryname/foldername]" - so, if you don't have a /dvd folder, you would do the following in a root Konsole: mkdir /dvd
Now, you will want to create those symlinks, that appear not to exist in your /dev folder...
Going off what you have in your fstab, I can detect the entries for sr0 and sr2, but dont have a clue about sr1 - more input to determine what symlink that should be...
We need a symlink for all the devices you mentioned in your fstab file. So we need a link for /dev/cdrom, /dev/cdrom1, /dev/dvd, and lastly, /dev/cdaudio
So, still being in the /dev folder, in a root Konsole, we would do the following:
ln -sf sr0 /dev/cdrom
ln -sf sr2 /dev/dvd
If your sr1 is the entries for /cdrom1 and/or /cdaudio then you would create those symlinks like this:
ln -sf sr1 /dev/cdrom1
ln -sf sr1 /dev/cdaudio
If, on the other hand, your /cdrom1 and/or your /cdaudio are duplicates of either your /cdrom device or your /dvd device, then you would create the symlinks replacing the correct "sr#" in the above two commands.
If this gets your cdrom and dvd working as they should be, I would then, go back to your fstab file, and remove the "duplicate" entry that we commented out above. I prefer to test by commenting out something, and not just "out right" deleting something. That way, if something goes "funny", you can always go back and un-comment out, if need be.
So, after this, you should have the following symlinks:
/dev/sr0 -> scd0
/dev/sr2 -> scd2
/dev/dvd -> sr2
/dev/cdrom -> sr0
/dev/cdrom1 -> unsure of this device, and can't guess to where it should go...
/dev/cdaudio -> unsure of this device, and can't guess to where it should go...
As far as the device to mount points go, this will be the outcome:
/dev/dvd has a mount point of /dvd
/dev/cdrom has a mount point of /cdrom
/dev/cdrom1 has a mount point of /cdrom1
and lastly
/dev/cdaudio has a mount point of /cdaudio
Hopefully, this is a little more descriptive of your devices, and the folders where, when these devices are mounted, all make sense, and the symbolic links have nice descriptive names for the devices, instead of having to deal with sr#'s or scd#'s - 
Hope this helps,
Ms. Cuddles