
Ubuntu日本語フォーラム

ログインしていません。
VirtualBoxにUbuntu9.04をインストールしていますが、テキストモード(具体的に言うと[Ctrl]+[Alt]+[F1]を押してテキストモードに移行する)
でログインすると日本語のディレクトリ名やファイル名、apt-getなどを実行すると日本語の部分がダイヤのような記号で表示されてしまいます。
テキストモードで日本語が正常に表示するにはどのようにしたら良いのでしょうか。お願いします。
オフライン
ちょっと時間がないのでさわりだけ。
とりあえずは MIZUNO さんのページを参考にして fbterm を使うと幸せになれます。
Ubuntu 9.04 Jaunty Jackalope からは自分でビルドしなくても、リポジトリのものがそのまま使えます。
あと私が困っていた時の
https://forums.ubuntulinux.jp/viewtopic.php?id=4023
https://forums.ubuntulinux.jp/viewtopic.php?id=3475
あたりも参考になります。
avidyaさん回答ありがとうございます。
返答遅れてすいません。
MIZUNOさんのページを参考にして
$ sudo apt-get install fbterm
$ sudo vi /etc/initramfs-tools/modules
# 以下の二行を追加
fbcon
vesafb
$ sudo vi /etc/modprobe.d/blacklist-framebuffer
(...snip...)
blacklist tridentfb
# blacklist vesafb # コメントアウト
blacklist vfb
というように編集したのですが
$ sudo vi /boot/grub/menu.lst
# defoptions=vga=791 # vga 云々なオプションを追記
というのがどういうように編集すればよいのかよくわかりません。
以下、/boot/grub/menu.lstの# defoptions=vga=791が書かれている行までです。
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
## password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=9e0e312d-9f16-4804-8c35-48f57257f79d ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=9e0e312d-9f16-4804-8c35-48f57257f79d
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
オフライン
私の場合の話になってしまうのですが、memu.lst の kernel 行のオプションを以下のように変更しています。環境は Ubuntu 9.04 Jaunty Jackalope です。Ubuntu のバージョンによって vga の設定値が異なりますので気をつけてください。
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=e567d44d-9d31-49f4-9f0d-844667cb52df ro quiet nosplash [u]vga=0x399[/u]
・nosplash を指定することで boot の状況を見えるようにしています。そうすることでなんらかの障害があった場合や、vga のパラメータに誤った値を設定した時に正しい値を設定し直すことができます。
・vga=0x399 を指定することで画面解像度を 1280x1024 32bit にしています。
avidyaさんありがとうございます。
grubの問題は無事に解決しました。
しかし、sudo fbtermと入力しなければ、fbtermを起動できません。
hogehoge@hoge-desktop:~$ fbtermと入力すると
can't open frambuffer device!というエラーメッセージが表示されてしまいます。
また、sudo fbtermで起動しても
http://2nd.geocities.jp/asu_112/Ubuntu.jpg
というように表示されてしまいます。
grubのvgaで他の解像度を指定しても同じように表示されるので、grubの問題ではないと思います。
オフライン
avidyaさんが最初に示されている
https://forums.ubuntulinux.jp/viewtopic.php?id=4023
は読まれましたか?
おそらくここに書かれていることと同様の現象ではないかと思います。
オフライン
MIZUNOさん
返答ありがとうございます。
avidyaさんが書かれている
https://forums.ubuntulinux.jp/viewtopic.php?id=4023
を読み増して、[Ctrl]+[Alt]+[F1]で起動するのではなく sysv-rc-conf をインストールして、gdmを無効にして起動するようにしていますが、
他にも無効にするものがあるのでしょうか?
設定ファイルはまだ編集していないので、https://forums.ubuntulinux.jp/viewtopic.php?id=4023を
参考にして編集してみようと思います。
オフライン
mizunoさん による投稿:
おそらくここに書かれていることと同様の現象ではないかと思います。
MIZUNO さん、ちょっと空いた時間を利用してテストしてみました。
結果ですが、私の 9.04 環境でも 8.10 までの方法ではフレームバッファを有効にできませんでした。ひょっとすると 9.04 から微妙に環境が変わったのかもです。
# 時間が取れなくて追求できないのが申し訳ないです。