You are not logged in.

#1 2015-03-07 01:54:34

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

[solved] Invalid or incomplete multibyte or wide character

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 character

I'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-8

My locale.conf:

cat /etc/locale.conf 
LANG=en_CA.UTF-8
#LANG=en_US.UTF-8

localctl 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
POSIX

I 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-8

During 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

#2 2015-03-07 03:03:27

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [solved] Invalid or incomplete multibyte or wide character

What is the ouptut of `type mount`?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-03-07 18:16:31

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: [solved] Invalid or incomplete multibyte or wide character

jasonwryan wrote:

What is the ouptut of `type mount`?

Thank you for replying.  smile  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

#4 2015-03-07 18:37:20

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [solved] Invalid or incomplete multibyte or wide character

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`


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2015-03-07 18:40:34

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: [solved] Invalid or incomplete multibyte or wide character

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. tongue

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

Board footer

Powered by FluxBB