UNIX Installation


Making a Boot Floppy

  1. Place a blank floppy into the floppy drive.
  2. In DOS, at the C: prompt, type SYS A: to copy the system files to the floppy. (A: is the name of the floppy drive)
  3. After the system is finished coping, copy the config.sys and the autoexec.bat files from the computer to the floppy.
  4. Copy the CD driver to the floppy.
  5. Copy the command files - fdisk and fips - to the floppy.
  6. This is now your boot floppy.

Partitioning the Disk Drive

A partition for each Operating Sytem that is going to be installed is needed - Windows 95, Unix, and Windows NT. You can partition the drive in one of two ways:

Partitioning the Drive Using fdisk

  1. Using your boot floppy, boot your computer; it should boot to DOS.
  2. Type fdisk at the prompt.
  3. If asked about enabling large disk support, answer No.
  4. Now you must delete all existing partitions. WARNING: This will delete anything and everything - so be CAREFUL! To do this, follow the instructions below:
    1. At the main menu, choose 3. Delete Partition or Logical DOS Drive.
    2. At the next menu, choose the partition you would like to delete. Delete all Non-DOS Partitions first, then Extended DOS Partitions, and then finally, Primary DOS Partitions.
      To delete Logical Drives:
      • Enter the name of the Drive (usually D:).
      • Enter the Volume Label of the partition being deleted.
      • Enter Y to continue.
      To delete Primary Drives:
      • Enter the number of the partition (usually 1).
      • Enter the Volume Label if one is given.
      • Enter Y to continue.
    3. After deleting a partition, it should take you back to the main menu. If you have deleted all your partitions, then continue; if not, continue deleting partitions until all are deleted.
  5. Next at the main menu, choose 4. Display Partition Information. There should be no partitions listed. If there are, you need to go back, and delete the ones that are listed. Press Esc to return to the main menu when finished viewing.
  6. At the main menu, choose 1. Create DOS Partition or Logical DOS Drive.
  7. At the next menu, choose 1. Create Primary DOS Partition.
  8. Answer N to the question about the maximum available size for a Primary DOS Partition.
  9. Enter the size for the Windows 95 partition. (For a 3 gig machine, 1.25g should be used.)
  10. Press Esc to return to the main menu.
  11. At the main menu, choose 1. Create DOS Partition or Logical DOS Drive.
  12. At the next menu, choose 2. Create Extended DOS Partition.
  13. Enter the size for the Windows NT partition. (Use .75g for a 3 gig machine.)
  14. Press Return to the next question.
  15. Press Esc to return to the main menu.
  16. At the main menu, choose 2. Set Active Partition.
  17. Enter the number of the Primary Partition that will be active. This is usually drive number 1.
  18. Enter Esc to return to the main menu.
  19. Press Esc to Exit fdisk.
  20. Press Esc to Exit to DOS.
  21. Reboot your computer with the boot floppy.
  22. When the computer has booted, Format the two partitions that have just been made:
  23. Once the partitions are formatted, you are finished with partitioning the drives, and are ready to install the different operating systems.

Installing Windows 95

  1. Boot the computer with the boot floppy
  2. Place the Windows 95 CD in the CDROM Drive.
  3. At the DOS prompt, go to the CDROM Drive.
  4. Run the set-up program by typing setup.
  5. Press Return to continue.
  6. In ScanDisk, tab to Exit and press Return.
  7. In the Windows 95 SetUp Window, choose Continue.
  8. After reading the agreement license, press Yes.
  9. In the Windows 95 SetUp Wizard, press Next.
  10. Choose the directory for Windows 95 to be copied to, and then press Next. It is suggested to use the default directory.
  11. Choose Typical for the SetUp Options and press Next.
  12. Type in the Product Number and press Next. The Product Number is found at the bottom of the Certificate of Authenticity.
  13. Type in the User Information (name and company) and press Next.
  14. In the Analyzing Your Computer window, check if you have the hardware, and then press Next.
  15. In the Windows Components window, select Install th Most Common Components (recommended) and press Next.
  16. In the StartUp Disk window, choose Yes if you would like a SartUp disk, No if you do not.
  17. Press Next to continue the installation.
  18. Remove any floppies in your disk drive.
  19. In the Finishing SetUp window, press Finish. This will reboot your computer.
  20. After the computer boots up, it will ask to set the time and date. After the time and date are set, press Apply and then OK.
  21. Install your printer by presing Next.
  22. Choose a printer and manufacturer in the window and press Next.
  23. Choose a port in the next window and press Next.
  24. Type in the printer name and press Next.
  25. Choose either Yes to test the printer or No to continue. Then press Finish. This installed your print driver.
  26. After the printer is installed, it will ask you to reboot the computer. Press OK.
  27. It will boot up into Windows 95.

