Linux Configuration and Installation:Installing Linux
-->
Previous
Table of Contents
Next
Chapter 2Installing Linux
This chapter covers:
Preparing your PC for Linux
Creating new partitions under DOS
Creating new partitions under Linux
Creating your bootdisk and rootdisk
Booting Linux for installation
Installing from the setup command
Selecting the software to install
Booting Linux with Loadlin
Logging in the virgin Linux system
Setting up additional users
Adding hardware drivers with kernel modules
Shutting down Linux
Before You Install Linux
Now that you have the perfect PC for running Linux, its time to prepare for the installation. No, you cant just install Linux from the accompanying CD-ROMs; you must first configure your hard drive and create boot floppies. Neither step is particularly difficult. Here, well cover how to create boot floppies for booting Linux, followed by a discussion of preparing your hard drive for the Linux installation. The actual installation process is:
Create boot and root floppies
Prepare your hard drive for installation
Boot Linux from boot and root floppies
Install Linux from the CD-ROM
In the following steps, were assuming you already have an Intel-based PC up and running with the MS-DOS operating system, with the CD-ROM drive installed correctly, because youll need to copy some files from the CD-ROM onto your hard drive. (On a PC, youll need to install special drivers to use the CD-ROM drive; these drivers ship with the CD-ROM drive.) This doesnt need to be the PC on which you plan to install Linuxit just needs to be a PC with a DOS command line and access to the CD-ROM drive.
NOTE: The procedures in this chapter are closely tied to the installation and configuration routines found on the accompanying CD-ROMs. Other distributions of Linux are not exactly the same. If youre using a distribution of Linux other than the Slackware distribution on the accompanying CD-ROMs, you can still follow along, keeping in mind that your exact steps may differ.
Creating Boot and Root Floppies
Your first steps will be to create two floppy disks used to boot Linux: the boot and root diskettes. The boot diskette is the diskette used (as the name implies) to boot the PC, while the root diskette contains a set of Linux commands (actually, a complete mini-Linux system). Creating these disks is probably the best way to install Linux, although it is possible to install Linux without using any floppy disks using LOADLIN.EXE, a DOS program that loads Linux from an MS-DOS prompt. Well cover this option a little later, but unless your floppy disk doesnt work under Linux it is recommended that you install using a bootdisk and a rootdisk.
Your next step is to determine which bootdisk and rootdisk images youll be using and writing the images onto formatted floppy disks. Because selecting the disk images to use (especially the bootdisk) can be a relatively large task, it warrants its own section.
Choosing Bootdisk and Rootdisk Images
Linux needs to know a lot about your PCs hardware, and that knowledge begins the second you boot the system. Thats why you need to put some thought into selecting your bootdisk and rootdisk images.
Before we go any further, we should explain what bootdisk and rootdisk images are. Linux needs to boot from floppies initially, and it needs to know what sort of hardware its working with. When you boot Linux for the first time, the information is contained on the bootdisk and rootdisk. To create a bootdisk and a rootdisk, you need to select the proper image. Youll then use the RAWRITE.EXE utility to copy the image byte-for-byte to the diskette.
How do you select the proper image? The first step is to determine the disk size of your drive A:, which you boot the system from. If youre using a 3.5-inch disk drive as A:, youll need to grab an image from the bootdsks.144 directory. (This is so labeled because the capacity of a 3.5-inch high-density floppy is 1.44 megabytes.) If youre using a 5.25-inch disk drive to boot from, youll need to grab an image from the bootdsks.12 directory. (This is so labeled because the capacity of a 5.25-inch high-density floppy is 1.2 megabytes.)
Previous
Table of Contents
Next
Wyszukiwarka
Podobne podstrony:
041 043043 Dolina Zaginionych Kobiet041 Kaplica Zygmuntowskav 01 043043 Jaki stosunek do nauk ścisłych głosił renesans041 045037 043v 04 043Lesson Plan 041 TextE E 041F F 041043 Sięgnij porzez Ogień039 043 jdkfpguutqfgujb7flwylg63ibd2outvb6ulmlawięcej podobnych podstron