You are not logged in.
I'm trying to mount partitions and USB keys but I'm running into the error in the subject line. When I attempt to mount any device or partition on the hard drive I get this error:
:root:~: mount /dev/sdg1 /media/keys/black
column: read failed: Invalid or incomplete multibyte or wide characterI've searched for an answer to why this error comes up and the only answer I've seen that seems to work is to fix your LOCALE settings. In my case, however, heeding that advice has not fixed the issue. As you can see in the code below my locale settings, I think, are correct.
My locale settings:
echo $LANG
en_CA.UTF-8My locale.conf:
cat /etc/locale.conf
LANG=en_CA.UTF-8
#LANG=en_US.UTF-8localctl list-locales:
localectl list-locales
en_CA.utf8 locale itself:
locale
LANG=en_CA.UTF-8
LC_CTYPE="en_CA.UTF-8"
LC_NUMERIC="en_CA.UTF-8"
LC_TIME="en_CA.UTF-8"
LC_COLLATE="en_CA.UTF-8"
LC_MONETARY="en_CA.UTF-8"
LC_MESSAGES="en_CA.UTF-8"
LC_PAPER="en_CA.UTF-8"
LC_NAME="en_CA.UTF-8"
LC_ADDRESS="en_CA.UTF-8"
LC_TELEPHONE="en_CA.UTF-8"
LC_MEASUREMENT="en_CA.UTF-8"
LC_IDENTIFICATION="en_CA.UTF-8"
LC_ALL=locale -a:
locale -a
C
en_CA.utf8
POSIXI don't know what the expected result of running "echo $LC_CTYPE" is but my system just prints a blank line after running that command. As per the beginner's guide I also exported my locale with:
export LANG=en_CA.UTF-8During my experimentation I did manage to get my keys to mount right after I set my locale.conf & locale.gen files, ran "locale-gen" and then exported the locale itself. However, after trying to reproduce this result, by repeating those steps, I have not yet had success in being able to mount my partitions or usb keys.
What am I doing wrong here or what am I missing?
Thank you,
MS
Last edited by MoonSwan (2015-03-07 18:41:11)
Offline
What is the ouptut of `type mount`?
Offline
What is the ouptut of `type mount`?
Thank you for replying.
My output to your question is:
:root:~: type mount
mount is aliased to `mount | column -t'For giggles I tried to mount a usb key after cold booting my machine but, alas, I get the same error as before.
Offline
So that's why it is breaking; if you want to keep the alias, you will need to use `/usr/bin/mount /dev/sdg1 /media/yourmountpoint`
Offline
Oh! Hm, I made that alias and forgot about it. I wanted to just show all mounts at once while on the command line. I didn't realise it would "break" the mount command. Thank you! I'd kiss you but I doubt your wife would approve. ![]()
Edit: sorry for the last line, I hadn't thought through what I typed.
Last edited by MoonSwan (2015-03-07 18:47:26)
Offline