Installing UNIX

  1. Boot your computer with the boot floppy you have made. Depending on the hardware/software, you may not see the CD-ROM drive without setting it up first. If this is the case, you can run the makeflp.bat script from the view.exe program on the CD-ROM to make a second boot floppy. This is the "Installation boot floppy" that the CD documents talk about. This was also done in class.
  2. Insert the FreeBSD 2.2.8 CD into the CD-ROM.
  3. At the DOS prompt, change the drive to the CD-ROM drive (:).
  4. Type Install.
  5. At the Kernel Configuation Menu, choose Start kernel configuration in full-screen visual mode.
  6. Go down each category and delete all conflicts. Do not delete the Syscon Driver, even if there is a conflict. Also, make sure all device drivers for your hardware are still active.
  7. Under the Input Devices category, delete MicroSoft Bus Mouse.
  8. In the Inactive Drivers section, under the Input Devices category, higlight PS/2 Mouse and press Return. This will cause a conflict, but it is okay to have this one conflict.
  9. Whe finished, type Q to save and exit.
  10. Answer Y(es) to save the parameters before exiting.
  11. At the /stand/sysinstall Main Menu, highlight and select 5. Novice - Begin a novice installation (for beginners).
  12. Press OK in the Message window.
  13. Highlight the unused partition (should aleady be highlighted and last one in list). You can double check that you are installing to the appropriate partition by comparing the partition size (in the Size column) to known partitions.
  14. Type C to create a FreeBSD partition from the unused one.
  15. Type in the size for the FreeBSD partition, it should be all the space left, so just select OK.
  16. Use the default and press OK.
  17. Press Q to continue.
  18. In the Install Boot Manager window, make sure the BootMgr option is selected and press OK.
  19. Read the next message and press OK.
  20. In the FreeBSD Disklabel Editor screen, make sure the top line is highlighted.
  21. Press C to create the / partitions within the FreeBSD partition.
  22. Type in the size for the / partition. The recommended size is 50M. Choose FS for a file system. Type in / for the mount point of the partition.
  23. Type C to create the /var partition. Type in the size for /var partition. The suggested size is 30M. Choose FS for a file system. Type in /var for the mount point of the partition.
  24. Type C again to create the swap partition. Type in the size for the swap partition. The suggested size is 160M. Choose Swap.
  25. Type in C to create the /usr partition. Type in the size of the /usr partition. It is suggested to have all remaining space go the the /usr partition. Choose FS for a file system. Type in /usr for the mount point of the partition.
  26. Highlight the first partition listed. It should have DOS under the Newfs column. If the partition type of this partition is not FAT (NTFS, for example), FreeBSD will not be able to read the files on it, and therefore you should not do this or the next step. If you tell FreeBSD to mount an unreadable partition, there will be an error which will halt the boot process.
  27. Press M to mount, and then type /DOS.
  28. Choose Q to continue.
  29. In the Choose Distribution window, highlight the All option. Press the space bar to select it.
  30. In the window about installing DES cryptographic software, select Yes.
  31. In the window for selecting encryption facilities, press space to select Basic DES encryption services. Then press enter for OK.
  32. In the window about installing FreeBSD posrts collection, select Yes.
  33. In the Choose Distribution window, User and X-User should be selected. Press OK. You will need to repeat the above two steps when you choose each of those options.
  34. In the XFree86 3.3.3 Distribution window, highlight the All option and press Return. Then scroll down to Exit and press Return.
  35. This will return you to the Choose Distribution menu. Press enter for OK.
  36. In the Choose Installation Media window, highlight and select 1. CDROM - Install from a FreeBSD CDROM.
  37. Select Yes in the User Confirmation Requested window and installation should occur.
  38. When the installation is finished installing, a message box should appear, telling you it was sucessfully installed. Press OK.
  39. For the next set of questions follow the intructions below:
    1. Configure Ethernet or SLIP/PPP network devices - Yes if networking, No if not.
    2. Will machine be an IP Gateway - Yes if it is, No if not. (Probably not)
    3. Allow anonymous FTP connections - Yes if networking, No if not.
    4. Configure as a NFS server - Yes if going to be server, No if not.
    5. Configure as a NFS client - Yes if going to be client, No if not.
    6. Customize your system console settings - Yes
      Font IBM 437 English (press space bar and then OK)
      Keymap U.S. ISO Unites States ISO keymap (space bar and OK)
      Repeat Default (space bar and OK)
      Saver Choose any that you like
      ScreenMap Default - no screen map
    7. Set the time zone:
      1. Answer No to the question about the CMOS clock being set to UTC.
      2. For the Time Zone Selector - select 2. North and South America.
      3. Then select 45. United States for the country.
      4. Next, select 1. Eastern Time for the time zone.
      5. Answer Yes to the question if EST is reasonable.
    8. Answer Yes to the question about having a mouse attached.
    9. Select the Type and Port for your mouse. You can verify your selections by choosing the Enable option and seeing if the mouse works. When you have your mouse working, choose Exit.
    10. When asked if you would like to configure the X-server, answer Yes.
      1. Select Xf86config to run the shell-script based XFree86 configuration tool.
      2. Hit OK to continue.
      3. Read the message on the screen. For all the entries in the shell script it is important that you read the messages on the screen. At this point you should know the type of video card you have, the amount of memory on that card, and the horizontal and vertical sync ranges of your monitor. If you don't know this information, you can press Control-C to abort the X-Windows configuration and take care of it later.
      4. Choose the protocol for the type of mouse you have by typing a number and pressing Return.
      5. If you have a two-button mouse, type y, otherwise, type n and Press Return.
      6. Press Return at the Mouse device: prompt.
      7. Type y to use XKB.
      8. Press Return
      9. Choose your keyboard from the list.
      10. Press Return.
      11. Choose the horizontal sync range of your monitor from the list.
      12. Choose the vertical sync range of your monitor
      13. Press Return instead of typing an identifier for your monitor definition.
      14. Press Return for the vendor and brand names of your monitor
      15. Type Y to look at the card database.
      16. Choose your video card from the database. If your card is not listed, do not guess this information.
      17. Press enter to continue.
      18. Press 5 to choose the server from your card definition.
      19. Type y to set the symbolic link.
      20. Choose the amount of video memory you have on your video card.
      21. Press enter instead of typing an identifier for your video card definition.
      22. Press enter for the vendor name of your video card and then again fro the model of your video card.
      23. Press q to quit without selection of a RAMDAC.
      24. Press Return at the Clockchip setting prompt.
      25. Press n because you don't want to run X-probeonly.
      26. Choose 1 to change the modes for 8pp.
      27. Type 432 at the "which nodes" prompt.
      28. Answer n to the virtual screen question.
      29. Choose 5 to continue.
      30. Answer y to write to /etc/XF86Config.
    11. The next question asks if you would like to display the package collection. Select Yes.
    12. For the Editors, select Xemacs-19.16 and vim-4.6.
    13. For the Shells, select pdksh-5.2.13 and tcsh-6.08.00.
    14. For the x11-wm, select fvwm-2.0.46.
    15. Select Install.
    16. Press OK for the Package Targets window and wait until the installation is over.
    17. The next question asks if you would like to add any user accounts to the system - Answer Yes.
    18. Highlight Add Group and then type in the Group Name and press OK.
    19. Enter users in the Group name field and select OK.
    20. Next, highlight Add User to create your account on the machine and type in the following information:
      Login ID The login name for your account
      Group users
      Password Your password
      Full Name Your full name
      Member Groups Leave blank
      Home directory /home/jrotter where "jrotter" is replaced by your login ID
      Login Shell /usr/local/bin/ksh
    21. Select Exit from the User and group management window.
    22. Next, it asks to set the system manager's password - Press Return.
    23. Type in the new password and press Return and then type in the same password, again.
    24. The next question asks to register the FreeBSD system at this time. It is a good idea to register, but if you do not have the network setup, then you will not be able to.
    25. The next question asks to visit general configurations menu for a chance to set any last options - Answer No.
    26. At the main menu, select Exit Install and answer Yes to are you sure.
    27. Reboot your machine, if it asks for the login id and password, you have successfully installed Unix.

