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.2 CD into the CD-ROM.
  3. At the DOS prompt, change the drive to the CD-ROM drive (:).
  4. Type Install.
  5. At the Kernal Configuation Menu, choose Start Kernal Configuration in 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. In the Welcome to FreeBSD (2.2.2 Release) window, highlight and select 5. Novice - Begin a Novice Installation.
  12. Press OK in the message window.
  13. Highlight the unused partition (should aleady be highlighted and last one in list).
  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.
  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 and Return to continue.
  30. In the FreeBSD 86 3.2 Distribution window, highlight and select the installing all the compnents option. Press Return to continue.
  31. In the window about installing DES cryptographic software, select Yes.
  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.
  34. In the Choose Installation Media window, highlight and select 1. CDROM - Install from a FreeBSD CDROM.
  35. Select OK in the next window and installation should occur.
  36. When the installation is finished installing, a message box should appear, telling you it was sucessfully installed. Press OK.
  37. 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. Configure Samba for connecting NETBUI clients - Yes if networking with Windows machines, No if not. (Probably not)
    3. Will machine be an IP Gateway - Yes if it is, No if not. (Probably not)
    4. Allow anonymous FTP connections - Yes if networking, No if not.
    5. Configure as a NFS server - Yes if going to be server, No if not.
    6. Congigure as a Web server - Yes if going to be server, No if not.
    7. 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
    8. 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 EDT is reasonable.
    9. Answer Yes to the question about having a mouse attached. Select the PS/2 Style Mouse.
    10. When asked if you would like to configure the X-server, answer Yes.
      1. Select XF86Setup from the menu.
      2. Select the graphic mode option.
      3. Do Not Move the Mouse until you have configured the settings.
      4. Use "P" to select the PS/2 option for the type of mouse.
      5. Using the tab key, move to the drivers, and choose /dev/psm() and press Return.
      6. Press A to apply the changes.
      7. You can now use the mouse to configure the card. To do this, just click on the video card tab.
      8. Highlight the card in the list that your computer contains. You can find this information in the video card manual.
      9. Next, Highlight the Monitor tab. Select either the SVGA 1024x768 choice to be safe or you can select the High-Frquency SVGA, 1024x768 @ 70Hz, if you know your monitor can handle it.
      10. Select Exit and the X Video Tune will appaer. Here, you can change the server resolution by using Ctrl-Alt-+ or Ctrl-Alt-- on the numeric keypad.
      11. After you are finished configuring, choose to save and exit.
      12. Answer Yes to the question about writing the Config File.
      13. Answer Yes to the question about making a symbolic link.
      14. Choice OK in the message box about successfully linking.
    11. The next question asks if you would like to display the package collection. Select Yes.
    12. For the Editors, select Xemacs-19.15 and gvim-4.6.
    13. For the Shells, select pdksh-.2.12 and tcsh-6.07.02.
    14. For the X11, select fvwm95-2.0.43a.
    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. Next, highlight Add User and the type in the Login ID, Group, Password, Full Name, and home directotory for that user and press OK.
    20. Next, it asks to set the system manager's password - Answer Yes.
    21. Type in the new password and press Return and then type in the same password, again.
    22. 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.
    23. The next question asks to visit general configurations menu for a chance to set any last options - Answer No.
    24. At the main menu, select Exit and answer Yes to are you sure.
    25. 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