Panasonic の ノートパソコン、Let's Note CF-A1R へ Vine Linux 2.5 をインストールします。このパソコンには CD-ROM ドライブがついていないため、ネットワーク経由で Linux のインストールをします。使用する PCMCIA ネットワークカードは、MELCO の LPC2-T という 10Base-T のカードです。Vine Linux 2.5 の CD-ROM は作成済みとします。
C:\> cd q:\images↓pcmcianet.img がロングファイル名のため、ファイルが見付からないなどというエラーが出た場合は、該当するファイルのショートファイル名(pcmcia~2.img など)という名前を指定する必要があります。
Q:\> ..\dosutils\rawrite -f pcmcianet.img -d a -n↓
root # mkdir /home/httpd/htdocs/Vine ↓
root # mount -r -t iso9660 /dev/cdrom /home/httpd/htdocs/Vine ↓
もし、iso イメージがあり、それを利用するなら上記の代わりに、
root # mount -o loop /home/ftp/pub/Vine25-i386.iso /home/httpd/htdocs/Vine ↓
うまく行かないので、キー配列定義ファイルを直接編集。以下の行を修正。
<CAPS> = 66; → <CAPS> = 37;
<LCTL> = 37; → <LCTL> = 66;
init 3 として、コンソールで、CTRL と CAPS が置き換えられていることを確認し、init 5 で X Window 上でも置き換えられていることを確認。
以上で、Vine 2.5 での設定終了。後のために、Vine 2.1.5 での設定方法ものこしておきます。
root # cd /usr/src/linux/drivers/pcmcia ↓
root # ./Configure ↓
Linux source directory [/usr/src/linux]: ↓
Build 'trusting' versions of card utilities (y/n) [n]:
↓
Include 32-bit (CardBus) card support (y/n) [y]: ↓
Include PnP BIOS resource checking (y/n) [n]: y↓
Module install directory [/lib/modules/2.2.19-0vl0.23]:
↓
root # cd /usr/local/src ↓
root # zcat ./linux-wlan-ng-0.1.13.tar.gz |tar -xvf -↓
root # cd linux-wlan-ng-0.1.13↓
root # make config↓
Build Prism2.x PCMCIA Card Services (_cs) driver? (y/n) [y]:
↓
Build Prism2 PLX9052 based PCI (_plx) adapter driver? (y/n) [n]:
↓
Build Prism2.5 native PCI (_pci) driver? (y/n) [n]: ↓
Build Prism2.5 USB (_usb) driver? (y/n) [n]: ↓
Linux source directory [/usr/src/linux]: ↓
pcmcia-cs source dir [/usr/src/pcmcia-cs-3.1.29]:
/usr/src/linux/pcmcia-cs-3.1.29 ↓
Build for Kernel PCMCIA? (y/n) [n]: ↓
PCMCIA script directory [/etc/pcmcia]: ↓
Alternate target install root directory on host []:
Module install directory [/lib/modules/2.2.19-0vl0.23]:
↓
Target Architecture? (i386, ppc, arm, or alpha) [i386]:
↓
Prefix for build host compiler? (rarely needed) []: ↓
Compiling with a cross compiler? (y/n) [n]: ↓
Build for debugging (see doc/config.debug) (y/n) [n]: ↓
root # make all ↓
root # make install ↓
※ESSIDには実際に設定されている文字列を入れてください。
root # rpm -e netscape-4.76-1 ↓
root # cd /usr/local/src ↓
root # zcat opera-6.0-20020218.1-static-qt.i386.tar.gz
|tar -xvf -↓
root # cd opera-6.0-20020218.1-static-qt.i386 ↓
root # ./install.sh↓
Is this correct [y,n,c | yes,no,cancel]? y ↓
FontPath "/usr/X11R6/lib/X11/fonts/MSTrueType"
で、うまく行くはずだったのですが、なぜかうまく行きません。FontPathの追加が失敗している模様。なので、mscothic.ttc, msmincho.ttc を、/usr/X11R6/lib/X11/fonts/TrueType へコピー。/usr/X11R6/lib/X11/fonts/TrueType の fonts.dir に、/usr/X11R6/lib/X11/fonts/MSTrueType の fonts.dir の2行目以降を張り付け。1行目の数字を、/usr/X11R6/lib/X11/fonts/TrueType/fonts.dir の1行目の数字に加え更新したら、うまく行きました。更新後の fonts.dir はこのとおり。