Saturday, October 11, 2008

Invalid Mount Options Error When Mounting External Hard Drive in Ubuntu Linux

Being a recent convert to Ubuntu Linux, I ran into a problem that others may have experienced. When I plugged in my usb external hard drive I received an Invalid Mount Options error. I found a lot of information on the forums, but nothing was working. However, I discovered that Ubuntu was basically attempting to mount my FAT32 external hard drive as a CD-ROM. In order to fix this problem you need to edit /etc/fstab and comment out the line below by putting a # at the beginning of the line:
/dev/sdb1       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
The line should look like this after the edit:
#/dev/sdb1       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
After this change, voila, the drive mounts as desired.

2 comments:

suman said...

Thanks a lot for your post..it helped me in resoling similar problem.

Michael said...

No problems. I actually post a bunch of stuff on here that I know I'm going to need later and forget about where I put it. ;-)

© 2010 Confessions of a Java Programmer, All Rights Reserved