PDA

View Full Version : How to browse CD/DVD


hailgautam
07-03-2007, 12:46 PM
I have set the correct Screen Resolution, Configured Wifi and Mobile Internet. Can read/write from NTFS partitions and also vice versa from XP - read write the ETX3 partitions. Installed Beryl and running it with out crashing it at all :D. ALL With the help from this forum. :D

Only problem is now remaining - I am not able to browse any CD/DVD. However, other Linux Distribution CDs/DVDs get mounted automatically and I can browse them. It also recognizes the OpenSuse DVD (PCW) - can't browse it though. My previous attempts were all disasters with my system some problem or other...:(

My system is a Dell Inspiron 6400, it has a Philips 24x CD-RW/DVD-Rom Combo. I am on OpenSuse 10.2. Can some one give me a step by step tutorial so that I can configure to mount all types of CD/DVDs like the Mp3s and DVDs containing *.avi files and Digit Magazine CD/DVD.

Thanx a lot in Anticipation.....coz i know i will get the solution.:p

The Unknown
07-03-2007, 12:54 PM
Buddy explain more clearly.

hailgautam
07-03-2007, 01:00 PM
If I put a CD/DVD nothing happens, I can't see a CD or DVD - it does not get mounted - and therefore can't browse it. Some CDs get mounted and can be browsed like the Ubutntu 6.10 CD, but other CD/DVDs like those of Digit Magazine CD/DVDs are not to be seen anywhere..

Am I clear now or is there anything you want to know?

The Unknown
07-03-2007, 01:06 PM
Digit CD\'s are designed for WINDOWS ONLY. IT SEEMS THAT YOU DO NOT READ THE LICENSE AGREEMENT WHICH APPEARS WHEN U INSERT THE CD.
__________
If i does not mount, try mounting it in the terminal. I do not remeber the command since it has been years since i stopped using linux but i am going to start again on 17 th March 07. On that day, i am going to uninstall windows completeley. Wait for some linux guru\'s like Mehul to come.

mehulved
07-03-2007, 01:47 PM
See if this command works
su
mkdir /media/DVD
mount -t auto /dev/hdd /media/DVD
Replace hdd with whatever is the device name of the drive. I feel the problem is that cd/dvd's are scratched hence not readable. Or else HAL should mount it automatically.

hailgautam
07-03-2007, 02:07 PM
how do i know the device name?

mehulved
07-03-2007, 02:14 PM
sudo fdisk -l

hailgautam
07-03-2007, 07:53 PM
It works, but not i an not able to remove the dvd, it says "You are not privileged to eject this volume." Another question is it a permanent solution, that is would i be able to browse any dvd/cd with executing this code or will i have to do it every time...

blackpearl
07-03-2007, 10:30 PM
type


sudo gedit /etc/fstab


Then add these lines in the fstab file


dev/DVDrom /media/DVD auto defaults 0 0


Replace DVDrom with the correct DVD drive device name

I hope I got it right. :)

hailgautam
07-03-2007, 11:52 PM
still i am not able to eject cd/dvd from the drive.

praka123
08-03-2007, 04:50 AM
Do post ur /etc/fstab entry.
the block device files for the DVD/CD drive are most prolly something like hdx,where x will be a,b,c etc..
if u have an ide hdd,then ur DVD drive will be /dev/hdb and if ur hdd is SATA,then DVD drive will be /dev/hda.inspect /dev/ directory for such a file and proceed.
You can check using below command:
~# ls -l /dev/ |grep hd*
first make sure u have a directory as follows;or mkdir One.
~#mkdir /media/cdrom0 nano is an easy-to-use editor from command line.edit /etc/fstab.append this entry at bottom.
~#nano -w /etc/fstab
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
Save the file.
Now it will mount DVDs/CDs automatically.

Regarding local user not able to mount,you can make the group "cdrom",local users supplimentary or secondary group using "usermod -G" command.but as you use Suse,there must be some gui tools for GNOME or kde allowing user to do these things.some distros facilitate that if ur a member of "wheel" can execute all this.

In Linux,CD/DVDs are ejected by right clicking and selecting eject or umount option.
But In My Debian and Ubuntu,Thanks to HAL (http://en.wikipedia.org/wiki/HAL_%28software%29) & co,by pressing the CD/DVD drive eject button also ejects the CD/DVD.suse also may have such an option

hailgautam
08-03-2007, 11:13 AM
1. The Name of my CDRW/DVDROM combo is dev/sr0
2. I realized that I did not have any problems with CD ROM Disks, they automatically get mount and I can eject them by pressing the eject button, and also can browse the contents. The problem is with DVDs only.

3. I already have a folder which I created on advise from T_Y_F - and I have to manually mount the DVDs to browse. But he did not tell me how to unmount it :D, so not able to eject the drive :D:D
/media/DVD <====The folder
mount -t auto /dev/sr0 /media/DVD <---------Code to Mount dvds

4. the following is the extract from /etc/fstab
/dev/sda7 / ext3 acl,user_xattr 1 1
/dev/sda8 /home ext3 acl,user_xattr 1 2
/dev/sda2 /windows/C ntfs-3g rw,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sda5 /windows/D ntfs-3g rw,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sda6 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
dev/sr0 /media/DVD auto defaults 0 0
The last line i had inserted as advised by blackperl...

So what I do now?

mehulved
08-03-2007, 11:21 AM
Change defaults to ro, user, auto
And to unmount use the command umount, notice the absence of n after u.

blackpearl
08-03-2007, 11:23 AM
Replace the term "default" in the 4th column of the last line (i.e. the DVD line) with:

If its a DVD ROM

ro,auto,user,exec


If its a DVD Writer

rw,auto,user,exec


Also the first term of the last line is "/dev/sr0" not "dev/sr0"
Notice the "/"

freebird
08-03-2007, 12:00 PM
nice.you got the soltn

hailgautam
08-03-2007, 12:04 PM
thanks T_Y_F and Blackpearl, praka123 it is now working all right, seems I am reping you guys a lot, so the system is not allowing me to do it again :(

Thanks again:)