[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:37910] Re: 試案: レガシーフリー PC



竹島です。

長文で失礼します。
まず、最初に入れたレガシーフリー PCが sargeへのアップ中にミスをして
再び入れ直したため元メールが消えスレッドがおかしくなってること
をお詫び申し上げます。
従って再インストールしたのでその際にわかったことを含め 改良版を書かせて頂きました。
しかし まだまだミスが多く 安定したインストール状態までには至ってませんので時間がかかります。
皆様のご訂正が必要と思います。

1.
まず woodyのCDからいんすとーるします。
ただし、X関係は入れません、つまりtaskselもdselectも動かしません
(ここは2.4にしてからでないと USBデバイスが認識されないので危ないと思い回避しました)


2.sorces.lstを書き換えて 
apt-get update
をしてそれから
カーネルを2.4にします(2.4になればUSBデバイスが仕えますので)。
ーーーーーーーーーーーーーー     
/etc/kernel-img.conf は
do_initrd=Yes
ーーーーーーーーーーーーーー
lilo.confは
image=/vmlinuz
        label=Linux
        read-only
        initrd=/initrd.img
#       restricted
#       alias=1
で、そして
liloです。


3. リブート

4.
apt-get install gnome-bin gnome-core gnome-panel gnome-control-center gnome-applets gnome-common gnome-utils gnome-help gnome-help-data gnome-users-guide sawfish-gnome gnome-session gmc
をします

5,taskselを動かして、Xwindowsとdesktopとをいれます。
(これ最初からtaskselではうまく行かなかったので 4.で露払いをかけました、この作業も不要かもしれません )

ただし /dev/input/mice を選択してます。
     ーーーーーーーーーーー
     この段階では書き直す必要はないのですが、結果的には以下となります。
     多分 識者の方々がみられると ご意見があろうかと存じます。
legacy-free:~# more /etc/X11/XF86Config-4
### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
        FontPath        "unix/:7100"                    # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
        Load    "GLcore"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "pex5"
        Load    "record"
        Load    "speedo"
        Load    "type1"
        Load    "vbe"
        Load    "xie"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "jp106"
        Option          "XkbLayout"     "jp"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"
EndSection

Section "Device"
        Identifier      "Generic Video Card"
        Driver          "ati"
        Option          "UseFBDev"              "true"
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        HorizSync       30-57
        VertRefresh     43-72
        Option          "DPMS"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Generic Video Card"
        Monitor         "Generic Monitor"
        DefaultDepth    16
        SubSection "Display"
                Depth           1
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection

### END DEBCONF SECTION

6.modconfして
/drovers/inputのところ(これ必要のようです)
/drivers/usbの キーボードとマウスとusb-unchi
をいれます。
ここまで来たら ほっとします。
Xは入りました。


7,日本語のために
apt-get install language-env user-ja canna freewnn-jserver skkserv canna-utils grep-ja kterm manpages-ja jless doc-debian-ja doc-linux-ja-text ja-trans tcsh-kanji kinput2-common kinput2-canna maint-guide-ja debian-jp-keyring
をします

8.liloは制御が難しいため grubの導入をします。
ーーーーーーーーーーーー
KNOPIXで、それで起動
8-1)
 コンソールで sudo  -s  してるーとになりました。(2chにありました)
     mount  /dev/hda1   /mnt 

8-2)
   grub-install  --root-directory=/mnt   /dev/hda


8-3)
そして カーネルは2。4になってるので 以下のように /mnt/boot/grub/menu.lstを編集。
tuyosi@legacy-free:~$ more /boot/grub/menu.lst
# Boot automatically after 30 secs.
timeout 3

# By default, boot the first entry.
default 0

# Fallback to the second entry.
fallback 1

# For booting GNU/Hurd
title  legacy-free
root   (hd0,0)
kernel /vmlinuz  root=/dev/hda1 hdc=scsi hdd=scsi
initrd /initrd.img


9.忘れずすること
rootで
dpkg-reconfigure -plow locales


一般ユーザーの.gnomerc は
ーーーーーーーーーーーーーーー 
#!/bin/sh

LANG=ja_JP.eucJP
LANGUAGE=ja
XMODIFIERS=@im=kinput2

###-------------------------------------------
### In case of Wnn , next line is unnecessary
### JSERVER=localhost
### export JSERVER
###-------------------------------------------
### In case of Canna
### originary SERVER=localhost;export CANNAHOST
###CANNAHOST=localhost
###export CANNAHOST
###-------------------------------------------

export LANG
export LANGUAGE
export XMODIFIERS

xmodmap $HOME/.xmodmap

### wnn   -----------
###kinput2 -wnn &
### -----------------

### canna -----------
kinput2 -canna &
### -----------------
ーーーーーーーーーーーーーーーーーーーーーーー


一般ユーザーの.xmodmap は
ーーーーーーーーーーーーーーー
keycode 112 = slash
keycode 63 = asterisk
keycode 82 = minus
keycode 79 = 7
keycode 80 = 8
keycode 81 = 9
keycode 86 = plus
keycode 83 = 4
keycode 84 = 5
keycode 85 = 6
keycode 87 = 1
keycode 88 = 2
keycode 89 = 3
keycode 90 = 0
keycode 91 = period
keycode 49 = Kanji



set-languge-env -l ja
(ここでは Yか1かでした)