> Kirk_Von_Rockstein wrote:
>
>> Post the outputs of following commands. (run from terminal/console)
>>
>> cat /etc/fstab | grep sr
>>
>> ls -al /dev | grep sr
>>
>> sudo hdparm -I /dev/sr[0,1]
>
> 1. This returned nothing:
> cat /etc/fstab | grep sr
>
>
http://i65.tinypic.com/v8fqti.jpg
Ok, that is a problem. Add the line below to the /etc/fstab file
/dev/sr0 /mnt/cdrom auto ro,user,noauto,unhide 0 0
with a text editor (copy/paste)or run the below command in a terminal/console:
(no wrap, First command adds a new line to end of file. The second command
below adds the text between the double quotes to the end of file.)
sudo echo "" >> /etc/fstab
sudo echo "/dev/sr0 /mnt/cdrom auto ro,user,noauto,unhide 0 0" >> /etc/fstab
> 2. This returned a "cdrom":
> root@henry:~# cat /etc/fstab | grep sr
> root@henry:~# ls -al /dev | grep sr
> lrwxrwxrwx 1 root root 3 Jun 25 14:45 cdrom -> sr0
> srw-rw-rw- 1 root root 0 Jun 25 2016 log
> brw-rw----+ 1 root cdrom 11, 0 Jun 25 14:45 sr0
You may want to add sym links to /dev/sr0 for cdrw,dvd,dvdrw
also. You can do so via a terminal/console running below commands:
sudo ln -s /dev/sr0 /dev/cdrw
sudo ln -s /dev/sr0 /dev/dvd
sudo ln -s /dev/sr0 /dev/dvdrw
You would add the above lines to the bottom of
the /etc/init.d/bootmisc.sh file to have the sym lnks created
each time you boot, since they are not being created via
the current methods.
You could add the command lines to the file by running below
commands in a terminal/console like so:
sudo echo "" >> /etc/init.d/bootmisc.sh
(above command adds a new line to the file, so that following
line created via first below command
is not appended to an existing last line, if no new line aready
follows the existing last line in file)
sudo echo "ln -s /dev/sr0 /dev/cdrw" >> /etc/init.d/bootmisc.sh
sudo echo "ln -s /dev/sr0 /dev/dvd" >> /etc/init.d/bootmisc.sh
sudo echo "ln -s /dev/sr0 /dev/dvdrw" >> /etc/init.d/bootmisc.sh
After completing the steps above, the output of
ls -al /dev | grep sr
should look similar to below example output.
root@aptosid-shuttle:/home/kirk# ls -al /dev | grep sr
lrwxrwxrwx 1 root root 3 Jun 26 06:48 cdrom -> sr0
lrwxrwxrwx 1 root root 3 Jun 26 06:48 cdrw -> sr0
lrwxrwxrwx 1 root root 3 Jun 26 06:48 dvd -> sr0
lrwxrwxrwx 1 root root 3 Jun 26 06:48 dvdrw -> sr0
brw-rw----+ 1 root cdrom 11, 0 Jun 26 06:48 sr0
Make sure the mount points exist in /mnt
You can create them with the following command:
sudo mkdir -p /mnt/cdrom;mkdir -p /mnt/cdrw;mkdir -p /mnt/dvd;mkdir -p /mnt/dvdrw
(watch wrap)
After all the above is completed, you then would need to run:
sudo mount -a
from terminal/console.
Note that Ubuntu/Mint may use /media for mounting optical devices.
In that case you would need to replace /mnt in all examples/commands
above with /media if you wanted to follow their conventions.
<snip>