Monkey Linux.

ML101: Installation and Configuration on a PC running DOS or Windows.

 

 

 

 

  • Jose C. Lacal

    pepe@antequera.com

    Rev. 1.0 Final, 05/31/98 by Jose C. Lacal.

    This is an edited, much expanded and upgraded version of the original Monkey Linux documentation dated 05/09/97 by Milan Kerslager. The original document is available at http://sunsite.unc.edu/pub/Linux/distributions/monkey/docs/english.htm

  • Table of Contents

    Table of Contents *

    2. Objective of this Document *

    3. What is Monkey Linux? *

  • Monkey Linux’s Features: *

    Software in Monkey *

    Minimum Hardware Requirements *

    Supported Hardware *

    Hardware Supported by Additional Packages *

  • 4. Assumptions *

    5. Installation *

  • 1) Preparing floppy disks *

    2) Create bootable diskette *

    3) Create boot-up files *

    4) Download Monkey files *

    5) Download the arj.exe un-compressing utility: *

    6) Install compressed files *

    7) Uncompress Monkey files: *

  • 6. Customizing linux.bat *

  • How linux.bat Works *

    Drive Definition *

    Partition Number *

    Modify linux.bat *

    Using fdisk *

  • 7. Configuring Additional Packages *

    8. Descriptions of Additional Packages *

  • Apache 1.1.3 *

    DosEmu 0.64.4 *

    GCC 2.7.2 for kernel compilation *

    Kernel source 2.0.30 *

    Manual pages *

    Netscape Navigator Gold 3.01 *

    Sendmail 8.8.5 with Pine *

  • 9. Running Monkey Linux *

  • Start *

    Stop / Reboot *

  • 10. Uninstalling Monkey Linux *

    11. What is the Volks-PC Initiative? *

    12. Basic Troubleshooting *

  • Start-up problems *

    Reporting a Problem *

  • 13. Installation Checklist *

    1. Summary

    This document contains detailed instructions on how to install and configure a small Linux distribution, called "Monkey Linux" in a PC running DOS or any version of Microsoft Windows (3.x / 95 / NT 4.0) with a minimum of time wasted and with no risk whatsoever to your existing DOS or Windows configuration. You can also install Monkey Linux on a 386 / 486 PC with 04 MB RAM and a 100 MB HD.

    Usually Linux distributions require you to repartition your hard disk in order to install Linux on its own partition. With Monkey Linux you can simply extract all the files to one directory on your existing DOS or Windows partition - FAT only. Monkey Linux will run on an MSDOS FAT, and possibly FAT32, but not NTFS partition. Monkey Linux allows you to experiment with Linux everywhere you want, on your desktop or on your laptop. You do not need to know anything about fdisk, ext2, bootdisk, rootdisk, etc.

    Monkey Linux is not really a complete distribution - use Slackware, Red Hat, or OpenLinux for that. What makes Monkey so attractive is that it can be your first step into Linux with the least amount of effort.

     

    2. Objective of this Document

    This document is a compilation of my experience (and frustrations) installing, configuring and debugging Monkey Linux (from now on "Monkey"). I have found Monkey to be a very useful way to learn Linux with the least amount of pain. For all its merits, Monkey lacks severely on the documentation side. Newbies will find some areas of installing and configuring Monkey to be overly complicated and obscure.

    Since I have invested so much time playing with Monkey, I decided to compile all my notes in a coherent fashion for the benefit of other users. "You shall give back to the Internet."

    This document is freely distributable as long as you do not charge for its distribution (except for reproduction costs), and you must reproduce the text verbatim. Comments, questions, corrections and suggestions are encouraged. Send them to Jose C. Lacal at pepe@antequera.com

    From now on I will use the generic term "Windows" to refer to all versions of Microsoft Windows (3.x / 95 / NT 4.0), unless specifically noted otherwise.

     

    Important: "Monkey Linux" is an initiative of Milan Kerslager and he deserves credit for creating this distribution. More information about Milan is available at http://sunsite.unc.edu/pub/Linux/distributions/monkey/docs/english.htm

     

    3. What is Monkey Linux?

    Monkey is a Linux distribution (kernel version 2.0.30) that runs on the same partition as DOS or Windows (FAT only). This means that you can install Monkey on your existing PC without modifying the partition structure of your hard disk.

    Monkey Linux’s Features:

    Software in Monkey

    Minimum Hardware Requirements

    Supported Hardware

    Hardware Supported by Additional Packages

     

    4. Assumptions

    In order to make this instructions as brief as possible, this document assumes the following:

    5. Installation

    These are the steps necessary for installing Monkey in your PC. You will need 08 blank, new 1.44 Mb floppy diskettes with labels, and about 45 minutes of time.

    Note: For your added convenience, please refer to the attached section 13. Installation Checklist below. Make a copy of it and use it from now on as your roadmap to a successful Monkey installation and configuration.

    (Windows) Since all of the installation activities listed herein can be performed under Windows, you can multitask while installing Monkey and perform other activities at the same time.

      1. Preparing floppy disks
      1. Create bootable diskette

    In order to boot Monkey your PC needs to have a "clean" memory, meaning no excess drivers and utilities loaded in memory during the start-up process. You will create a bootable DOS diskette that will be customized to boot into Monkey Linux without any additional intervention.

    Note: By booting up from the bootable diskette you will not have to modify any of your existing DOS or Windows configuration files. This way you completely eliminate any possible risk of affecting your existing DOS or Windows setup.

      1. Create boot-up files

    You need to create two "clean" boot-up files in the floppy labeled "Monkey Linux bootable."
    Use Windows Notepad / Wordpad to enter the following text into the files below, and save them in the floppy disk. Modify the drive letters and directory names as appropriate for your own PC.

    Warning: Make extra sure you save both files with their appropriate extensions (.bat and .sys respectively) and NOT as .txt files.

      1. Download Monkey files

    The fastest repository for the Monkey Linux files is ftp://sunsite.unc.edu/pub/Linux/distributions/monkey/

    This list indicates the files you need to download, as well as which floppy disk each file should be copied to.

    Floppy Labeled:

    File(s):

    MB:

    Notes:

    Monkey Linux 1 Mlinux06.a01

    1.38

     
    Monkey Linux 2 Mlinux06.a02

    1.38

     
    Monkey Linux 3 Mlinux06.a03

    1.38

     
    Monkey Linux 4 Mlinux06.a04

    1.16

     
    Monkey Linux 5 Mlinux06.arj

    1.38

     
    Monkey Linux Packages 1 Apache.tgz
    dosemu.tgz
    manpages.tgz

    0.08
    0.41
    0.74

    These files are under the /packages sub-directory.
    Monkey Linux Packages 2 Sendmail.tgz

    1.10

     

    Important Note: The reason why you are asked to save the Monkey files to floppies is so that you can take them and install Monkey in your home / office / club / friends’ PC. Spread the word about Monkey and about Linux.

      1. Download the arj.exe un-compressing utility:
      2. You need to download the arj.exe utility in order to un-compress the .tgz files listed above. You can retrieve the file from ftp://ftp.std.com/pub/arj/arj250a.exe Copy it to the "Monkey Linux 4" floppy disk.
      3. Install compressed files
      4. Monkey must be installed under the \Linux directory of any hard disk you have on your PC (e.g. C:\Linux). You can install Monkey on a drive different than C: (refer to section 6. Customizing linux.bat below) but you MUST install it under \Linux.

        Create a \Linux directory in your PC’s hard disk. Copy all files from the diskettes labeled "Monkey Linux 1" to 5 to the \Linux directory.

      5. Uncompress Monkey files:

    Perform the following steps in order to uncompress the Monkey files:

    Once the uncompression process stops, you will have a multitude of new files and subdirectories under \Linux.

    6. Customizing linux.bat

    If you installed Monkey Linux in your PC’s C: drive, and you only have one partition in that disk, please proceed to section 7. Configuring Additional Packages below.

    You will need to customize the \Linux\linux.bat file if you installed Monkey on a different logical drive (D: E: or F:), or if your PC has more than one hard disk. Please see the instructions below.

    How linux.bat Works

    Entry:

    Meaning:

    Loadlin DOS-based executable that loads Linux from a FAT partition
    3mide.030 DOS filename of the compressed Linux kernel
    Root=/dev/hda1 filesystem to be mounted by Linux as "/" (root)
    Rw the "/" (root) filesystem will be mounted as read/write

     

    Drive Definition

    /dev/xxx

    HD order:

    IDE interface:

    Name:

    Had First hard disk Primary IDE controller Primary master
    Hdb Second hard disk Primary IDE controller Secondary master
    Hdc First hard disk Secondary IDE controller Primary slave
    Hdd Second hard disk Secondary IDE controller Secondary slave

     

    Partition Number

    /dev/xxxx

    Drive letter:

    Type of partition

    Order:

    Hda1 C: Primary First and only
    Hda5 D: Extended First logical
    Hda6 E: Extended Second logical
    Hda7 F: Extended Third logical

     

    Modify linux.bat

    Using fdisk

    If you can still not find the right partition number, your last resort is to use fdisk as indicated below.


    Warning: careless use of fdisk will most certainly destroy your hard disk’s partition table, and therefore all your data in that disk drive. Backup all your critical data from your PC’s hard disk and then proceed at your own risk. You have been duly warned.

    Partition #

    Type:

    System

    Notes:

      PRI-DOS   There can only be one of this type.
      EXT-DOS   Your first logical drive is here
      EXT-DOS   Your second logical drive is here
           

     

    7. Configuring Additional Packages

    Monkey has several additional packages available in addition to the standard packages included in the minimum distribution you installed above.

    Package

    Description

    Name of file

    Size (MB)

    Apache WWW server Apache.tgz

    0.08

    DOS Emu DOS Emulator Dosemu.tgz

    0.41

    GCC For self-kernel compilation Gccall.tgz

    2.60

    Kernel 2.0.30 Source code kernel 2.0.30 Kern2030.tgz

    5.20

    Manpages Manual pages Manpages.tgz

    0.74

    Netscape 3.01 WWW browser Netscape.tgz

    2.40

    Sendmail Mail transfer agent + Pine (user agent) Sendmail.tgz

    1.10

    Mach 64 Accelerated X server X32ma64.tgz

    0.68

    S3 Accelerated X server X32s3.tgz

    0.83

     

    In order to install any of the additional packages listed above, you need to:

     

    8. Descriptions of Additional Packages

    These are brief descriptions of the additional packages available with Monke.

    Apache 1.1.3

    Apache requires you to configure your PC’s network parameters (IP address, DNS, etc.).

    In order to save time configuring your Ethernet adapter (NIC), you can use Apache only with the loopback device activated. To do that, you must:

    You probably want to set these values in /var/lib/httpd/conf/srm.conf:

    DOSEmu 0.64.4

    Monkey Linux’s author reports that xdos is not available yet. He also suggests that you better be sure you know what you are doing.

    To install DOSemu proceed as follows:

    GCC 2.7.2 for kernel compilation

    This package is designed ONLY for the kernel compilation. Everything else is up to you to modify.

     

    Kernel source 2.0.30

    The author removed support for other platforms than i386. The source includes patches for FAT32 as well as older version of the driver for 3c59x NICs. The configuration file of the kernel in the Monkey Linux distribution is also included.

    Manual pages

    These are not all the manpages. This package has been reduced in size. The package contains manpages for some utilities specific to Monkey.

     

    Netscape Navigator Gold 3.01

    This package contains the original package from the Netscape FTP server. This is the old, copyrighted software, so please read the enclosed License agreement.

     

    Sendmail 8.8.5 with Pine

    In order to run Sendmail you must configure your PC’s network parameters (IP address, DNS, etc.).

     

    9. Running Monkey Linux

    Start

    Just insert the "Monkey Linux bootable" floppy disk in the A: disk drive and boot your PC up. You will be presented with the monkey login: log-in screen. Type root and hit Enter.

    Warning: You MUST boot your PC with the "Monkey Linux bootable" floppy disk in the A: disk drive every time you want to use Monkey Linux.

     

    Stop / Reboot

    To stop Monkey, do NOT, EVER just shut the PC off. Use one of the following methods:

    Upon rebooting, you will be brought back to your standard DOS or Windows environment.

     

    Please refer to a good Linux book for more information on running Linux. Remember, Monkey is Linux, so anything you learn with Monkey will be transferable to a full-blown Linux distribution in the future.

    Additional sources of information are available at:

    10. Uninstalling Monkey Linux

    If you ever need to un-install Monkey, just delete the \Linux directory from your hard disk. No more changes are necessary to your system.

     

    11. What is the Volks-PC Initiative?

    The Volks-PC Initiative is my personal campaign to create high-powered, very low-cost PC stations and servers for public school students and developing nations. I am using 386-class PCs running both Linux and Caldera DR-DOS http://www.caldera.com to accomplish this. For more details please visit my (under construction) site at http://home.antequera.com/~pepe/volks-pc.html

    The bottom line motivator for this campaign is the realization that "old PCs" (such as a 386) have a lot of usable life left in them, in spite of Microsoft’s and Intel’s claims to the contrary. And, for people on a tight budget, those PCs, paired with efficient and free software (Linux and Caldera DR-DOS), can become very powerful learning and productive tools.

    I intend to create commercial-quality documentation for all the software packages used as part of the initiative. That means clear, complete and easy-to-use installation and configuration guides.

    The following document is currently available (04/13/98):

    ML101 - Monkey Linux: Installation and Configuration on a PC running DOS or Windows.

    The following documents will be available shortly:

    ML102 - Monkey Linux: Installation and Configuration of Ethernet LAN adapters (NICs).

    ML103 – Monkey Linux: Installation and Configuration of an Internet / Intranet Server.

    ML104 – Monkey Linux: Using a PC to replace a Router.

    DR101 – Caldera DR-DOS 7.02: Installation and Configuration.

    DR102 – Caldera DR-DOS 7.02: Installation and Configuration of a Personal NetWare Network.

    As you can tell, I invested a lot of time in creating this document, which you now receive for free. If you find this document useful please consider donating any surplus 386/486 PC(s) in working order you may have. Send me an e-mail at pepe@antequera.com and I will send you my shipping address in Florida, USA.

     

    12. Basic Troubleshooting

    Start-up problems

    These are the most common problems when trying to boot Monkey:

    Reporting a Problem

    According to Monkey’s author, he does not provide technical support for Monkey. To the extent of whatever free time I have, I will try to answer any question related to installing and configuring Monkey.

    Before you submit a problem report, please make sure you do the following:

     

    Pending issues:

     

    13. Installation Checklist

    Date: ___________ Your name: __________________________ City, Country: ________________

    Your e-mail address: __________________________________ Join Volks-PC mailing list? _____

    Computer name: ______________

    CPU: ______ RAM: ______ MB HD _______ MB

    Operating system:

    Directory where you installed Monkey: ___________

    If you need Technical Support, please answer all the questions above and below. Then send this entire section, via e-mail, to Jose C. Lacal at pepe@antequera.com

    Describe the problem, in your own words:

     

     

     

     

     

    Please write down the EXACT error messages you see:

     

     

     

     

     

     

    Finally, what do YOU think is the problem?