Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Somewhere along the line, LinuxMint has lost the ability to mount my CD/DVD drive. I've burned ISOs on this machine in recent memory, but I went to burn one today and it could detect but not mount my drive.
After doing a lot of searches on this subject, I tried this:
zaivala@zaivala-Inspiron-518:~ > sudo mount -t iso9660 /dev/scd0 /media/cdrom
[sudo] password for zaivala:
mount: mount point /media/cdrom does not exist
zaivala@zaivala-Inspiron-518:~ >
When I put a blank disk in my drive, the computer detects this fact and tells me to click to mount the drive, but the drive does not mount.
Any ideas what now?
I'm running a Dell Inspiron 518 00, 4 GB RAM, and am running LinuxMint 17.1 Rebecca 32-bit with KDE.
In order to mount a CD/DVD it must have a file system on the CD/DVD. Therefore a blank CD/DVD is not mountable. The way that you burn a CD/DVD is to start the burn program and then insert a blank CD/DVD when the burn program asks you to.
mount -t iso9660 /dev/scd0 /media/cdrom
....
mount: mount point /media/cdrom does not exist
If LinuxMint uses /media, or directories under that, as a mount point for it's auto mounts, I would use another mount point for manual mounting. You can make your own by creating as root something like:
/mounts/cdrom
and then mount your cdrom to that point. Nothing else will use it or know about it. The "does not exist" output may mean that the directory is not there. Mount points under /media may be tmpfs filesystems which means they don't persist over boots and only get created when needed. This contrasts with making your own mount point whose persistence and location in the filesystem you can pretty much fully control.
not sure if this applies to your situation but i know on debian (which linuxmint is based on) theres an automount feature which is a default app thats called disks that will allow you to automount.
Because I'm stupid, I'm not thinking what command to use to run fstab to get this. I definitely have fstab, and it's definitely in my /etc directory, but the stupid things I'm trying are not resulting in a listing.
Does it play music/video cd's/dvd's ok? If yes, put one in and see where it mounts it with:
Fred.
Some gaps in that, but yes, it plays CDs and DVDs fine. Where it mounts it with? Not precise enough English for my morning parser.
I started this with the idea that the problem was with K3b, and it still may be. The computer reports the blank DVD's existence, but K3b doesn't register it. The stupidest thing would be that I only had a CD/DVD-R, but no, the computer reports it as a DVD +/-.
I have new information. What may be happening is that D3B detects that the file is too large for the medium. How sad. "Capacity exceeded by 178.4 MiB." I don't know why, as the download was supposedly created for the express purpose of being a multiple live CD.
So the problem is not with my computer, drive, or OS, but with the downloaded file being too large.
Just FYI, the file is the latest linuxaio-ubuntu14043-mix.iso
Edit: ah, yes, I've had that happen. CDs come in different sizes, I believe. There may be a netinst option available, assuming you'll have an ethernet connection available when you're doing the install.
To get your fstab run:
Code:
sudo cat /etc/fstab
To get your currently mounted drives just run
Code:
sudo mount
If you can play music then the drive is definitely mounted, it's just a matter of making sure k3b can find it, and that the blank disk doesn't have any scratches, etc. I haven't used k3b but from googling there is a setting that looks like this:
Readonly Devices: none
Writer Devices: none
Do you see that settings? If so, tell us what they are set to, and the results of:
Code:
sudo ls -l /media
sudo cat /etc/fstab
ls -1 /dev | grep ^[^t]
Last edited by crazy-yiuf; 11-28-2015 at 11:49 AM.
zaivala@zaivala-Inspiron-518:~ > sudo ls -l /media
total 4
drwxr-x---+ 5 root root 4096 Nov 29 00:09 zaivala
zaivala@zaivala-Inspiron-518:~ >
zaivala@zaivala-Inspiron-518:~ > sudo cat /etc/fstab
[sudo] password for zaivala:
# /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>
# / was on /dev/sda1 during installation
UUID=d1bec1bd-7a15-4f9b-886b-ded74e2bc71e / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=152c2903-d386-4b62-a05a-564ba26a867d none swap sw 0 0
zaivala@zaivala-Inspiron-518:~ >
Ah, sorry, I had posted that before I saw your other post. I left it there just in case you were still curious, since the device does seem to be mounting. There's nothing you can do other than use a smaller file or a bigger storage medium.
The interesting bits, if you were still having problems mounting, is that your cd drive is named /dev/sr0, that your fstab isn't set up to mount it the usual way (or at least the way I'm used to), and that it's not mounted to the usual spot.
Last edited by crazy-yiuf; 11-29-2015 at 12:59 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.