Unix Configurations

  1. In the home directory of all users who want to run X-windows, you must create a .xsession file.

    To do this, simply create a text file called .xsession with your favorite text editor, and put the following lines in it:

    #Start an xterm
    xterm &

    #Run the window manager
    exec fvwm2

  2. Change the permissions on each .xsession file so that the owner has read and write access to the file:

    chmod 755 .xsession

  3. Now, as root, edit the file /etc/rc.local and put the following at the very end of the file:

    #Start X-windows
    /usr/X11R6/bin/xdm

    These changes will run X-windows when the computer boots up.

  4. X-Windows should now run on startup. If you want to test this, you can reboot your machine by typing shutdown -r now or you can just start X-Windows by running /usr/X11R6/bin/xdm as root.

  5. If you have display problems, or you need to kill X, you can always return to the text interface by hitting Control-Alt-F1(or Ctrl-Alt-F2 or Ctrl-Alt-F3). You can reconfigure your video card settings by running /stand/sysinstall and going to the "Post-Install Configuration" option. Then choose "Configure XFree86" and run the "Shell-Script Based XFree86 Configuration Tool". In the shell script, you will be prompted for your keyboard type, your mouse type, your video card type and its refresh rate.
  6. If you try X-windows and there is a "Scan Out of Range" error, you may need to download a driver off the FreeBSD Homepage. All the information should be there.

