Installing NetBSD/i386 on MITnet
NetBSD is a freely distributable Unix-like operating system for many platforms including Intel 386-class machines. This document explains how you can install NetBSD/i386 using MITnet if you have a machine on the network. If you have any questions or problems during the installation, please send mail to netbsd-help@mit.edu.
These instructions explain how to install a binary release of NetBSD/i386 version 1.2 and NetBSD-Athena version 7.7.2.
Before you start, you may want to find out if NetBSD and XFree86 support your computer's hardware. To find this out, use a web browser (such as Mosaic) to look at the URLs http://www.netbsd.org/Ports/i386/index.html and http://www.xfree86.org/3.2/README-3.html. Also, if you have an ISA-bus network card, the installation kernel may only support it at certain I/O ports and IRQs:
If you have an ISA-bus network card which is supported by NetBSD but isn't supported by the installation kernel, either reconfigure the card to a supported port and IRQ, or contact SIPB via the mailing list netbsd-help@mit.edu (or phone 3-7788) and we can create custom install disks for your machine. If you have an NE2000 compatible card at port 0x300 IRQ 4, 5, 9, or 11, you can find premade custom install disks in /mit/netbsd/release/athena-7.7.2/i386/custom.
To use these utilities, make a bootable DOS floppy, put it in the drive of an Athena Sun workstation, and copy the utilities to it:
attach netbsd
add mtools
cd /mit/netbsd/i386/utils/fips12
mcopy FIPS.EXE a:
mcopy RESTORRB.EXE a:
mcopy ERRORS.TXT a:
cd ../bteasy14
mcopy bootinst.exe a:
mcopy boot.bin a:
cd ../os-bs-2.0beta8
mcopy osbs20b8.exe a:
You should also read FIPS.DOC in the fips12 directory and readme in the bteasy14 directory. You should generally only use utilities of this sort when you have booted from your utilities floppy, since they may interact poorly with Windows or whatever else your hard drive's DOS partition runs on startup.
You should set aside at least 120 megabytes for NetBSD. To reduce the size of your DOS partition, you should first run the DOS program defrag (this requires DOS 6 or greater) and tell it to completely optimize your hard disk, moving all of the data to the first part of the disk. There may be some complications related to immovable files; read FIPS.DOC to find out how to deal with those. Then, boot from your utilities floppy and just enter fips.
FIPS will have split your DOS partition into two DOS partitions, the first one containing all your old data and the second one empty. At this point, since you have two partitions and want to be able to boot off either one, run bootinst or osbs20b8 to install the dual boot loader. (BOOTEASY is a little easier to install; OS Boot Select is fancier and more flexible.)
Now run the DOS program fdisk and delete the second DOS partition, so that the installation process can create a NetBSD partition there.
attach netbsd
cd /mit/netbsd/release/athena-7.7.2/i386/floppies
volcheck
dd if=image of=/vol/dev/aliases/floppy0 bs=18k
image should be adp.fs if your machine uses an Adaptec SCSI adaptor, or other.fs otherwise.
After a minute or so, the installation program will begin asking you questions about how you want your system configured. After you have answered all of the questions, it will show you your answers and ask you to confirm them. After that point, the installation proceeds with no manual intervention.
Once the installation is finished and your system is halted, remove the floppy, reboot your machine, and boot off your NetBSD hard disk partition using the boot loader you installed earlier.
attach netbsd
/mit/netbsd/bin/xconfig
It will ask five fairly easy questions about your mouse, monitor, and video card and generate an X configuration. Test the resulting X configuration by running startx. You can run xconfig as many times as you like if it doesn't work the first time. If it doesn't work for you, please send mail to netbsd-help@mit.edu detailing the problem. Two other tools provided with XFree86 may help you if xconfig does not; they are the commands xf86config, which runs in text mode, and XF86Setup, which has a point and click interface. If you try using XF86Setup, be sure to read the onscreen instructions carefully.
After you get X working, you can enable xlogin by modifying the line of /etc/ttys which executes the command /etc/athena/dm to be on rather than off, and then running the command kill -HUP 1.
attach netbsd
/mit/netbsd/bin/dospart
mount /dosc
It will be mounted automatically on subsequent reboots.
Document revision: . The latest version of this document may be obtained in person from the SIPB office (W20-557), or may be printed out with: attach sipb; dvips -hduplex -Pprinter /mit/sipb/doc/netbsd-install.dvi.