menu_bar

MINIX をインストールするぞ

MINIXをインストールするぞ と思い立って、まず ファイルのダウンロード

ftp://ftp.cs.vu.nl/pub/minix/2.0.2/index.htmlから まず、version 2.02 に関する情報を ネットスケープで読む。

自分のマシンは、ペンティアムなので、中ほどの 386, 486, Pentium の ファイルをダウンロードする。
i386/ROOT.MNX
i386/USR.MNX
i386/USR.TAZ
src/SYS.TAZ
src/CMD.TAZ

で、画面の下のほうにフロッピーの作り方が書いてある。dd (FreeBSD or linux ) もしくは、
WINでの FDVOL でできるとかいてある。
FDVOLの方は、人のページに書いてあるので dd 使ってやってみる。(ひねている とも言ふ)

1. インストールFD の作成
 cat ROOT.MNX USR.MNX> /dev/fd0

2. USR.TAZ FD  BIN FILES (注:dd を使うときに、if = というふうに、スペースを入れてはいけない
 dd if=USR.TAZ of=/dev/fd0 bs=1440k count=1 skip=0
 dd if=USR.TAZ of=/dev/fd0 bs=1440k count=1 skip=1
 dd if=USR.TAZ of=/dev/fd0 bs=1440k count=1 skip=2
3. SYS.TAZ FD src files and manual 類
 dd if=SYS.TAZ of=/dev/fd0 bs=1440k count=1 skip=0
 dd if=SYS.TAZ of=/dev/fd0 bs=1440k count=1 skip=1
4. CMD.TAZ FD command src files 類
 dd if=CMD.TAZ of=/dev/fd0 bs=1440k count=1 skip=0
 dd if=CMD.TAZ of=/dev/fd0 bs=1440k count=1 skip=1
 dd if=CMD.TAZ of=/dev/fd0 bs=1440k count=1 skip=2
 



2000年11月20日
マシンを用意する
    CPU Pentium III 500MHz
    Memory 128Mbyte
    IDE Disk 1G for minix ( linux 12G)
    NIC 3Com 3x905
    Soundcard ES1371
    VGA 3Dfx Interactive, inc. VoodooBanshee 16Mbyte

## 豪華すぎる気がするが、研究室に あまっているPCだったので、借りることにする。
 
 
Minix boot monitor 2.11

Press ESC to enter the monitor

Hit a key as follows:

     = Start Minix
 

って、でてくるので = を 押す。

そのあとで、 Loading Minix
 
 
Minix 2.0.2 Copyright 1998 Prentice-Hall, Inc.

Executing in 32-bit protected mode
 
 

Memory size  = 130633K   MINIX = 299K   RAM = 480K  Available = 129854K

RAM disk loaded

Mon Nov 20 18:43:22 GMT 2000
Finish the name of device to mount as /usr: /dev/

って、表示されるので
fd0c と、インプットする。

その後、
 
/dev/fd0c is read-write mounted on /usr
Starting standard daemons: update.

Login as root and run 'setup' to install Minix

Minix Release 2.0 Version 2

noname login: 

と、表示されるので

root で login する。

あとは、

setup と入力して、
 
 
# setup

This is the Minix installation script

Note 1: If the screen blans suddenly then hit F3 to select "software
           scrolling"

Note 2: If things go wrong then hit DEL and start over.

Note 3: The installation procedure is described in the manual page
           usage(8). It will be hard without it.

Note 4: Some question has default answers, link this;[y]
           Simply hit RETURN (or ENTER) if you want to choose that answer.

Note 5: If you see a clon( ; ) then you shoulld hit RETURN to continue.
:

という 画面が表示されるので、RETURN キーを押す。

そうすると、
 
 
What type of keyboard do you have? You can choose one of :
french     japanese    scandinavn   us-std
german    latin-am    spanish        us-swap
italian      olivetti      uk

Keyboard type? [us-std]

と、キーボードの種類を聞いてくる。
手元は、USキーボードなので、us-std

そのあと、こんな メッセージになる。
# ちぇっ、1Gは大きすぎるよなぁ やっぱり
# 以下の文章、ちゃんと写してみました。 文法間違いと、typoも ちゃんと写しました。(^^)//
 
Minix needs one primary partition of at least 30Mb (it fits in 20Mb, but
it needs 30Mb if fully recompiled. Add more space to taste.)

If there is no free space on your disk then you have to back up one of the
othre partitions, shrink, and reinstall. See the appropriate manuals of the
the operating systems currently installed. Restart your Minix installation
after you have made space.

To make this partition you will be put in the editor "part". Follow the
advice under the "!" key to make a new partition of type MINIX. Do not
touch an existing partitino unless you know precisely what you are doing!
Please note the name of the partition (hd1, hd2,..., hd9, sd1, sd2,...
sd9) you make. (See the devices section in usage(8) on Minix device names.)
:

で、そのあと、device の選択になるのですが、、
 
 
    Select device    ----first----    -- geom/last --   ------ sectors -----
       device           Cyl Head Sec       Cyl Head Sec            Base      Size    Kb
     /dev/hd0                                    ?      ?     ?                 ?          ?       ?
                             ?     ?       ?         ?      ?     ?                 ?          ?       ?

Num     Sort   Type
?          ?       ?  ?    ?     ?       ?         ?      ?     ?                 ?          ?       ?
?          ?       ?  ?    ?     ?       ?         ?      ?     ?                 ?          ?       ?
?          ?       ?  ?    ?     ?       ?         ?      ?     ?                 ?          ?       ?
?          ?       ?  ?    ?     ?       ?         ?      ?     ?                 ?          ?       ?

Type '+' or '-' to change, 'r' to read, '?' for more help, '!' advice

そうすると、なんか
 
 
    Select device               ----first----    -- geom/last --   ------ sectors -----
       device                       Cyl Head Sec       Cyl Head Sec            Base      Size           Kb
     /dev/hd0                                              1650   255  63 
                                        0     0       0         522   42  30              0    8388607  4194303

Num     Sort   Type
1*  hd1     83  LINUX          0      1      0         382    254  62             63    6152832   3076416
2    hd2     05  DOS-EXT  383     0      0       1649    254  62     6152895  20354355 10177177
3    hd3     00  None           0      0      0            0       0    -1              0              0              0
4    hd4     00  None           0      0      0            0       0    -1              0              0              0

Type '+' or '-' to change, 'r' to read, '?' for more help, '!' advice

と表示される。

ここで、大失敗に気が付く。
linux を最初にインストールして、/minx って パーティションきっておいたのだけど、それは MINIXからは 見えない。
うっ、大失敗、、、 ということで、再度 linux をインストールせねば、、もしくは minix の部分だけど開放することができればいいけど、
ちょっと 難しい気がするので、あきらめよう。

もうひとつの、問題点 HDDの認識がおかしい。
HDDのサイズが、4Gbyte になっている。しかし、下のパーティションは、ちゃんと 13G になっている、、
もしかすると、HDDのBIOS での認識を Auto にしているのが問題なのかしら?

ということで、、、 今日は 疲れたので、明日 やりなおすることにしよう。


2000年11月21日
今日は、ちゃんと linux を 少なめに入れてから がんばろうとおもう。
ということで、ちゃんと 1G (おおすぎだって) 残してから、インストールをはじめる。
# inux を最初に入れるということが 間違いだと気が付くのは もっとあと。
20min ぐらい かけて 入れなおして、minix いれてみたけど、やっぱり 上記と 同じ画面、、

おかしいなぁ とかとか おもって DOS で、fdisk みると、100 % つかっていることになっている、、
うぅ、、 多分、DOS フォーマットじゃないと minix の setup は 嫌がるのかもしんない、、

という 推測を立てて、 もういっかい format/ fdisk して、最初に minix をインストールすることにする。
しくしく、、、、
 

--
ようやく、Cドライブを Windows をつかって 900Mbyte C: に割り当て 再起動する。
 

やっぱり、ディスクの 容量が 4Gbyte しかない と叫んでくる。
だけど、その他の部分を足すと ちゃんと 13Gbyte あるじゃないか、、

もう、いいや ということで、
 
 
    Select device               ----first----    -- geom/last --   ------ sectors -----
       device                       Cyl Head Sec       Cyl Head Sec            Base      Size           Kb
     /dev/hd0                                              1650   255  63 
                                        0     0       0         522   42  30              0    8388607  4194303

Num     Sort   Type
1*  hd1     0B  FAT32          0      1      0         114    254  62             63     1847412     923706
2    hd2     0F                  115      0      0       1649    254  62     6152895   24659775  12329887
3    hd3     00  None            0      0      0            0       0    -1             0              0              0
4    hd4     00  None            0      0      0            0       0    -1             0              0              0

Type '+' or '-' to change, 'r' to read, '?' for more help, '!' advice

FAT32になっている NUM1 に インストールすることにする。

Type の場所で、+ と - を使って、 81の MINIX に変更する。

終わったら、[q] を押して、セーブする。
 
 
Please finish the name of the primary partition you have created:
(Just type RETURN if you want to rerun "part")           /dev/

と聞いてきたので、hd1 と答える。

そしたら、
 
You have created a partition named:   /dev/hd1
The following subpartitions are about to be created on /dev/hd1 :

        Root subpartition :       /dev/hd1a     1440 kb
        /usr subpartition :        /dev/hd1c     rest of hd1

Hit return if everything looks fine, or hit DEL to bail out if you want to 
think it over. The next step will destroy /dev/hd1
:
 

というので、リターンキー

あとは、待っていると Scan Disk が 始まって、、 ちょっと またされます。
# って、パーティションを 大きくきりすぎているという話も、、、
## まるで、windows をインストールしている気分。

そのあと、いくつかのファイルのインストールが始まります。
で、
 
What is the memory size of this system in kilobytes? [4096 or more]
って、聴いてきます。

しらんわ、、 とかとか 叫んでみたくなりますが、 まぁ しかし、4M 以上? って聞いているのが ほほえましいですねぇ。
どこぞの 窓とか linux とか、、NT なんか、、、 とかとか 思ってしまいます。

適当に 256000 って、いれたら 
 
Second level file system block cache set to 1024 kb.

って、でてきた。単にそれだけかい。 まぁ、linux (RedHat 6.2)なんか MAX 128Mbyte だったりするから、
まぁ、いいんだけど、、、 だいたい linux で、ファイルキャッシュを思いっきりつかったら メモリーリークするし、
 
 
 
Please insert the installation ROOT floppy and type 'halt' to exit Minix.
You can type 'boot hd1' to try the newly installed Minix system. See
"TESTING" in the usage manual.

ふ〜ん、minix では、halt で システムをとめるのか。

で、
 
#halt 
System Halted
fd0>boot hd1

って、やってみると、一瞬にして、
 
 
Minix boot monitor 2.11
Press ESC to enter the monitor hit a key as follows:
         = Start Minix

って、でてきて、、成功!!



さて、次は USR.BIN のインストール

login プロンプトの 前に、
 
Login as root and run ' setup /usr' to install floppy sets.

と いってくるので、
root で ログインする。

言われたとおり、今入っているディスクを抜いて USR.TAZ の1枚目のディスクを入れてみる。
 
 
#setup /usr
What is the size of the images on the dikettes? [all]
What floppy drive to use [0]
Please insert input volume 1 and hit return

と、3つ聞かれたので、そのまま リターンキーをたたく。

途中で2枚目といわれるので、挿入して リターンキーをたたく。
もうひとつ3枚目 といわれるので、挿入して リターンキー。

Doneと表示されて、終了。

SYS.TAZ と、CMD.TAZ も 同じように
 
#setup /usr

で、できます。





以下は、13Gbyte のディスクに インストールするための格闘日記。
はぁ、、、 まとめは、こちら。
 
 

ということで、次は、linux をインストールしてみる。

と、、、 ディスクが壊れています とでてくる。 しくしく、、、
はぁ、また 再インストールですか、、、

今度は、C ドライブ PRI DOSに設定して linux をいれて、 EXT(Dドライブ)に MINIXを入れるようにしてみよう。
で、最初に MINIXの 基本部分を入れるだけにして、linux をいんすとーるしてみる。

そすると、partition table を設定するところで、 unexpected EOF on /dev/hd2
といってきて 異常終了してしまった。



よし、今度は、論理ドライブを設定しないで MINIX をインストールしてみよう。

やっぱりだめ。
もしかすると、ディスクの設定で こけているのかもしれないと思い、 BIOS setup で いろいろと変更してみるけど
どうも うまくいかない。

もしかして、、 WINDOWS で DISK format してからなら うまくいくかもしれない。
とおもって、がんばってみる。

結局 ディスクが 大きすぎるのか 4G byte 以上の認識がおかしい。
はぁ、、どうも 昔のシステムだけあって、13GByte にいれるというのが 間違っているようだ。
う〜ん、こうなると へぼディスクを一個だれかから、もらおう。

明日に続く。


2000年11月22日
ということで、研究室にある 1GのIDEを借りて、設定をはじめる、、
セカンダリーディスクでがんばってみようとおもうが、どうも セカンダリーの欄が見当たらない。
というか、/dev/hd0 の変更が うまくいかない。よく見ると /dev/hd2 は、/dev/hd0 のひとつとして
入っているところを見ると、どうも hd2 というのは、1ディスク上での 別パーテションのようだ。

ということで、プライマリーだけでがんばることにして、、
まず、最初の 800Mbyte に Minix をインストールしてみる。
そして、linux をインストールすると、うまくいった。
なんでだろ?

まぁ いいや。



4GByte 以上の HDDに、Minix をインストールして、のこりに、linux をインストールする方法。

HDDの中身を 完全にからっぽにする。
パーティションテーブルも 全部 消す。

最初に、MINIXをインストールする。
  パーティション hd1 に、4Gbyte 以下の領域を作成して minix の領域をインストールする。

次に、linux をインストールする。
linux インストール時に、lilo は、MBR に書き込むようにする。

linux のインストール終了後 
/etc/lilo.conf
に、
other=/dev/hd1
       label=minix
を付け加え、
/sbin/lilo
を実行する。
あとは、普通の lilo 起動と同じく 起動時に minix と選んでください。
お疲れ様
 
  戻る



単純リンク・相互リンク 大歓迎です
ご意見、ご感想は、umeda@tele.ucl.ac.beまで
履歴書など TEL +32 10 47 80 74 (オフィス)