Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
switching to utf8 font leads to text corruption
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Codeblues
n00b
n00b


Joined: 28 May 2008
Posts: 26
Location: Chicago, Illinois

PostPosted: Thu Jun 12, 2008 8:14 pm    Post subject: switching to utf8 font leads to text corruption Reply with quote

When gentoo boots it seems to use the default font. When it gets to the point where it switches to utf8 and uses the terminus font, everything on screen that came before becomes unreadable as if it has the wrong encoding. Is this normal or did I set up something wrong? I followed the official gentoo guide for unicode.
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Sat Jun 14, 2008 1:09 am    Post subject: Reply with quote

Look at your /etc/rc.conf
Code:
# Set unicode to YES to turn on unicode support for keyboards and screens.
unicode="YES"
Back to top
View user's profile Send private message
Codeblues
n00b
n00b


Joined: 28 May 2008
Posts: 26
Location: Chicago, Illinois

PostPosted: Sat Jun 14, 2008 3:01 am    Post subject: Reply with quote

my /etc/rc.conf says
Code:
UNICODE="yes"

my /etc/conf.d/consolefont says
Code:
CONSOLEFONT="ter-v14b"

Do I need to uncomment the line that says CONSOLETRANSLATION="8859-1_to_uni"?
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Sat Jun 14, 2008 4:23 am    Post subject: Reply with quote

Couldn't hurt to try it.

I have
Code:
CONSOLEFONT="ter-v16n"
CONSOLETRANSLATION="8859-1_to_uni"

in mine.
Back to top
View user's profile Send private message
Codeblues
n00b
n00b


Joined: 28 May 2008
Posts: 26
Location: Chicago, Illinois

PostPosted: Sun Jun 15, 2008 10:59 pm    Post subject: Reply with quote

Doesn't work. Everything that came before switching to utf8 and the new font still gets scrambled.
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Mon Jun 16, 2008 12:07 am    Post subject: Reply with quote

If you used an initrd (initramfs) image with your kernel, you'll need to rebuild it before these changes will take effect to the initially displayed text. I think... :lol:
Back to top
View user's profile Send private message
Codeblues
n00b
n00b


Joined: 28 May 2008
Posts: 26
Location: Chicago, Illinois

PostPosted: Mon Jun 16, 2008 4:38 am    Post subject: Reply with quote

Where exactly do I find that out?
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Mon Jun 16, 2008 4:48 am    Post subject: Reply with quote

Does your /boot/grub/grub.conf file have an "initrd" option in it after your "kernel" option?
Back to top
View user's profile Send private message
Codeblues
n00b
n00b


Joined: 28 May 2008
Posts: 26
Location: Chicago, Illinois

PostPosted: Mon Jun 16, 2008 4:57 am    Post subject: Reply with quote

No it does not. I actually have a problem loading the rescue option which has the initrd=/bin/bb kernel option. I just haven't gotten around to it yet. I'm not sure what to do about that.
Back to top
View user's profile Send private message
ABCDwp
Retired Dev
Retired Dev


Joined: 26 Mar 2006
Posts: 79

PostPosted: Mon Jun 16, 2008 5:36 am    Post subject: Reply with quote

Codeblues wrote:
I actually have a problem loading the rescue option which has the initrd=/bin/bb kernel option.

That line should actually be "... init=/bin/bb", which tells the kernel to run /bin/bb (a very minimal shell) instead of /sbin/init.
Back to top
View user's profile Send private message
Codeblues
n00b
n00b


Joined: 28 May 2008
Posts: 26
Location: Chicago, Illinois

PostPosted: Mon Jun 16, 2008 5:41 am    Post subject: Reply with quote

ABCDwp wrote:
Codeblues wrote:
I actually have a problem loading the rescue option which has the initrd=/bin/bb kernel option.

That line should actually be "... init=/bin/bb", which tells the kernel to run /bin/bb (a very minimal shell) instead of /sbin/init.


Sorry, that's what I meant, init=/bin/bb
Back to top
View user's profile Send private message
peteblack
n00b
n00b


Joined: 28 Aug 2005
Posts: 26

PostPosted: Mon Jun 16, 2008 6:39 am    Post subject: Reply with quote

I've had the same problem as described by Codeblues for a while, but never got around to fixing it. If I use an initrd will that take care of it?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum