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:
bc. /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.

Previous Post

2 Comments

  1. hdh

     /  2008-06-28

    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.

  2. 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”:https://bugs.launchpad.net/ubuntu/+bug/243623