To: sun-owners@futoshi3.u-aizu.ac.jp Subject: [NetBSD/sun3x] starts to run In-Reply-To: Your message of "Tue, 01 Jul 1997 00:14:40 +0900" References: <19970701001440C.makoto@komekome.bay.prug.or.jp> X-Mailer: Mew version 1.70 on Emacs 19.34.94.1 / Mule 3.0 X-PGP-Fingerprint: 82 AD 5D F4 1E DC 00 BF 11 90 35 83 ED 85 6F D6 X-URL: http://www.cc.rim.or.jp/~fujiwara/makoto/ Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Message-Id: <19970701224557T.makoto@komekome.bay.prug.or.jp> Date: Tue, 01 Jul 1997 22:45:57 +0900 From: =?ISO-2022-JP?B?GyRCRiM4NhsoQl9fGyRCQD8bKEI=?= /Makoto Fujiwara X-Dispatcher: impost version 0.99h (Apr. 2, 1997) Lines: 142 Tue Jul 1 21:53:00 1997 千葉市中央区長洲 藤原 誠 makoto@komekome.bay.prug.or.jp NetBSD が Sun-3/80 の上で動き出しました。なかなか新鮮です。 /etc/passwd の変更さえどうするかとまどいました。 ( /usr/sbin/pwd_mkdb /etc/master.passwd ) ---------------------------------------- Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. NetBSD 1.2E (GENERIC) #0: Mon May 26 19:15:02 PDT 1997 Welcome to NetBSD! ---------------------------------------- 自分の覚えを書いておきます。多分何度か入直すことになるでしょう。 ○.1 boot tape を作る。作り方は、 ftp://ftp.NetBSD.ORG/pub/NetBSD/NetBSD-1.2/sun3/INSTALL の、The boot tape is created as follows: というところに書いてあります。 ○.2 boot tape から起動 miniroot を swap に写して、 # ./install (ここで一度失敗したら read-only file system になってしまっ たが port-sun3@netbsd.org で教わって、ひとつおまじないを入れ て、しのいだ) > Proceed with installation? [n] y > Cool! Let's get to it... > cp: /tmp/disktab.shadow: Read-only file system This is a bug in the sun3 machine independent install script. It is failing to make the root filesystem writeable because of the existance of a file named /tmp/.root_writeable, which wasn't erased when you rebooted. Try doing the following, and then run the install script immediately afterwards: /sbin/mount_kernfs /kern /kern /sbin/mount -u /kern/rootdev / # ./install ○.3 作っておいた install tape ftp://ftp.NetBSD.ORG/pub/NetBSD/NetBSD-1.2/sun3/INSTALL The install tape is created as follows: は、(そこに少し typo があるのは直したとしても) 何故か I/O error になってしまうので、NFS から入れることにする。 こちらの方が簡単だった。 (予め、ftp で持って来たものを他の機械に用意しておいて、export しておいて、その機械と directory を指定する) ○.4 実は SunOS(JLE) の入っている disk はそのままにして とにかく動くものを用意して見ようということで、最少限のもの にしたつもりです。でも ./install の最中に edit disk label (y)[n] と答えた瞬間に /dev/sd0a を newfs してくれて、SunOS の方は 立上げられなくなってしまいました。 そうそう、多分常識なのでしょうが、sd の番号の付け方が、 SunOS と違うので、どの番号か良く分らないで上のようになって しまったのです。SCSI ID の小さい順に sd0,sd1,sd2 と付いて いくのだったかな。 ○.5 install の最後の方の様子だけ付けておきます。 ./var/log/wtmp ./var/msgs/bounds ./var/run/utmp Extraction complete. The following sets are available for extraction: (marked sets have already been extracted) [X] base.tar.gz [X] comp.tar.gz [X] etc.tar.gz games.tar.gz man.tar.gz misc.tar.gz text.tar.gz Continue extraction [y]?n Extract more sets? [n] n If you installed the base distribution from the NetBSD-1.2/sun3 release, it is suggested that you apply a small patch when using it under NetBSD/sun3x. Apply patch now [y]? Installing patch.. 1+0 records in 1+0 records out 32 bytes transferred in 1 secs (32 bytes/sec) Patch succeeded. Copying fstab...done. Copying hostname.le0...done. Copying hosts...done. Copying myname...done. Copying mygate...done. Copying resolv.conf...done. Select a time zone for your location. Timezones are represented on the system by a directory structure rooted in "/usr/share/timezone". Most timezones can be selected by entering a token like "MET" or "GMT-6". Other zones are grouped by continent, with detailed zone information separated by a slash ("/"), e.g. "US/Pacific". To get a listing of what's available in /usr/share/zoneinfo, enter "?" at the prompts below. What timezone are you in [`?' for list] [GMT]? ? Africa EST5EDT Hongkong Mideast Turkey ( .... omitted .... ) What timezone are you in [`?' for list] [GMT]? Japan You have selected timezone "Japan". Installing timezone link...done. Making devices...done. Copying kernel...done. Installing boot block... boot: /mnt/ufsboot proto: bootxx device: /dev/rsd0a bootxx: entry point 0x240000 proto bootblock size 3584 room for 64 filesystem blocks at 0x240c4c Will load 1 blocks of size 8192 each. 0: 10160 done. Syncing disks...done. Umounting filesystems... /mnt/var /mnt/usr /mnt Done. CONGRATULATIONS! You have successfully installed NetBSD! To boot the installed system, enter halt at the command prompt. Once the system has halted, reset the machine and boot from the disk. # --- (藤原)