Mount usb-cdrom

hi, i traying mount a usb-cdrom but isn´t posible, i try put in the terminal this: lsblk, mount /dev/sr0 /mnt/cdrom, etc.... i can´t mount.

the terminal print this message: mount: /dev/sr0: fsconfig system call failed: /usr/bin/mnt: Can’t lookup blockdev. help me please?, thanks so much

What if you try it with sudo? :point_down:

sudo mount -t auto /dev/sr0 /mnt/cdrom

Beware that the directory /mnt/cdrom must exist. If not, then you must create it first before attempting to mount anything there… :point_down:

sudo mkdir /mnt/cdrom
2 Likes

this :point_up_2:

Or maybe it is not actually /dev/sr0 ?

→ in terminal run:
journalctl -f

and then plug in the device - watch what gets printed

and, of course, you need to use sudo to mount the device

and another and:
what is in the drive needs to be a mountable file system - not a music cd

2 Likes

There used to be a virtual filesystem driver for that, but I forgot what it was called — cdfs, maybe? :thinking: — and I don’t know whether it’s still being maintained. This was during the 2.4/2.6 kernel era. :wink:

Either way, if it’s an audio CD, then dolphin can mount it if you have audiocd-kio installed. It’ll display the tracks as .wav files, and will treat them as such upon copying. :wink:

1 Like

cdfs is correct (or, it used to be). It is a kernel module; though I recall it suffered a lot from inattention for a long time.

I recall it was updated sometime in the mid-00’s to work with kernel 2.6.x, but now it’s working so seamlessly (in general terms) that I haven’t needed to play with it for many years.

1 Like

Unplug the device then

udevadm monitor

Plug the device - the last line will provide the block device assigned - example

the dots is my shortening of the output

UDEV  [7925.725858] change   /devices/...../block/sr0 (block)

If the device is the only - then it will be aliased as /dev/cdrom

1 Like

si, con sudo y si existe

en windows si lo detecta y lo monta, tengo que montarlo con un cd con una .iso?

You cannot mount a drive with nothing in it (an empty drive - no medium in it …)

If it is an audio CD, you may be able to have it show the tracks on it - audio players will be able to play it back in any case.
Reason: an audio CD does not have a file system - cdfs or whatever … will only make it look like that.

… there is also a difference between a CD with an .iso file on it
and a CD to which that .iso file has been written so that the contents of that file will appear when you mount it.

What does all that have to do with Windows?

1 Like

You might also need to take ownership of the mountpoint to access the contents e.g.:

sudo chown $USER:$USER /mnt/cdrom
1 Like

Please post in English in this section of the forum. If you prefer posting in Spanish, then please use the Español category.


That should not be necessary. The default umask for the root account is (and should remain) 0022, which means that the default permissions for any root-owned directory would be 0755, which in turn yields read and traverse access to all users. See… :point_down:

1 Like

I had to do it in the past though, but this was years ago.

Then that would probably have been because of an incorrect umask for the root account. :wink:

1 Like

I have a usb dvd drive. I didn’t do anything to install it. When I load a disc, I get a notification to mount. I can then open Dolphin, any media player etc. So I have to ask, have you tried to do this in the GUI?

2 Likes