Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 699

Problems mounting CD/DVD

$
0
0

I'm facing issues when using by very first time my CD/DVD drive in Linux.

Back when I had Linux, it worked normal, CD/DVD rw, but since I didn't use it much, I just removed it from the laptop (you know, I have a HP Pavilion dv4, those ones you can remove safely the CD/DVD unit from, and place a protector instead, to decrease weight). I just connected it again when I needed to use it, and it was ok.

Couple of months ago I started using Linux, first Ubuntu 12.04, and then I'm in ElementaryOS Luna (Ubuntu based), and no problems at all, except for today, that I needed to use my unit and it didn't work. (Need to say here, I installed both versions, Unity and eOS w/out the unit in place, so I guess that messed up some configuration files from the very start)

I have done some research, and some useful info is here, (note: during all the terminal commands, THERE WAS a CD in the unit)

I guess this one is to look up for drives?

~$ wodim --deviceswodim: Overview of accessible drives (1 found) :------------------------------------------------------------------------- 0  dev='/dev/sg1'  rwrw-- : 'hp''BD ROM BC-5501S'-------------------------------------------------------------------------~$ mount '/dev/sg1'mount: can't find /dev/sg1 in /etc/fstab or /etc/mtab

here the /dev dircdrom, cdrw, dcd and dvdrw, and some others, are in pink, is that normal?

~$ls /devautofs           mcelog              sda2      tty30  tty63      ttyS9block            mem                 sda5      tty31  tty7       uinputbsg              net                 sg0       tty32  tty8       urandombtrfs-control    network_latency     sg1       tty33  tty9       usbmon0bus              network_throughput  shm       tty34  ttyprintk  usbmon1cdrom            null                snapshot  tty35  ttyS0      usbmon2cdrw             nvidia0             snd       tty36  ttyS1      usbmon3char             nvidiactl           sr0       tty37  ttyS10     usbmon4console          oldmem              stderr    tty38  ttyS11     usbmon5core             port                stdin     tty39  ttyS12     usbmon6cpu              ppp                 stdout    tty4   ttyS13     usbmon7cpu_dma_latency  psaux               tty       tty40  ttyS14     v4ldisk             ptmx                tty0      tty41  ttyS15     vcsdvd              pts                 tty1      tty42  ttyS16     vcs1dvdrw            ram0                tty10     tty43  ttyS17     vcs2ecryptfs         ram1                tty11     tty44  ttyS18     vcs3fd               ram10               tty12     tty45  ttyS19     vcs4freefall         ram11               tty13     tty46  ttyS2      vcs5full             ram12               tty14     tty47  ttyS20     vcs6fuse             ram13               tty15     tty48  ttyS21     vcs7hidraw0          ram14               tty16     tty49  ttyS22     vcsahpet             ram15               tty17     tty5   ttyS23     vcsa1input            ram2                tty18     tty50  ttyS24     vcsa2kmsg             ram3                tty19     tty51  ttyS25     vcsa3lirc0            ram4                tty2      tty52  ttyS26     vcsa4log              ram5                tty20     tty53  ttyS27     vcsa5loop0            ram6                tty21     tty54  ttyS28     vcsa6loop1            ram7                tty22     tty55  ttyS29     vcsa7loop2            ram8                tty23     tty56  ttyS3      vga_arbiterloop3            ram9                tty24     tty57  ttyS30     video0loop4            random              tty25     tty58  ttyS31     zeroloop5            rfkill              tty26     tty59  ttyS4loop6            rtc                 tty27     tty6   ttyS5loop7            rtc0                tty28     tty60  ttyS6loop-control     sda                 tty29     tty61  ttyS7mapper           sda1                tty3      tty62  ttyS8

Trying to mount manually

~$ sudo mkdir /mnt/dvdrw~$ sudo mount /dev/dvdrw /mnt/dvdrwmount: /dev/sr0 already mounted or /mnt/dvdrw busy~$ man mount~$ sudo mkdir /mnt/dvd~$ sudo mount /dev/dvd /mnt/dvdmount: no medium found on /dev/sr0~$ sudo mkdir /mnt/cdrom~$ sudo mount /dev/cdrom /mnt/cdrommount: no medium found on /dev/sr0~$ sudo mkdir /mnt/cdrw~$ sudo mount /dev/cdrw /mnt/cdrwmount: no medium found on /dev/sr0

blkid

~$ sudo blkid/dev/sda1: UUID="e6ef2898-5744-44bc-a9da-65d32f3bab1d" TYPE="ext4"/dev/sda5: UUID="c953e0d7-fe23-4514-a579-de52a0be47a6" TYPE="swap"

... and lshw

~$ sudo lshwPCI (sysfs)  ...LOTS OF INFO...           *-cdrom                description: DVD-RAM writer                product: BD ROM BC-5501S                vendor: hp                physical id: 1                bus info: scsi@1:0.0.0                logical name: /dev/cdrom                logical name: /dev/cdrw                logical name: /dev/dvd                logical name: /dev/dvdrw                logical name: /dev/sr0                version: 1.86                capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram                configuration: ansiversion=5 status=nodisc...MORE INFO...

Here an important file I didn't know about, fstab

~$ cat /etc/fstab# /etc/fstab: static file system information.## Use 'blkid' 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    nodev,noexec,nosuid 0       0# / was on /dev/sda1 during installationUUID=e6ef2898-5744-44bc-a9da-65d32f3bab1d /               ext4    errors=remount-ro 0       1# swap was on /dev/sda5 during installationUUID=c953e0d7-fe23-4514-a579-de52a0be47a6 none            swap    sw              0       0

and trying again to mount manually...

~$ sudo mount /media/cdrom0/ -o unhidemount: can't find /media/cdrom0/ in /etc/fstab or /etc/mtab~$ sudo mount /dev/cdrom /media/cdrommount: mount point /media/cdrom does not exist~$ sudo mount /dev/cd /media/cdrommount: mount point /media/cdrom does not exist~$ sudo mount /dev/cdrw /media/cdrommount: mount point /media/cdrom does not exist~$ sudo mount /dev/dvd /media/cdrommount: mount point /media/cdrom does not exist~$ sudo mount /dev/dvdrw /media/cdrommount: mount point /media/cdrom does not exist~$ sudo mount /dev/sr0 /media/cdrommount: mount point /media/cdrom does not exist

Any help to get my unit mount correctly CD/DVD? Thanks in advance.


Viewing all articles
Browse latest Browse all 699

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>