Installing Windows NT

  1. Place the Windows NT disk in the disk drive, and turn on the computer.
  2. When prompted to insert Disk #2, do so, and press Return.
  3. At the Windows NT Workstation Setup screen, press Return to install Windows NT.
  4. On the next screen about automatically detecting floppies, press Return to continue, unless you would like to select your own hardware, then select S.
  5. When asked to insert disk #3, do so and press Return.
  6. On the next screen about mass storage devices, press Return to continue or S to specify additional storage devices.
  7. Read the license agrement (Page Down) and pess F8 to agree.
  8. On the next screen about hardware detection, highlight (move cursor to) the line The above list makes up my computer and press Return. If it doesn't, then highlight the device needed to be changed and press Return to see an alternate list, select your option and press Return.
  9. On the screen about partitioning, highlight the partition in which NT will be copied to (usually D) and press Return.
  10. Read the next screen and press Return.
  11. On the next screen about installing on the partition, highlight Leave the current file system intact and press Return.
  12. On the next screen about installing to a directory, use the default directory, and press Return.
  13. On the screen about examining hard drives, press Return.
  14. The system should examine the hard drive, and then copy files.
  15. When it is finished, a meassage telling you the system has completed will appear.
  16. It will then ask to reboot your machine - answer Yes.
  17. When the DOS/UNIX menu appears, choose F1 - DOS.
  18. When it boots into NT, it will ask to put in the Windows NT CD, do so and press Return.
  19. Click Next at the NT Setup window.
  20. For the Setup options, select Typical, and click Next.
  21. Enter your Name and Organization, and press Next.
  22. Enter the CD key which is found on the back of the CD case and press Return.
  23. Enter a name for your computer and press Next.
  24. Enter the administration account and password and press Return.
  25. When asked if you would like an Emergency Repair Disk, select Yes if want one, No if you don't.
  26. For the Network screen, if you are not going to network, then highlight the first option. If you are going to network, then highlight the second option.
  27. At the Setup Window, 3. Finishing Setup should be selected, press Next.
  28. Next, set the time zone. Click on the drop down button and choose Eastern Time (US & Canada) (Use the up arrow). Set the time and date and then click close.
  29. At the detected Display window, read it and press OK.
  30. At the Display Properties Window, press OK.
  31. The system will then copy files and save configurations.
  32. A confirmation window will appear, telling you Windows NT has been installed properly. Take out all floppies and CD's, and then press Restart Computer. It will then reboot.
  33. AT the DOS/UNIX menu, choose F1 - DOS.
  34. The NT menu should be displayed, choose Windows NT.
  35. Windows NT should come up, if it does, press Ctrl-Alt-Delete to login.
  36. Login and NT should start.
  37. YOU ARE FINISHED!

    Last modified: Mon Oct 1 22:27:17 EDT 1997