View previous topic :: View next topic |
Author |
Message |
Codeblues n00b
Joined: 28 May 2008 Posts: 26 Location: Chicago, Illinois
|
Posted: Thu Jun 12, 2008 8:14 pm Post subject: switching to utf8 font leads to text corruption |
|
|
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 |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Sat Jun 14, 2008 1:09 am Post subject: |
|
|
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 |
|
|
Codeblues n00b
Joined: 28 May 2008 Posts: 26 Location: Chicago, Illinois
|
Posted: Sat Jun 14, 2008 3:01 am Post subject: |
|
|
my /etc/rc.conf says
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 |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Sat Jun 14, 2008 4:23 am Post subject: |
|
|
Couldn't hurt to try it.
I have Code: | CONSOLEFONT="ter-v16n"
CONSOLETRANSLATION="8859-1_to_uni" |
in mine. |
|
Back to top |
|
|
Codeblues n00b
Joined: 28 May 2008 Posts: 26 Location: Chicago, Illinois
|
Posted: Sun Jun 15, 2008 10:59 pm Post subject: |
|
|
Doesn't work. Everything that came before switching to utf8 and the new font still gets scrambled. |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Mon Jun 16, 2008 12:07 am Post subject: |
|
|
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... |
|
Back to top |
|
|
Codeblues n00b
Joined: 28 May 2008 Posts: 26 Location: Chicago, Illinois
|
Posted: Mon Jun 16, 2008 4:38 am Post subject: |
|
|
Where exactly do I find that out? |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Mon Jun 16, 2008 4:48 am Post subject: |
|
|
Does your /boot/grub/grub.conf file have an "initrd" option in it after your "kernel" option? |
|
Back to top |
|
|
Codeblues n00b
Joined: 28 May 2008 Posts: 26 Location: Chicago, Illinois
|
Posted: Mon Jun 16, 2008 4:57 am Post subject: |
|
|
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 |
|
|
ABCDwp Retired Dev
Joined: 26 Mar 2006 Posts: 79
|
Posted: Mon Jun 16, 2008 5:36 am Post subject: |
|
|
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 |
|
|
Codeblues n00b
Joined: 28 May 2008 Posts: 26 Location: Chicago, Illinois
|
Posted: Mon Jun 16, 2008 5:41 am Post subject: |
|
|
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 |
|
|
peteblack n00b
Joined: 28 Aug 2005 Posts: 26
|
Posted: Mon Jun 16, 2008 6:39 am Post subject: |
|
|
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 |
|
|
|