home *** CD-ROM | disk | FTP | other *** search
/ Dream 46 / Amiga_Dream_46.iso / bo / disks-i386 / 1997-05-30 / install.txt < prev    next >
Text File  |  1997-06-03  |  49KB  |  996 lines

  1.  
  2.                         Installing Debian GNU/Linux 1.3
  3.                                        
  4. About Copyrights and Software Licenses
  5.  
  6.    I'm sure you've read the licenses that come with most commercial
  7.    software - they say you can only use one copy of the software on one
  8.    computer. The Debian GNU/Linux System isn't like that. We encourage
  9.    you to put a copy on every computer in your school or place of
  10.    business. Lend it to your friends, and help them install it on their
  11.    computers. You can even make thousands of copies and sell them - with
  12.    a few restrictions. That's because Debian is based on free software.
  13.    
  14.    Free software doesn't mean that it doesn't have a copyright, and it
  15.    doesn't mean that the CD you buy containing this software is
  16.    distributed at no charge, it simply means that the licenses of
  17.    individual programs do not require you to pay for the privilege of
  18.    copying the programs. There are other sorts of restrictions on how you
  19.    copy the software, which you can read about once you've installed the
  20.    system. For example, many of the programs in the system are licensed
  21.    under the GNU General Public License, or GPL. The GPL requires that
  22.    you make the source code of the programs available whenever you
  23.    distribute a copy of the program. Thus, we've included the source code
  24.    for all of those programs in the Debian system. There are several
  25.    other forms of copyright and software license used on the programs in
  26.    Debian. You can find the copyrights and licenses of every program by
  27.    looking in the directory /usr/doc/program-name/copyright once you've
  28.    installed your system.
  29.    
  30.    The most important legal notice is that this software comes with no
  31.    warranties. People who write free software can't afford to be sued.
  32.    
  33. System Requirements
  34.  
  35.   CPU
  36.   
  37.    Your computer must have a 386, 486, Pentium, or Pentium Pro processor,
  38.    or one of the clones of those processors made by manufacturers such as
  39.    Cyrix, AMD, TI, IBM, etc. If your processor has letters like "sx",
  40.    "sl", "slc", etc. after the number as in "386sx", that's fine. The
  41.    system will not run on the 286 or lower processors.
  42.    
  43.   I/O Bus
  44.   
  45.    Your computer must use the ISA, EISA, PCI, or VL bus. The VL bus is
  46.    also known as VESA Local Bus or VLB. Computers that have PCI or VLB
  47.    generally have ISA or EISA slots as well. Linux offers some support
  48.    for the Micro-Channel bus used in IBM PS/2 computers, but this is not
  49.    included on the Debian rescue disk.
  50.    
  51.   RAM and Disk
  52.   
  53.    You must have at least 4MB of RAM and 40MB of hard disk. If you want
  54.    to install everything from the chess game through the printed-circuit
  55.    design software, you'll need 300MB or more. The disk interfaces that
  56.    emulate the "AT" hard disk interface which are often called MFM, RLL,
  57.    IDE, or ATA are supported. SCSI disk controllers from many different
  58.    manufacturers are supported. See the [1]Linux Hardware Compatibility
  59.    HOWTO for more details.
  60.    
  61.   Floppy Disk
  62.   
  63.    You must have a 1.2MB or 1.44MB floppy disk drive as the a: drive in
  64.    the system upon which you will install Linux. If you have both a 1.2MB
  65.    and a 1.44MB drive, you could configure the hardware so that the
  66.    1.44MB drive is a:, if this is not too difficult.
  67.    
  68.   Display
  69.   
  70.    You should be using a VGA-compatible display interface for the console
  71.    terminal. Nearly every modern display card is compatible with VGA.
  72.    CGA, MDA, or HGA might work OK for text, but they won't work with the
  73.    X Window System, and we haven't tested them. Use of a serial terminal
  74.    for the console is not yet supported.
  75.    
  76.   Other Hardware
  77.   
  78.    Linux supports a large variety hardware devices such as mice,
  79.    printers, scanners, modems, network cards, etc. However, none of these
  80.    devices are required while installing the system.
  81.    
  82. Before You Start
  83.  
  84.   Backups
  85.   
  86.    Before you start, make sure to back up every file that is now on your
  87.    system. The installation procedure can wipe out all of the data on a
  88.    hard disk!
  89.    
  90.   Information You'll Need
  91.   
  92.    Besides this document, you'll need the [2]cfdisk manual page, the
  93.    [3]Dselect Tutorial, the [4]Linux Hardware Compatibility HOWTO, and
  94.    the [5]X11 Release note for non-US-keyboard users.
  95.    
  96.    If your computer is connected to a network, you should ask your
  97.    network's system administrator for this information:
  98.    
  99.      * Your host name (you may be able to decide this on your own).
  100.      * Your domain name.
  101.      * Your computer's IP address.
  102.      * The netmask to use with your network.
  103.      * The IP address of your network.
  104.      * The broadcast address to use on your network.
  105.      * The IP address of the default gateway system you should route to,
  106.        if your network has a gateway.
  107.      * The system on your network that you should use as a DNS (Domain
  108.        Name Service) server.
  109.      * Whether you connect to the network using Ethernet, and whether
  110.        your Ethernet interface is a PCMCIA card.
  111.        
  112. Configuring Your System
  113.  
  114.   Disks
  115.   
  116.    There are some hardware details you should look into. First, decide
  117.    which disk you want to place the Linux system on. You've backed that
  118.    up along with your other disks already, right?
  119.    
  120.   The BIOS Set-Up Menu
  121.   
  122.    Your motherboard probably provides a BIOS set-up menu. Some systems
  123.    start this menu if you press DEL while the system is booting, some
  124.    require a SETUP disk, and some have other means of invoking the BIOS
  125.    set-up menu. If you can start this menu, use it to control the
  126.    features discussed in the following several paragraphs.
  127.    
  128.   Boot Device Selection
  129.   
  130.    Many BIOS set-up menus allow you to select the devices that will be
  131.    used to bootstrap the system. Set this to look for a bootable
  132.    operating system on a:, (the first floppy disk), and then c: (the
  133.    first hard disk). Since you'll boot Linux from a floppy while
  134.    installing it, it's important that the BIOS enables booting from a
  135.    floppy disk.
  136.    
  137.   Extended vs. Expanded Memory
  138.   
  139.    If your system provides both extended and expanded memory, set it so
  140.    that there is as much extended and as little expanded memory as
  141.    possible. Linux requires extended memory and can not use expanded
  142.    memory.
  143.    
  144.   Virus Protection
  145.   
  146.    Disable any virus-warning features your BIOS may provide. If you have
  147.    a virus-protection board or other special hardware, make sure it is
  148.    disabled or physically removed while running Linux. These aren't
  149.    compatible with Linux, and Linux has a better method of protecting you
  150.    from viruses.
  151.    
  152.   Shadow Ram
  153.   
  154.    Your motherboard probably provides shadow RAM. You may see settings
  155.    for "Video BIOS Shadow", "C800-CBFF Shadow", etc. Disable all shadow
  156.    RAM. Shadow RAM is used to accellerate access to the ROMs on your
  157.    motherboard and on some of the controller cards. Linux avoids using
  158.    these ROMs once it has booted because it provides its own faster
  159.    32-bit software in place of the 16-bit programs in the ROMs. Disabling
  160.    the shadow RAM may make some of it available for programs to use as
  161.    normal memory. Leaving the shadow RAM enabled may interfere with Linux
  162.    access to hardware devices.
  163.    
  164.   Advanced Power Management
  165.   
  166.    If your motherboard provides Advanced Power Management (APM),
  167.    configure it so that power management is controlled by APM. Disable
  168.    the doze, standby, suspend, nap, and sleep modes, and disable the
  169.    hard-disk power-down timer. Linux can take over control of these
  170.    modes, and can do a better job of power-management than the BIOS. The
  171.    version of the operating system kernel on the installation floppies
  172.    does not, however, use APM, because we've had reports of one laptop
  173.    system crashing when the Linux APM driver is configured. Once you've
  174.    installed Linux, you can install the kernel-source package and build a
  175.    custom-configured version of the operating system kernel to enable APM
  176.    and other features.
  177.    
  178.   The Turbo Switch
  179.   
  180.    Many systems have a turbo switch that controls the speed of the CPU.
  181.    Select the high-speed setting. If your BIOS allows you to disable
  182.    software control of the turbo switch (or software control of CPU
  183.    speed), do so and lock the system in high-speed mode. We have one
  184.    report that on a particular system, while Linux is auto-probing
  185.    (looking for hardware devices) it can accidentaly touch the software
  186.    control for the turbo switch.
  187.    
  188.   Over-Clocking your CPU
  189.   
  190.    Many people have tried operating their 90 MHz CPU at 100 MHz, etc. It
  191.    sometimes works, but is sensitive to temperature and other factors and
  192.    can actually damage your system. The author of this document
  193.    overclocked his own system for a year, and then the system started
  194.    aborting the gcc program with an unexpected signal while it was
  195.    compiling the operating system kernel. Turning the CPU speed back down
  196.    to its rated value solved the problem.
  197.    
  198.   Bad RAM
  199.   
  200.    The gcc compiler is often the first thing to die from bad RAM (or
  201.    other hardware problems that change data unpredictably) because it
  202.    builds huge data structures that it traverses repeatedly. An error in
  203.    these data structures will cause it to execute an illegal instruction
  204.    or access a non-existant address. The symptom of this will be gcc
  205.    dying from an unexpected signal.
  206.    
  207.    The very best motherboards support parity RAM and will actually tell
  208.    you if your system has a single-bit error in RAM. Unfortunately, they
  209.    don't have a way to fix the error, thus they generally crash
  210.    immediately after they tell you about the bad RAM. Still, it's better
  211.    to be told you have bad memory than to have it silently insert errors
  212.    in your data. Thus, the best systems have motherboards that support
  213.    parity and true-parity SIMMs.
  214.    
  215.   Fake or ("virtual") Parity RAM
  216.   
  217.    If you ask for Parity RAM in a computer store, you'll probably get
  218.    virtual parity SIMMs instead of true parity ones. Virtual parity SIMMs
  219.    can often (but not always) be distinguished because they only have one
  220.    more chip than an equivalent non-parity SIMM, and that one extra chip
  221.    is smaller than all the others. Virtual-parity SIMMs work exactly like
  222.    non-parity memory. They can't tell you when you have a single-bit RAM
  223.    error the way true-parity SIMMs do in a motherboard that implements
  224.    parity. Don't ever pay more for a virtual-parity SIMM than a
  225.    non-parity one. Do expect to pay a little more for true-parity SIMMs,
  226.    because you are actually buying one extra bit of memory for every 8
  227.    bits.
  228.    
  229.    If you do have true-parity RAM and your motherboard can handle it, be
  230.    sure to enable any BIOS settings that cause the motherboard to
  231.    interrupt on memory parity errors.
  232.    
  233.   Cyrix CPUs and Floppy Disk Errors
  234.   
  235.    Many users of Cyrix CPUs have had to disable the cache in their
  236.    systems during installation, because the floppy disk has errors if
  237.    they do not. If you have to do this, be sure to re-enable your cache
  238.    when you are finished with installation, as the system runs much
  239.    slower with the cache disabled.
  240.    
  241.    We don't think this is necessarily the fault of the Cyrix CPU. It may
  242.    be something that Linux can work around. We'll continue to look into
  243.    the problem. For the technically curious, we suspect a problem with
  244.    the cache being invalid after a switch from 16-bit to 32-bit code.
  245.    
  246.   Multiple Processors
  247.   
  248.    We have several reports that Debian runs well (and very fast) on
  249.    systems with two (or more) Pentium or Pentium Pro processors on the
  250.    same motherboard. To take advantage of multiple processors, you'll
  251.    have to install the kernel-source package and then re-compile the
  252.    kernel with symmetric multiprocessing support enabled. At this time
  253.    (kernel version 2.0.30) the way you enable that is to edit the
  254.    top-level Makefile for the kernel and un-comment the line that says
  255.    "SMP = 1". If you compile software on a multiprocessor system, look
  256.    for the "-j" flag in the documentation on "make".
  257.    
  258.   BIOS Settings to Watch Out For
  259.   
  260.    If your BIOS offers something like "15-16 MB Memory Hole", please
  261.    disable that. Linux expects to find memory there if you have that much
  262.    RAM.
  263.    
  264.    We have a report of an Intel Endeavor motherboard on which there is an
  265.    option called "LFB" or "Linear Frame Buffer". This had two settings:
  266.    "Disabled" and "1 Megabyte". Set it to "1 Megabyte". When disabled,
  267.    the installation floppy was not read correctly, and the system
  268.    eventually crashed. At this writing we don't understand what's going
  269.    on with this particular device - it just worked with that setting and
  270.    not without it.
  271.    
  272.   Hardware Settings to Watch Out For
  273.   
  274.    If any cards provide "mapped memory", the memory should be mapped
  275.    somewhere between 0xA0000 and 0xFFFFF (from 640K to just below 1
  276.    megabyte) or at an address at least 1 megabyte greater than the total
  277.    amount of RAM in your system.
  278.    
  279.   Windows-specific Hardware
  280.   
  281.    A disturbing trend is the proliferation of Windows modems and
  282.    printers. In some cases these are specially designed to be operated by
  283.    the Microsoft Windows operating system and bear the legend WinModem or
  284.    Made expecially for Windows-based computers. This is generally done by
  285.    removing the embedded processors of the hardware and shifting the work
  286.    they do over to a Windows driver that is run by your computer's main
  287.    CPU. This strategy makes the hardware less expensive, but the savings
  288.    are often not passed on to the user and this hardware may even be more
  289.    expensive than equivalent devices that retain their embedded
  290.    intellegence.
  291.    
  292.    You should avoid Windows-specific hardware for two reasons. The first
  293.    is that the manufacturers do not generally make the resources
  294.    available to write a Linux driver. Generally, the hardware and
  295.    software interface to the device is proprietary, and documentation is
  296.    not available without a non-disclosure agreement, if it is available
  297.    at all. This precludes its being used for free software, since free
  298.    software writers disclose the source code of their programs. The
  299.    second reason is that when devices like these have had their embedded
  300.    processors removed, the operating system must perform the work of the
  301.    embedded processors, often at real-time priority, and thus the CPU is
  302.    not available to run your programs while it is driving these devices.
  303.    Since the typical Windows user does not multi-process as intensively
  304.    as a Linux user, the manufacturers hope that the Windows user simply
  305.    won't notice the burden this hardware places on their CPU. However,
  306.    any multi-processing operating system, even Windows 95 or NT, is
  307.    degraded when peripheral manufacturers skimp on the embedded
  308.    processing power of their hardware.
  309.    
  310.    You can help this situation by encouraging these manufacturers to
  311.    release the documentation and other resources necessary for us to
  312.    program their hardware, but the best strategy is simply to avoid this
  313.    sort of hardware until it is listed as working in the [6]Linux
  314.    Hardware Compatibility HOWTO.
  315.    
  316.   Other Closed Hardware
  317.   
  318.    Some hardware manufacturers simply won't tell us how to write drivers
  319.    for their hardware, or they won't allow us access to the documentation
  320.    without a non-disclosure agreement that would prevent us from
  321.    releasing the Linux source code. One example is the IBM laptop DSP
  322.    sound system used in recent ThinkPad systems - some of these systems
  323.    also couple the sound system to the modem. Since we haven't been
  324.    granted access to the documentation on these devices, they simply
  325.    won't work under Linux. You can help by asking the manufacturers of
  326.    such hardware to release the documentation. If enough people ask, they
  327.    will realize that Linux is an important market. The [7]Linux Hardware
  328.    Compatibility HOWTO provides information about what devices currently
  329.    have Linux drivers.
  330.    
  331. Methods for Installing Debian
  332.  
  333.    In order to install Debian you need an Initial Boot Medium. After
  334.    booting from this you install the Kernel and the Modules, the Base
  335.    System and the Debian Packages. (Detailed installation instructions
  336.    follow below.)
  337.    
  338.    The following list shows which media can be used as source for these
  339.    components.
  340.    
  341.    Initial Boot Medium
  342.           The Initial Boot Medium is used to start the Debian
  343.           installation. It boots the installation system and runs the
  344.           installation program. The installation system can be booted
  345.           from:
  346.           
  347.           floppy disk
  348.             The required disk is called the Rescue Disk. The Rescue Disk
  349.             (usually) contains the kernel and the root filesystem that
  350.             provides the files and programs needed for the basic
  351.             installation.
  352.           CD-ROM
  353.             You need Debian on a bootable CD and the computer must be
  354.             able to boot from the CD-ROM drive.
  355.           Loadlin on a running DOS system
  356.             You need an already-running DOS system. Copy linux and
  357.             root.bin on this system, in addition you need loadlin from
  358.             the tools directory.
  359.             Loadlin is used to boot the kernel: loadlin linux
  360.             root=/dev/ram initrd=root.bin
  361.             
  362.           In some cases the root filesystem must be loaded from an extra
  363.           disk:
  364.           
  365.           When you boot from a 1.2MB floppy disk, you need the Root Disk
  366.             because the disk image file doesn't fit on the first 1.2MB
  367.             floppy disk.
  368.           When you have less than 6MB RAM, you need a special Low-Memory
  369.             Root Disk. You must boot from floppy disk.
  370.             
  371.    Kernel and Driver Modules
  372.           The Linux kernel and the modules can be installed from:
  373.           
  374.           floppy disk (Rescue Disk and Driver Disk)
  375.           filesystem on the local harddisk (msdos, minix or ext2)
  376.           CD-ROM
  377.             
  378.           In all but the first case you need a directory that contains
  379.           the files [8]resc1440.bin and [9]drv1440.bin on the medium.
  380.           
  381.           If you have a CD-ROM drive with a proprietary interface
  382.           (neither SCSI nor ATAPI) you need the Driver Disk in order to
  383.           install the CD-ROM interface driver from floppy.
  384.           
  385.    Base system
  386.           The Base system contain the initial Debian system that will be
  387.           copied to the hard disk. The Base system can be installed from:
  388.           
  389.           floppy disk (five 3,5" or 5,25"floppies)
  390.           filesystem on a local harddisk (msdos, minix or ext2)
  391.           CD-ROM
  392.           NFS (Network File System)
  393.             
  394.           In all but the first case you need a directory that contains
  395.           the file [10]base1_3.tgz on the medium.
  396.           
  397.    Debian Packages
  398.           Once you installed the Base system and rebooted into the fresh
  399.           system dselect offers install more Debian Packages. These
  400.           Packages can be installed from:
  401.           
  402.           floppy disk (you will need many floppies, try to avoid this!)
  403.           filesystem on a local harddisk (msdos, minix or ext2)
  404.           CD-ROM
  405.           NFS
  406.           FTP
  407.             
  408. Writing the Floppy Disk Image Files to Floppy Disk
  409.  
  410.    The following disks may be needed for installing Debian (Read above
  411.    section to decide which disks you need) :
  412.    
  413.    Rescue Disk
  414.           If your a: drive of the system upon which you will install
  415.           Linux uses 1.44MB floppy disks, you will need the file
  416.           [11]resc1440.bin; if it uses 1.2MB floppy disks, you will need
  417.           the file [12]resc1200.bin,
  418.           
  419.    Driver Disk
  420.           If your a: drive of the system upon which you will install
  421.           Linux uses 1.44MB floppy disks, you will need the file
  422.           [13]drv1440.bin; if it uses 1.2MB floppy disks, you will need
  423.           the file [14]drv1200.bin,
  424.           
  425.    Root Disk
  426.           The Root Disk can be created from the file [15]root.bin.
  427.           
  428.    Low-Memory Root Disk
  429.           The Low-Memory Root Disk can be created from the file
  430.           [16]lmemroot.bin. This file is 1.2MB large, so it fits on both
  431.           3,5" and 5,25" high density floppies.
  432.           
  433.    Base Disks
  434.           These disks will be generated from the files files
  435.           [17]base-1.bin, [18]base-2.bin, [19]base-3.bin, [20]base-4.bin,
  436.           and [21]base-5.bin. These files are 1.2MB large, so they fit on
  437.           both 3,5" and 5,25" high density floppies.
  438.           
  439.    If you are using a web browser on a networked computer to read this
  440.    document, you can probably retrieve the files by selecting their names
  441.    in your web browser. Otherwise, you can retrieve them from
  442.    [22]ftp://ftp.debian.org/debian/stable/disks-i386/current/ , or a
  443.    similar directory in any of the Debian FTP mirror sites. All of these
  444.    are floppy disk image files, which means that each file contains the
  445.    complete contents of a floppy disk in raw form. A special program is
  446.    used to write the image files to floppy disk in raw mode.
  447.    
  448.    Find (up to) 8 formatted floppy disks. Mark them with as "Rescue",
  449.    "Device Drivers", "Custom Boot", "Base 1", "Base 2", "Base 3", and
  450.    "Base 4".
  451.    
  452.    No file is written to the Custom Boot floppy, that will be written by
  453.    the Debian system while it is being installed.
  454.    
  455.   Writing from a DOS, Windows, or OS-2 System
  456.   
  457.    You'll find the [23]rawrite2.exe program in the same directory as the
  458.    floppy disk images. There's also a [24]rawrite2.txt file containing
  459.    instructions for rawrite2.exe .
  460.    
  461.    To write the floppy disk image files to the floppy disks, use the
  462.    command
  463.    
  464.         rawrite2 -f file -d drive
  465.  
  466.    where file is one of the floppy disk image files, and drive is either
  467.    a: or b:.
  468.    
  469.   Writing from a Linux or Unix System
  470.   
  471.    Some systems attempt to automaticaly mount a floppy disk when you
  472.    place it in the drive. You might have to disable this feature before
  473.    the workstation will allow you to write a floppy in raw mode.
  474.    Unfortunately, I don't know the command necessary to do this for your
  475.    particular workstation. Ask your system administrator.
  476.    
  477.    To write the floppy disk image files to the floppy disks, use the
  478.    command
  479.    
  480.    dd if=file of=/dev/fd0 bs=512 conv=sync ; sync
  481.        
  482.    where file is one of the floppy disk image files. /dev/fd0 is a
  483.    commonly used name of the floppy-disk device, it may be different on
  484.    your workstation. The command may return to the prompt before Unix has
  485.    finished writing the floppy disk, so look for the disk-in-use light on
  486.    the floppy drive and be sure that the light is out and the disk has
  487.    stopped revolving before you remove it from the drive. On some
  488.    systems, you'll have to run a command to eject the floppy from the
  489.    drive.
  490.    
  491. Installing the System
  492.  
  493.   Floppy-disk Reliability
  494.   
  495.    The number one problem of people installing Debian for the first time
  496.    seems to be floppy-disk reliability.
  497.    
  498.    The Rescue Floppy is the one with the worst problems, because that
  499.    floppy is read by BIOS before Linux boots. BIOS doesn't seem to read
  500.    as reliably as the Linux floppy disk driver, and may just stop without
  501.    printing an error message if it reads incorrect data. There can also
  502.    be failures in the drivers floppy and the base floppies, most of which
  503.    indicate themselves with a flood of messages about disk I/O errors.
  504.    
  505.    If you are having the installation stall at a particular floppy, the
  506.    first thing you should do is re-download the floppy disk image and
  507.    write it to a different floppy. Simply reformatting the old floppy is
  508.    not sufficient, even if it appears that the floppy was reformatted and
  509.    written with no errors. It's sometimes useful to try writing the
  510.    floppy on a different system.
  511.    
  512.    One user reports he had to write three boot floppies before one
  513.    worked, and then everything was fine with the third floppy.
  514.    
  515.   The Rescue Floppy
  516.   
  517.    Place the Rescue floppy in the a: floppy drive, and reset the system
  518.    by pressing reset, turning the system off and then on, or by pressing
  519.    Control-Alt-Del on the keyboard. The floppy disk should be accessed,
  520.    and you should then see a screen that introduces the rescue floppy and
  521.    ends with the boot: prompt. It's called the Rescue floppy because you
  522.    can use it to boot your system and perform repairs if there is ever a
  523.    problem that makes your hard disk unbootable. Thus, you should save
  524.    this floppy after you've installed your system. Pressing F3 will give
  525.    further information on this.
  526.    
  527.    You can do two things at the boot: prompt. You can press the function
  528.    keys F1 through F10 to view a few pages of helpful information, or you
  529.    can boot the system. If you have less than 6MB RAM, you have to use a
  530.    floppy boot method (the boot methods are listed by pressing F3), and
  531.    you have to insert the Low-Memory Root Disk when being prompted for
  532.    the root floppy. If you boot from a 1.2MB floppy drive, you have to
  533.    use a ramdisk boot method, and you will need the Root Disk. If you
  534.    have any hardware devices that aren't made accessable from Linux
  535.    correctly when Linux boots, you may find a parameter to add to the
  536.    boot command line in the screens you see by pressing F4 and F5. If you
  537.    add any parameters to the boot command line, be sure to type the boot
  538.    method (the default is linux) and a space before the first parameter.
  539.    If you simply press Enter, that's the same as typing linux without any
  540.    special parameters.
  541.    
  542.    If this is the first time you're booting the system, just press Enter
  543.    and see if it works correctly. It probably will. If not, you can
  544.    reboot later and look for any special parameters that inform the
  545.    system about your hardware.
  546.    
  547.    Once you press Enter, you should see the message Loading..., and then
  548.    Uncompressing Linux..., and then a page or so of cryptic information
  549.    about the hardware in your system. There may be a many messages in the
  550.    form can't find something, or something not present, can't initialize
  551.    something, or even this driver release depends on something. Most of
  552.    these messages are harmless. You see them because the installation
  553.    boot disk is built to run on computers with many different peripheral
  554.    devices. Obviously, no one computer will have every possible
  555.    peripheral device, so the operating system may emit a few complaints
  556.    while it looks for peripherals you don't own. You may also see the
  557.    system pause for a while. This happens when it is waiting for a device
  558.    to respond, and that device is not present on your system. If you find
  559.    the time it takes to boot the system unacceptably long, you can create
  560.    a custom kernel once you've installed your system without all of the
  561.    drivers for non-existant devices.
  562.    
  563.    If you choose a non-default boot method, e.g. ramdisk or floppy, you
  564.    will be prompted to insert the Root floppy. Insert the Root Floppy
  565.    into the first disk drive and press Enter. (If you choose floppy1
  566.    insert the Root Floppy into the second disk drive.)
  567.    
  568.   Low-Memory Systems
  569.   
  570.    If you system has less than 6MB RAM , a paragraph about low memory and
  571.    a text menu with four choices can be displayed. This means that the
  572.    system detected that you don't have enough memory for a normal
  573.    installation, hence must follow a special low-memory installation
  574.    procedure. Go through the menu selections in order:
  575.      Use fdisk to create a Linux Swap partition (type 82). The swap
  576.        partition is needed to provide virtual memory during the
  577.        installation process, since that process will use more memory than
  578.        you have in your system. Select the size for the amount of virtual
  579.        memory you intend to use once your system is installed. 16
  580.        megabytes is probably the lowest amount that's practical, use 32
  581.        megabytes if you can spare the space, and 64 if your disk is large
  582.        enough that you won't miss that much.
  583.        In addition create a MINIX partition (type 81). This will hold the
  584.        root filesystem in the early installation process. Its size should
  585.        be at least 2 megabytes. This partition can be deleted when the
  586.        installation is finished.
  587.      Activate the swap partition.
  588.      Copy the root filesystem to disk.
  589.      Reboot: boot the system again using the boot options that are shown.
  590.        
  591.   The Color-or-Monochrome Dialog Box
  592.   
  593.    Once the system has finished booting, you should see the color or
  594.    monochrome choice dialog box. If your monitor displays
  595.    black-and-white, press Enter to continue with the installation.
  596.    Otherwise, use the arrow key to move the cursor to the Color menu item
  597.    and then press Enter. The display should change from black-and-white
  598.    to color. Then press Enter again to continue with the installation.
  599.    
  600.   The Main Menu
  601.   
  602.    You may see a dialog box that says The installation program is
  603.    determining the current state of your system. On some systems, this
  604.    will go by too quickly to read. You'll see this dialog box between
  605.    steps in the main menu. The installation program will check the state
  606.    of the system in between each step. This checking allows you to
  607.    re-start the installation without losing the work you have already
  608.    done if you happen to halt your system in the middle of the
  609.    installation process. If you have to restart an installation, you will
  610.    have to configure color-or-monochrome, configure your keyboard,
  611.    re-activate your swap partition, and re-mount any disks that have been
  612.    initialized. Anything else that you have done with the installation
  613.    system will be saved.
  614.    
  615.    During the entire installation process, you will be presented with the
  616.    main menu. The choices at the top of the menu will change to indicate
  617.    your progress in installing the system. Phil Hughes wrote in Linux
  618.    Journal that you could teach a chicken to install Debian! He meant
  619.    that the installation process was mostly just pecking at the return
  620.    key. The first choice on the installation menu is the next action that
  621.    you should perform according to what the system detects you have
  622.    already done. It should say Next, and at this point the next item
  623.    should be Configure the Keyboard.
  624.    
  625.   Configuring the Keyboard
  626.   
  627.    Make sure the highlight is on the Next item, and Press Enter to go to
  628.    the keyboard configuration menu. Select a keyboard that conforms to
  629.    the layout used for your national language, or select something close
  630.    if the keyboard layout you want isn't represented. Once the system is
  631.    installed, you'll be able to select a keyboard layout from a wider
  632.    range of choices. Move the highlight to the keyboard selection you
  633.    desire and press Enter. Use the arrow keys to move the highlight -
  634.    they are in the same place in all national language keyboard layouts,
  635.    so they are independent of the keyboard configuration.
  636.    
  637.   The Shell
  638.   
  639.    If you are an experienced Unix or Linux user, press LeftAlt-F2 to get
  640.    to the second virtual console. That's the Alt key on the left-hand
  641.    side of the space bar, and the F2 function key, at the same time. This
  642.    is a separate window running a Bourne shell clone called ash. At this
  643.    point you are booted from the RAM disk, and there is a limited set of
  644.    Unix utilities available for your use. You can see what programs are
  645.    available with the command ls /bin /sbin /usr/bin /usr/sbin. Use the
  646.    menus to perform any task that they are able to do - the shell and
  647.    commands are only there in case something goes wrong. In particular,
  648.    you should always use the menus, not the shell, to activate your swap
  649.    partition, because the menu software can't detect that you've done
  650.    this from the shell. Press LeftAlt-F1 to get back to menus. Linux
  651.    provides up to 64 virtual consoles, although the Rescue floppy only
  652.    uses a few of them.
  653.    
  654.   Last Chance!
  655.   
  656.    Did we tell you to back up your disks? Here's your first chance to
  657.    wipe out all of the data on your disks, and your last chance to save
  658.    your old system. If you haven't backed up all of your disks, remove
  659.    the floppy from the drive, reset the system, and run backups.
  660.    
  661.   Partition Your Hard Disks
  662.   
  663.    If you have not already partitioned your disks for Linux native and
  664.    Linux swap filesystems, the menu item Next will be Partition a Hard
  665.    Disk. If you have already created at least one Linux Native and one
  666.    Linux Swap disk partition, the Next menu selection will be Initialize
  667.    and Activate the Swap Disk Partition, or you may even skip that step
  668.    if your system had low memory and you were asked to activate the swap
  669.    partition as soon as the system started. Whatever the Next menu
  670.    selection is, you can use the down-arrow key to select Partition a
  671.    Hard Disk.
  672.    
  673.    The Partition a Hard Disk menu item presents you with a list of disk
  674.    drives you can partition, and runs the cfdisk program, which allows
  675.    you to create and edit disk partitions. The [25]cfdisk manual page is
  676.    included with this document, and you should read it now. You must
  677.    create at least one "Linux" (type 83) disk partition, and one "Linux
  678.    Swap" (type 82) partition.
  679.    
  680.    Your swap partition will be used to provide virtual memory for the
  681.    system and should be between 16 and 128 megabytes in size, depending
  682.    on how much disk space you have and how many large programs you want
  683.    to run. Linux will not use more than 128 megabytes of swap, so there's
  684.    no reason to make your swap partition larger than that. A swap
  685.    partition is strongly recommended, but you can do without one if you
  686.    insist, and if your system has more than 16 megabytes of RAM. If you
  687.    wish to do this, please select the Do Without a Swap Partition item
  688.    from the menu.
  689.    
  690.    The "Linux" disk partition will hold all of your files, and you may
  691.    make it any size between 40 megabytes and the maximum size of your
  692.    disk minus the size of the swap partition. If you are already familiar
  693.    with Unix or Linux, you may want to make additional partitions - for
  694.    example, you can make partitions that will hold the /var, and /usr,
  695.    filesystems.
  696.    
  697.   Initialize and Activate the Swap Disk Partition
  698.   
  699.    This will be the Next menu item once you have created one disk
  700.    partition. You have the choice of initializing and activating a new
  701.    swap partition, activating a previously-initialized one, and doing
  702.    without a swap partition. It's always permissible to re-initialize a
  703.    swap partition, so select Initialize and Activate the Swap Disk
  704.    Partition unless you are sure you know what you are doing. This menu
  705.    choice will give you the option to scan the entire partition for
  706.    un-readable disk blocks caused by defects on the surface of the hard
  707.    disk platters. This is useful if you have MFM, RLL, or older SCSI
  708.    disks, and never hurts. Properly-working IDE disks don't need this
  709.    choice, as they have their own internal mechanism for mapping out bad
  710.    disk blocks.
  711.    
  712.    The swap partition provides virtual memory to supplement the RAM
  713.    memory that you've installed in your system. It's even used for
  714.    virtual memory while the system is being installed. That's why we
  715.    initialize it first.
  716.    
  717.   Initialize a Linux Disk Partition
  718.   
  719.    At this point, the Next menu item should be Initialize a Linux Disk
  720.    Partition. If it isn't, it's because you haven't completed the disk
  721.    partitioning process, or you haven't made one of the menu choices
  722.    dealing with your swap partition.
  723.    
  724.    You can initialize a Linux Disk partition, or alternatedly you can
  725.    mount a previously-initialized one.
  726.    
  727.    These floppies will not upgrade an old system without removing the
  728.    files - Debian provides a different procedure than using the boot
  729.    floppies for upgrading existing Debian systems. Thus, if you are using
  730.    old disk partitions that are not empty, you should initialize them
  731.    (which erases all files) here. You must initialize any partitions that
  732.    you created in the disk partitioning step. About the only reason to
  733.    mount a partition without initializing it at this point would be to
  734.    mount a partition upon which you have already performed some part of
  735.    the installation process using this same set of installation floppies.
  736.    
  737.    Select the Next menu item to initialize and mount the / disk
  738.    partition. The first partition that you mount or initialize will be
  739.    the one mounted as / (pronounced root). You will be offered the choice
  740.    to scan the disk partition for bad blocks, as you were when you
  741.    initialized the swap partition. It never hurts to scan for bad blocks,
  742.    but it could take 10 minutes or more to do so if you have a large
  743.    disk.
  744.    
  745.    Once you've mounted the / partition, the Next menu item will be
  746.    Install the Operating System Kernel and the Device Drivers unless
  747.    you've already performed some of the installation steps. You can use
  748.    the arrow keys to select the menu items to initialize and/or mount
  749.    disk partitions if you have any more partitions to set up. If you have
  750.    created separate partitions for /var, /usr, or other filesystems, you
  751.    should initialize and/or mount them now.
  752.    
  753.   Install the Operating System Kernel and the Device Drivers
  754.   
  755.    This should be the Next menu step after you've mounted your / disk,
  756.    unless you've already performed some of the installation steps on /.
  757.    Select it, and you will be offered a menu of drives to use to read the
  758.    kernel. If you choose to install from floppy disk insert the Rescue
  759.    Floppy as requested, and the kernel will be copied on to the hard
  760.    disk. In a later step this kernel will be used to create a custom boot
  761.    floppy for your system, and to make the hard disk bootable without a
  762.    floppy.
  763.    
  764.    If you choose to install from floppy disk you will be prompted to
  765.    insert the device drivers floppy. The device drivers will be copied to
  766.    your hard disk.
  767.    
  768.   Configure the Device Drivers
  769.   
  770.    Select the Configure Device Drivers menu item and look for devices
  771.    that are on your system. Configure those device drivers, and they will
  772.    be loaded whenever your system boots. If you want to install the base
  773.    system via NFS you must load and configure the driver module for your
  774.    network card.
  775.    
  776.    There is a menu selection for PCMCIA device drivers, but you need not
  777.    use it . Once your system is installed, you can install the pcmcia-cs
  778.    package. This detects PCMCIA cards automaticaly, and configures the
  779.    ones it finds. It also copes with hot-plugging the cards while the
  780.    system is booted - they will all be configured as they are plugged in,
  781.    and de-confugured when you unplug them.
  782.    
  783.   Configure the Network
  784.   
  785.    You'll have to configure the network even if you don't have a network,
  786.    but you'll only have to answer the first two questions - what is the
  787.    name of your computer?, and is your system connected to a network?.
  788.    
  789.    If you are connected to a network, here come some questions that you
  790.    may not be able to figure out on your own - check with your network
  791.    administrator if you don't know:
  792.    
  793.      * Your host name.
  794.      * Your domain name.
  795.      * Your computer's IP address.
  796.      * The netmask to use with your network.
  797.      * The broadcast address to use on your network.
  798.      * The IP address of the default gateway system you should route to,
  799.        if your network has a gateway.
  800.      * The system on your network that you should use as a DNS (Domain
  801.        Name Service) server.
  802.      * The type of your network (Ethernet, Token Ring).
  803.        
  804.    Some technical details you might, or might not, find handy: the
  805.    program assumes the network IP address is the bitwise-AND of your
  806.    system's IP address and your netmask. It will guess the broadcast
  807.    address is the bitwise OR of your system's IP address with the bitwise
  808.    negation of the netmask. It will guess that your gateway system is
  809.    also your DNS server. If you can't find any of these answers, use the
  810.    system's guesses - you can change them once the system has been
  811.    installed, if necessary, by editing /etc/init.d/network .
  812.    
  813.   Install the Base System
  814.   
  815.    Select the Install the Base System menu item. You'll be offered a menu
  816.    of drives to use to read the base floppies. Select the appropriate
  817.    drive. If you choose to install from floppy disk feed in the Base 1,
  818.    2, 3, 4 and 5 as requested by the program. If one of the base floppies
  819.    is unreadable, you'll have to create a replacement floppy and feed all
  820.    floppies into the system again. Once the floppies have all been read,
  821.    the system will install the files it's read from them. This could take
  822.    10 minutes or more on slow systems, less on faster ones.
  823.    
  824.   Configure the Base System
  825.   
  826.    At this point you've read in all of the files that make up a minimal
  827.    Debian system, but you must perform some configuration before the
  828.    system will run. Select the Configure the Base System menu item.
  829.    
  830.    You'll be asked to select your time zone. Look for your time zone or
  831.    region of the world in the menu, and type it at the prompt. This may
  832.    lead to another menu, in which you can select your actual time zone.
  833.    
  834.    Next, you'll be asked if your system clock is to be set to GMT or
  835.    local time. Select GMT if you will only be running Linux and Unix on
  836.    your system, and select local time if you will be running another
  837.    operating system such as DOS or Windows. Unix and Linux keep GMT time
  838.    on the system clock and use software to convert it to the local time
  839.    zone. This allows them to keep track of daylight savings time and leap
  840.    years, and even allows users who are logged in from other time zones
  841.    to individually set the time zone used on their terminal. If you run
  842.    the system clock on GMT and your locality uses daylight savings time,
  843.    you'll find that the system adjusts for daylight savings time properly
  844.    on the days that it starts and ends.
  845.    
  846.   Make the Hard Disk Bootable
  847.   
  848.    If you select to make the hard disk boot directly to Linux, you will
  849.    be asked to install a master boot record. If you aren't using a boot
  850.    manager (and this is probably the case if you don't know what a boot
  851.    manager is), answer yes to this question. The next question will be
  852.    whether you want to boot Linux automaticaly from the hard disk when
  853.    you turn on your system. This sets Linux to be the bootable partition
  854.    - the one that will be loaded from the hard disk. If you answer no to
  855.    this question, you can set the bootable partition later using the DOS
  856.    fdisk program, or with the Linux fdisk or activate programs.
  857.    
  858.    If you are installing Linux on a drive other than the first hard disk
  859.    in your system, be sure to make a boot floppy. The boot ROM of most
  860.    systems is only capable of directly booting from the first hard drive,
  861.    not the second one. You can, however, work around this problem once
  862.    you've installed your system. To do so, read the instructions in the
  863.    directory /usr/doc/lilo.
  864.    
  865.   Make a Boot Floppy
  866.   
  867.    You should make a boot floppy even if you intend to boot the system
  868.    from the hard disk. The reason for this is that it's possible for the
  869.    hard disk bootstrap to be mis-installed, but a boot floppy will almost
  870.    always work. Select Make a Boot Floppy from the menu and feed the
  871.    system a blank floppy as directed. Make sure the floppy isn't
  872.    write-protected, as the software will format and write it. Mark this
  873.    the "Custom Boot" floppy and write-protect it once it has been
  874.    written.
  875.    
  876.   The Moment of Truth
  877.   
  878.    This is what electrical engineers call the smoke test - what happens
  879.    when you turn on a new system for the first time. Remove the floppy
  880.    disk from the floppy drive, and select the Reboot the System menu
  881.    item. If the Linux system doesn't start up, insert the Custom Boot
  882.    floppy you created and reset your system. Linux should boot. You
  883.    should see the same messages as when you first booted the installation
  884.    boot floppy, followed by some new messages.
  885.    
  886.   Set the Root Password
  887.   
  888.    This is the password for the super-user, a login that bypasses all
  889.    security protection on your system. It should only be used to perform
  890.    system administration, and only for as short a time as possible. Do
  891.    not use root as your personal login. You will be prompted to create a
  892.    personal login as well, and that's the one you should use to send and
  893.    receive e-mail and perform most of your work - not root. The reason to
  894.    avoid using root's privileges is that you might be tricked into
  895.    running a trojan-horse program - that is a program that takes
  896.    advantage of your super-user power to compromise the security of your
  897.    system behind your back. Any good book on Unix system administration
  898.    will cover this topic in more detail - consider reading one if it's
  899.    new to you. The good news is that Linux is probably more secure than
  900.    other operating systems you might run on your PC. DOS and Windows, for
  901.    example, give all programs super-user privilege. That's one reason
  902.    that they have been so plagued by viruses.
  903.    
  904.    All of the passwords you create should contain from 6 to 8 characters,
  905.    and should contain both upper and lower-case characters, as well as
  906.    punctuation characters.
  907.    
  908.    Once you've added both logins, you'll be dropped into the dselect
  909.    program. The [26]Dselect Tutorial is required reading before you run
  910.    dselect. Dselect allows you to select packages to be installed on your
  911.    system. If you have a CD-ROM or hard disk containing the additional
  912.    Debian packages that you want to install on your system, or you are
  913.    connected to the Internet, this will be useful to you right away.
  914.    Otherwise, you may want to quit dselect and start it later, once you
  915.    have transported the Debian package files to your system. You must be
  916.    the super-user (root) when you run dselect. If you are about to
  917.    install the X Window system and you do not use a US keyboard, you
  918.    should read the [27]X11 Release note for non-US-keyboard users.
  919.    
  920.   Log In
  921.   
  922.    After you've quit dselect, you'll be presented with the login prompt.
  923.    Log in using the personal login and password you selected. Your system
  924.    is now ready to use.
  925.    
  926. Technical Information on the Boot Floppies
  927.  
  928.   Source Code
  929.   
  930.    The "boot-floppies" package contains all of the source code for the
  931.    installaton floppies.
  932.    
  933.   The Rescue Floppy
  934.   
  935.    The Rescue Floppy is an MS-DOS filesystem, and you should be able to
  936.    access it from a DOS or Windows system or anything else that can mount
  937.    DOS disks. The Linux kernel is in the file "linux". The file root.bin
  938.    is a gzip-compressed disk image of a 1.44 MB Minix filesystem, and
  939.    will be loaded into the RAM disk and used as the root filesystem.
  940.    
  941.   Replacing the Kernel
  942.   
  943.    If you find it necessary to replace the kernel on the Rescue Floppy,
  944.    you must configure your new kernel with these features linked in, not
  945.    in loadable modules:
  946.      * Initial RAM disk.
  947.      * MSDOS, Minix, and EXT2 filesystems.
  948.      * ELF executables.
  949.        
  950.    Copy your new kernel to the file "linux" on the Rescue Floppy, and
  951.    then run the shell script "rdev.sh" that you'll find on the floppy.
  952.    
  953.   The Base Floppies
  954.   
  955.    The base floppies contain a 512-byte header followed by a portion of a
  956.    gzip-compressed "tar" archive. If you strip off the headers and then
  957.    concatenate the contents of the base floppies, the result should be
  958.    the compressed tar archive. The archive contains the base system that
  959.    will be installed on your hard disk. Once this archive is installed,
  960.    you must go through the Configure the Base System menu item in the
  961.    installation system and other menu items to configure the network and
  962.    install the operating system kernel and modules before the system will
  963.    be usable.
  964.    
  965. Last Update
  966.  
  967.    The last update of this document was made on May 28, 1997.
  968.    
  969. Copyright of This Document
  970.  
  971.    Copyright 1996 Bruce Perens; 1996, 1997 Sven Rudolph. This document
  972.    may be distributed under the terms of the GNU General Public License.
  973.    
  974. Trademark Acknowledgement
  975.  
  976.    Trademarks that are not explicitly acknowledged here are the property
  977.    of their respective holders. 386, 386sx, 486, Pentium, and Pentium Pro
  978.    are the property of Intel. Windows and WinModem are a trademark of
  979.    Microsoft. ThinkPad and PS/2 are the property of IBM.
  980.  
  981. References
  982.  
  983.    1. http://sunsite.unc.edu/mdw/HOWTO/Hardware-HOWTO.html
  984.    2. ftp:cfdisk.txt
  985.    3. ftp:dselect.beginner.6.html
  986.    4. http://sunsite.unc.edu/mdw/HOWTO/Hardware-HOWTO.html
  987.    5. ftp:X11_release_note.txt
  988.    6. http://sunsite.unc.edu/mdw/HOWTO/Hardware-HOWTO.html
  989.    7. http://sunsite.unc.edu/mdw/HOWTO/Hardware-HOWTO.html
  990.   22. ftp://ftp.debian.org/debian/stable/disks-i386/current/
  991.   23. ftp:rawrite2.exe
  992.   24. ftp:rawrite2.txt
  993.   25. ftp:cfdisk.txt
  994.   26. ftp:dselect.beginner.6.html
  995.   27. ftp:X11_release_note.txt
  996.