X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;h=487f3159d2c8f44414458e965132dd9023fb15e4;hp=ce2288207c85f7128f522425aaa7ff37adaf12cd;hb=d865dac780a810685df28850f7da8416be364d88;hpb=53db55285b887a61a8eec04b19c569a0836c2274 diff --git a/grml2usb b/grml2usb index ce22882..487f315 100755 --- a/grml2usb +++ b/grml2usb @@ -1714,11 +1714,15 @@ def handle_iso(iso, device): register_tmpfile(device_mountpoint) remove_device_mountpoint = True try: - mount(device, device_mountpoint, "") + check_for_fat(device) + mount(device, device_mountpoint, ['-o', 'utf8,iocharset=iso8859-1']) except CriticalException, error: - logging.critical("Fatal: %s", error) - cleanup() - sys.exit(1) + try: + mount(device, device_mountpoint, "") + except CriticalException, error: + logging.critical("Fatal: %s", error) + cleanup() + sys.exit(1) try: try: