Error on mounting USB drive
, 15 Jul, 2014
For some mysterious reason Ubuntu did not want to mount my USB flash drive which has a boot flag and an ISO 9660 filesystem (containing the official bootable Ubuntu USB stick image).
mount: wrong fs type, bad option, bad superblock on /dev/sr0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so
The problem disappeared when I instructed
mount to use its automatic detection mode instead of the explicit decleration of the file system—which is Ubuntu’s default behavior though. So the pen drive mounted flawlessly with:
sudo mount -t auto "/dev/sdb1" "$MOUNTING_DIRECTORY"
(Do not forget to adjust the device path and the mounting destination.)