Monday, August 13, 2007

Error mounting UDF DVD in linux

Today while working on linux i stumbled on an interesting problem. The problem was that whenever i put my DVD which was in UDF format into the drive linux simply wouldn't mount it. It reported the following error:

Unable to mount the selected volume. The volume is probably in a format that cannot be mounted

mount: block device /dev/hdc is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
missing codepage or other error
in some cases useful info is found in syslog - try
dmesg | tail or so
upone doing "dmesg | tail" i got the error "Unable to identify CD-ROM format". This surely was impossible as the linux kernel comes with udf support built-in. This lead me to believe that the problem lay somewhere else. After a lot of hits and misses i found out that the problem lay in the "/etc/fstab" file.
It previously contained the line:
/dev/hdc /media/cdrom0 udf,iso9660 users,noauto 0 0

upon changing this line to
/dev/hdc /media/cdrom0 auto users,noauto 0 0

everything started working great.

1 Comment:

Unknown said...

I am new to linux. i loaded ubuntu because i lost my xp os. the most important thing to do aftet that was to enable my belkin usb adaptor for internet access. so i got some info and loaded the gz file from ralinktech. hten i got the udf mount error the ubuntu os. i saw your fix and pulled up the fstab file. it loaded nicely fo edit, but on saving i did not have the user athorization. any help? also will unbuntu handle this gz file automaticall? my email is dhand27@yahoo.com. i am starting to feel i will have to pay for an ax os. thanks