Minix installation demo. Author: Kees J. Bot Minix-vmd1.7.0 インストール デモ 日本語説明: toshi +--------------------------------------------------------+ | これは、Minix-vmd1.7.0を私のコンピュータにインストール | | した時のログです。フロッピーディスクにイメージファイル | | の作成からデフォルト状態のインストールまでのログです。 | +--------------------------------------------------------+ +--------------------------------------------------------+ | Minix-vmd1.7.0のインストールに必要なファイルです。   | | ROOT - Installation ROOT floppy (720 kb)    | | USR - Installation USR floppy (720 kb)    | | USR.TGZ - Binaries in /usr (6.8 Mb)    | | SRC.TGZ - Source files (6.0 Mb)    | | 以上のファイルをフロッピーに分割して納めます。     | |                             | | ネットワークから直接インストールする場合は、      | | ROOT - Installation ROOT floppy (720 kb)    | | NETUSR - Altarnate USR with networking (1.2 Mb)    | | 以上のファイルのみを用意すればインストールできます。  | |                             | | フロッピーからのインストールは、Minixのインストールと | | 重複する部分が多いので、今回はネットワークからインス  | | トールします。                     | +--------------------------------------------------------+ C:\>fdvol 1440 a: ROOT Please insert formatted diskette #1 in drive a, then hit Enter Track: ** Head: * Sector: * File offset: ******* Done. C:\>fdvol 1440 a: NETUSR Please insert formatted diskette #1 in drive a, then hit Enter Track: ** Head: * Sector: * File offset: ******* Done. +--------------------------------------------------------+ | インストールディスクのROOTのイメージディスクからブート | | し、'='キーで(USキーの'='なのでjapaneseキーでは'^'に | | すなりま)Minix-vmdを起動します。           | +--------------------------------------------------------+ Minix boot monitor 2.6 Press ESC to enter the monitor Hit a key as follows: = Start Minix +--------------------------------------------------------+ | Minix-vmd1.7.0はブートモニタが2.6になっています。   | +--------------------------------------------------------+ Minix-vmd 1.7.0 Copyright 1996 Prentice-Hall, Inc. Loading 720K RAM disk. RAM disk loaded. Mon Jan 25 20:12:46 Factory 1999 Checking File Systems. Root FS does not match /etc/fstab, skipping checks. /dev/ram is read-write remounted on / Finish the name of device to mount as /usr: /dev/ +--------------------------------------------------------+ | Minix-vmdが起動したらROOTフロッピーを取り出します。  | | 代わりにNETUSRフロッピーをセットし、'fd0'と入力します。| +--------------------------------------------------------+ Finish the name of device to mount as /usr: /dev/fd0 /dev/fd0c is read-write mounted on /usr Multiuser startup in progress. Starting standard daemons: update. Minix-vmd Release 1.7 Version 0r1178 noname.no.do.main login: +--------------------------------------------------------+ | rootでログインし、'setup'と入力してインストールスクリ | | プトを実行します。                   | +--------------------------------------------------------+ noname.no.do.main login: root # setup This is the Minix-vmd installation script. Note 1: If the screen blanks suddenly then hit F3 to select "software scrolling". Later read boot(8) on how to set this permanently. 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. (This is Minix-vmd, about twice the complexity of standard Minix, so you'd better know what you are doing.) Note 4: Some questions have default answers, like this: [y] Simply hit RETURN (or ENTER) if you want to choose that answer. Some have examples, like this: [q,p,/usr] You must type something. Note 5: If you see a colon (:) then you should hit RETURN to continue. : +--------------------------------------------------------+ | ENTERキーを押して次に進みます。            | +--------------------------------------------------------+ What type of keyboard do you have? You can choose one of: french italian latin-am uk german japanese spanish us-std Keyboard type? [us-std] +--------------------------------------------------------+ | 使用しているキーボードのタイプを入力します。      | | japanese配列のキーボードなら、'japanese'と入力。    | +--------------------------------------------------------+ Minix-vmd requires the filesystems /, /tmp, /usr, /var, /opt and /home. You will now be put in the editor "part" to make any (sub)partitions necessary for these file systems. Prease note the names of the devices you make. : +--------------------------------------------------------+ | ENTERキーを入力すると、'part'パーティーションエディタ | | の編集画面になります。「?」の表示はディスク内容を調べ | | ていない部分です。まずインストールするディスクを選択  | | します。('+','-'キーで、/dev/hd*を選択)       | +--------------------------------------------------------+ 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, '!' for advice +--------------------------------------------------------+ | インストールするディスクを選択したら、'r'キーを押して | | デのィスク内容を表示。                 | +--------------------------------------------------------+ Active flag ----first---- --geom/last-- ------sectors----- Device Cyl Head Sec Cyl Head Sec Base Size Kb /dev/hd0 2100 16 63 0 0 0 2099 15 62 0 2116800 1058400 Num Sort Type 1 hd1 06 DOS-BIG 33 0 0 231 15 62 33264 200592 100296 2* hd2 81 MINIX 232 0 0 331 15 62 233856 100800 50400 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 +--------------------------------------------------------+ | 現在MS-DOSとMinix2.0.2が入っています。矢印キーでMinix | | -vmdをインストールするパーティションにカーソルを移動し | | Typeの下の数字までカーソルを移動し「81」と入力。Kbの下 | | の数字までカーソルを移動し、'm'キーで自動設定したり、 | | サイズを直接入力してパーティションサイズを設定します。 | | Numの下の数字までカーソルを移動し '+','-'キーで'*'を  | | 表示させます。                     | +--------------------------------------------------------+ Active flag ----first---- --geom/last-- ------sectors----- Device Cyl Head Sec Cyl Head Sec Base Size Kb /dev/hd0 2100 16 63 0 0 0 2099 15 62 0 2116800 1058400 Num Sort Type 1 hd1 06 DOS-BIG 33 0 0 231 15 62 33264 200592 100296 2 hd2 81 MINIX 232 0 0 331 15 62 233856 100800 50400 3* hd3 81 MINIX 332 0 0 1021 15 62 334656 695520 347760 4 hd4 00 None 0 0 0 0 0 -1 0 0 0 +--------------------------------------------------------+ | 次に'>'キーでーティションの中をさらに細かく設定します | | hd*aは'/'にマウントされます。1.44MB程度でです。    | | hd*bは'/tmp'にマウントされ、仮想メモリ分を確保します。 | | hd*cは'/usr'にマウントされます。50MB以上必要です。   | +--------------------------------------------------------+ Active flag ----first---- --geom/last-- ------sectors----- Device Cyl Head Sec Cyl Head Sec Base Size Kb /dev/hd0 2100 16 63 /dev/hd0:3 332 0 0 1021 15 62 334656 695520 347760 Num Sort Type 1* hd3a 81 MINIX 332 0 1 334 15 62 334657 3023 1511 2 hd3b 81 MINIX 335 0 0 400 15 62 337680 66528 33264 3 hd3c 81 MINIX 401 0 0 1021 15 62 404208 625968 312984 4 hd3d 00 None 0 0 0 0 0 -1 0 0 0 +--------------------------------------------------------+ | 設定が終ったら'q'、'y'を入力して保存します。      | +--------------------------------------------------------+ Size in sectors ----first---- --geom/last-- ------sectors----- Device Cyl Head Sec Cyl Head Sec Base Size Kb /dev/hd0 2100 16 63 0 0 0 2099 15 62 0 2116800 1058400 Num Sort Type 1 hd1 06 DOS-BIG 33 0 0 231 15 62 33264 200592 100296 2 hd2 81 MINIX 232 0 0 331 15 62 233856 100800 50400 3 hd3 81 MINIX 332 0 0 1021 15 62 334656 695520 347760 4* hd4 81 MINIX 1022 0 0 2099 15 62 1030176 1086624 543312 Save partition table? (y/n) y +--------------------------------------------------------+ | Minix-vmdの各マウントポイントを入力します。      | | 'q'キーで設定終了、 's'キーでシェルの起動、'p'キーで  | | パーティション設定画面へ戻ります。           | +--------------------------------------------------------+ Minix-vmd requires the filesystems /, /tmp, /usr, /var, /opt and /home. You will now be put in the editor "part" to make any (sub)partitions necessary for these file systems. Please note the names of the devices you make. : +--------------------------------------------------------+ | '/'と入力して,'/'ディレクトリの設定をします。     | +--------------------------------------------------------+ This is the current assumption on what the Minix-vmd file systems will become: / hd2a /tmp hd2b 4096 kb, rest for swapspace /usr hd2c /var /usr/.lo/var (part of /usr) /opt /usr/.lo/opt (part of /usr) /home /usr/.lo/home (part of /usr) Please type 'q' if this is correct, 's' for a subshell, 'p' if you want to rerun 'part', or the name of the filesystem you want to change: [q,s,p,/,/tmp,/usr,/var,/opt,/home] / +--------------------------------------------------------+ | '/'をマウントするパーティションを指定します。     | +--------------------------------------------------------+ Type the name of the device or file system to place / onto. You can use names like 'hd2a', 'sd9c', for device names. Device? [hd2a] hd3a +--------------------------------------------------------+ | 領域を指定します。(ENTERキーのみだと全領域)     | +--------------------------------------------------------+ A device can be part file system and part swap space. You can make this split by setting a size for the file system that is smaller than the device. Note that devices with swap space should not have bad blocks. If the file system should occupy the entire device then type 'all'. How many kilobytes large should / be? [all] +--------------------------------------------------------+ | 同様に'/tpm'と入力して,swap領域の設定をします。    | +--------------------------------------------------------+ This is the current assumption on what the Minix-vmd file systems will become: / hd3a /tmp hd3b 4096 kb, rest for swapspace /usr hd3c /var /usr/.lo/var (part of /usr) /opt /usr/.lo/opt (part of /usr) /home /usr/.lo/home (part of /usr) Please type 'q' if this is correct, 's' for a subshell, 'p' if you want to rerun 'part', or the name of the filesystem you want to change: [q,s,p,/,/tmp,/usr,/var,/opt,/home] /tmp +--------------------------------------------------------+ | '/tmp'をマウントするパーティションを指定します。    | | ENTERキーを押すと現在の値を変更しません。       | +--------------------------------------------------------+ Type the name of the device or file system to place /tmp onto. You can use names like 'hd2a', 'sd9c', for device names, and '/usr', '/var', for names of file systems to loopback mount /tmp from, and '/' to make /tmp part of the root file system. Device? [hd3b] +--------------------------------------------------------+ | 領域を指定します。(ENTERキーのみだと全領域)     | +--------------------------------------------------------+ A device can be part file system and part swap space. You can make this split by setting a size for the file system that is smaller than the device. Note that devices with swap space should not have bad blocks. If the file system should occupy the entire device then type 'all'. How many kilobytes large should /tmp be? [4096] +--------------------------------------------------------+ | 領域の指定が終了したら、'q'と入力してインストール開始 | +--------------------------------------------------------+ This is the current assumption on what the Minix-vmd file systems will become: / hd3a /tmp hd3b /usr hd3c /var /usr/.lo/var (part of /usr) /opt /usr/.lo/opt (part of /usr) /home /usr/.lo/home (part of /usr) Please type 'q' if this is correct, 's' for a subshell, 'p' if you want to rerun 'part', or the name of the filesystem you want to change: [q,s,p,/,/tmp,/usr,/var,/opt,/home] q Hit return if everything is fine, or hit DEL to bail out if you want to think it over. The next step will scribble on disk. : +--------------------------------------------------------+ | ENTERでインストールが続行します。           | +--------------------------------------------------------+ Making file systems... /dev/hd3a: V2 flex filesystem, 1511 kilobytes, 1088 inodes, 1422 bytes/inde /dev/hd3b: V2 flex filesystem, 33264 kilobytes, 5552 inodes, 6135 bytes/inde /dev/hd3c: V2 flex filesystem, 312984 kilobytes, 39136 inodes, 8189 bytes/inde Scanning /dev/hd3c for bad blocks. (Hit DEL to stop the scan if are absolutely sure that there can not be any bad blocks. Otherwise just wait.) +--------------------------------------------------------+ | ハードディスクのチェックが始まります。         | | 中断したい場合は'DEL'キーを押してください。      | +--------------------------------------------------------+ Scan done Migrating from floppy to disk... +--------------------------------------------------------+ | NETUSRフロッピーからファイルのコピーが終わると、    | | ROOTフロッピーを要求してきますで、フロッピーを交換して | | フロッピードライブの番号を入力します。         | | ドライブが1台の場合は'ENTER'キーを押します。     | +--------------------------------------------------------+ By now the floppy USR has been copied to hd3c, and it is now in use as /usr. Please insert the installation ROOT floppy in a floppy drive. What floppy drive is it in? [0] Copying /dev/fd0 to /hd3a +--------------------------------------------------------+ | これでセットアップは終了です。'halt'、'boot hd3a'と  | | (Minix-vmdをインストールしたパーティション)入力して  | | インストールしたハードディスクから起動 します。    | +--------------------------------------------------------+ Please insert the installation ROOT floppy and type 'halt' to exit Minix-vmd. You can type 'boot hd3a' to try the newly installed Minix-vmd system. See "Testing" in the usage manual. # halt System Halted fd0>boot hd3a +--------------------------------------------------------+ | ブートモニタが起動します。               | | ここで'ESC'キーを押してコマンド入力状態にします。   | +--------------------------------------------------------+ Minix boot monitor 2.6 Press ESC to enter the monitor Hit a key as follows: = Start Minix [ESC] hd3a> +--------------------------------------------------------+ | ここでNICの設定と、TCP/IPサーバの設定をします。    | | NE2000ネットワークカードのI/Oアドレス=240,IRQ=11に   | | サーバをinetに設定し保存します。            | +--------------------------------------------------------+ hd3a>DPETH0=240:11 hd3a>servers=inet hd3a>save +--------------------------------------------------------+ | 'menu'と入力、'='キーを押します。           | +--------------------------------------------------------+ hd3a>menu Hit a key as follows: = Start Minix +--------------------------------------------------------+ | Minix-vmdが起動します。ネットワークカードが認識され、 | | 各種デーモンが起動します。ネットワーク内にrarpサーバ  | | が無い場合はIPアドレスが決定されません。        | +--------------------------------------------------------+ Minix-vmd 1.7.0 Copyright 1996 Prentice-Hall, Inc. at-hd0: WDC AC21000H wed Feb 3 01:14:36 Factory 1999 Checking File Systems. /dev/hd3a: is clean /dev/hd3b: is clean /dev/hd3c: is clean /dev/hd3a is read-write remounted on / /dev/hd3b is read-write mounted on /tmp /dev/hd3c is read-write mounted on /usr /usr/.lo/var is loopback mounted on /var /usr/.lo/opt is loopback mounted on /opt /usr/.lo/home is loopback mounted on /home Multiuser startup in progress. ne2000: NE2000 at 240:11 Starting daemons: update rarpd nonamed irdpd inetd. /usr/bin/hostaddr: unable to fetch IP address: Timeout Minix-vmd Rerease 1.7 Version 0r1178 noname.no.do.main login: +--------------------------------------------------------+ | ネットワーク内にrarpサーバが無い場合は、/etc/rc.netと | | /etc/resolv.confファイルを作成してネットワークの設定  | | を記述し、再起動します。(japaneseキーボードの場合、  |                  | 「"_"はshift+半角/全角」キーで入力できます)      | +--------------------------------------------------------+ # echo ifconfig -h 192.168.0.16 -n 255.255.255.0 > /etc/rc.net # echo add_route -g 192.168.0.255 >> /etc/rc.net # echo nameserver 192.168.0.254 > resolv.conf # reboot +--------------------------------------------------------+ | ネットワークの設定がなされていると、ホストマシンのIPが | | 表示されます。"root"でログインしてディレクトリを移動。 | +--------------------------------------------------------+ Minix-vmd 1.7.0 Copyright 1996 Prentice-Hall, Inc. at-hd0: WDC AC21000H wed Feb 3 01:14:36 Factory 1999 Checking File Systems. /dev/hd3a: is clean /dev/hd3b: is clean /dev/hd3c: is clean /dev/hd3a is read-write remounted on / /dev/hd3b is read-write mounted on /tmp /dev/hd3c is read-write mounted on /usr /usr/.lo/var is loopback mounted on /var /usr/.lo/opt is loopback mounted on /opt /usr/.lo/home is loopback mounted on /home Multiuser startup in progress. ne2000: NE2000 at 240:11 Starting daemons: updateadding output route to 0.0.0.0 with netmask 0.0.0.0 using gateway 192.168.0.255 . Minix-vmd Rerease 1.7 Version 0r1178 192.168.0.16 login: root # cd /usr +--------------------------------------------------------+ | ftpコマンドでファイルを取り寄せ、逐次展開します。   | | (japaneseキーボードの場合、"|"は「alt+半角/全角」キー | | で入力できます)                    | +--------------------------------------------------------+ # ftp -c ftp.minix-vmd.org:/pub/Minix-vmd/1.7.0/USR.TGZ | gzcat | tar xvfp - # ftp -c ftp.minix-vmd.org:/pub/Minix-vmd/1.7.0/SRC.TGZ | gzcat | tar xvfp - +--------------------------------------------------------+ | 以上で、Minix-vmd1.7.0のインストールは終了です。    | +--------------------------------------------------------+