DVD drive fails to stay mounted.

Asked by DeusExM1

Hey everyone,

My computer is unable to use the dvd drive. If i double click it, it says;

  unable to mount mount location
  cant mount file

So to solve this i tried mounting the drive which seems to have worked. I typed in "-sudo mount /dev/cdrw", and the drive mounts. I can then do pretty much anything with it.

My question is: How do i make it STAY mounted? Every time i restart my computer my DVD drive is useless. I need to manually mount it over and over again. Isnt there a way to just KEEP it mounted forever?

Dom

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
DeusExM1
Solved:
Last query:
Last reply:
Revision history for this message
Robert Di Gioia (digioiar) said :
#1

Look in /etc/fstab, and see if the line for your drive has noauto as one of the options. If so, this prevents the drive from mounting at boot time (or if you issue mount -a). Removing this option should make it mount at boot. Be careful if you edit this file, you may want to do these two commands before you do anything else (first one makes a backup copy in your home directory, second is the manpage)

cp /etc/fstab ~
man fstab

Hope this helps.

Revision history for this message
DeusExM1 (beartrapinc) said :
#2

my fstab file reads :

# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=abf4bc5a-6a51-4ef1-86e4-bfaac604506d / ext3 relatime,errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=d4279fea-afb2-4ee5-87b0-9a2951a2b1ff none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

Im not entirely sure how i should modify this file. I dont see no auto here.

Dom

Revision history for this message
Robert Di Gioia (digioiar) said :
#3

The last line is your cd drive, reproduced below

/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0

change it to

/dev/scd0 /media/cdrom0 udf,iso9660 user,exec,utf8 0 0

Revision history for this message
DeusExM1 (beartrapinc) said :
#4

Wow i think i need glasses or something. I cant believe i didnt see it ! thanks a ton !

Revision history for this message
alfaroce (alfaroce) said :
#5

hello i am new to ubuntu so i am trying it for the first time can any walk me to how to mount dvd-rw dont know where do i get this /etc/fstab