Note to self about mounting problems

This is just a small note to my future self, for the next time I encounter seemingly random invalid mount operations, or other mount failures in Ubuntu (Hardy Heron, in this case), for phone cards, usb drives et al. Remove the following line from /etc/fstab:

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

For what it’s worth, I have to do this because I have no optical drive in my laptop, and this line seems to be added, regardless of the presence of such a drive.

Comments

Comment from hdh on 2008-06-28 02:02

Could you try mounting the main disk by UUIDs instead of /dev/sda? I remember reading that someone’s SD card got assigned as /dev/sda when inserted at boot time.

UUID is great when I plug my hdd into other computers too.

Comment from Arve on 2008-06-28 07:50

hdh: The problem here is not at all the main disk (which is mounted using a UUID), but any removable drives or memory cards connected to the computer, as Ubuntu tries to mount them as if they were a CDROM, regardless of what they actually are. See Bug #243623

This discussion has been closed. No further comments may be added.