DIGIT-ARC read-only archive · snapshot: July 23, 2026

how to make DVD to mount automatically ???

6 posts · originally from https://geek.digit.in/community/threads/how-to-make-dvd-to-mount-automatically.36015/

thilina
thilina Original post #1
Sep 9, 2006 at 2:47 PM
I have a dvd rom.when I insert a dvd to it in windows the DVD works fine.But in ubuntu it is mounted as a blank DVD .I cant use it in any way.I cant use it to watch movies,to get data or anything.But in windows all goes well.
I found a command from ubuntu start guide to mount cd's manually.It is "sudo mount /media/cdrom0/ -o unhide" .When I input this command in terminal it gives this message "mount: block device /dev/hdb is write-protected, mounting read-only" .But the DVD gets mounted succesfully.So my question is this.Cant I set the DVD's to be mounted automatically after I insert them,rather than doing this typing in terminal??
M
Sep 9, 2006 at 5:58 PM
Have you tried passing these parameters in /etc/fstab?
Besides, if you do not want to see the 'mounting read only' message, pass ro also to options in fstab.
thilina
thilina #3
Sep 9, 2006 at 9:13 PM
I am new to linux.Ill be glad if you explain me briefly plz
drsethi
drsethi #4
Sep 9, 2006 at 9:29 PM
You cannot automount Cd or DVD in Linux. This is a security feature of Linux.
M
Sep 9, 2006 at 9:49 PM
Sorry drsethi, but it is possible to automount any media. Of course it is disabled by default and with a good reason. But, it is surely possible to enable it.
These links should help you understand more

  • *www.tuxfiles.org/linuxhelp/fstab.html
    *en.wikipedia.org/wiki/Fstab
    *www.humbug.org.au/talks/fstab/fstab.html
Open fstab file by the command
Code:
sudo nano /etc/fstab
Make the necessary changes and save it.
Then run this command
Code:
sudo mount -a
Also, read man page for more
Code:
man fstab
thilina
thilina #6
Sep 9, 2006 at 9:54 PM
But the CD's get auto mounted ???
__________
Ill chk the links
(I still dont understand anything !!)