| PreviousLinux | Linux: Preparation of the system prior to installation | NextInstallation |
Linux does not require a state-of-the-art computer in minimal configuration:
Linux can be installed in addition to the operating system that is already
installed on your machine.
Before launching the installation, make sure that the file system is errorfree by using a program such as scandisk or chkdsk to verify the integrity of the drive, since Linux makes much heavier use of the disk than DOS, for example.
Linux is installed in several steps which make it possible to implement a file system that is recognized by Linux (ext2fs) on one or several dedicated partitions and then to proceed with the installation itself. To configure a node prior to startup from the disk, the steps are as follows:
Floppy disks that allow booting of the system under Lindux with a minimal kernel make it possible to install Linux. These floppy disks will be created by using a program which makes it possible to copy image files (all files to be placed on floppy disks) onto a floppy disk. There are two such floppy disks:
You may finally create an additional disk for subsequent use (for example, if you plan to buy a SCSI card because you have a CD-ROM IDE drive...).
Once the disks have been created, reboot the computer after placing the floppy disk in the drive a:
After a few messages, the system displays the line: "boot:", hit enter to continue.
The system then asks for the root disk
To be able to use Linux, you must create a partition (preferably larger than 900 MB to be able to install all options) using the "Linux Ext2" file system and (optionally) a swap partition (virtual memory, i.e. a part of the disk that is used in case of a lack of active memory) with a size of several MB.
You may optionally create other partitions to be dedicated to a special type of data, for example a partition for your documents, one for utilities, etc.
There are different ways to create partitions:
Once the partitions have been created, you will certainly be asked for the type of the two preceding partitions. They are:
![]() |
|
Under certain distributions, you will be prompted to create a file system before launching the installation (this is not the case, among others, with the distributions RedHat 5.2 and Mandrake 6.0, for which all of the following operations are automated menus).
Once you have created the main partition and the partition of the secondary memory (swap partition), activate the secondary memory and create the file system of the main partition.
The secondary memory is activated by using the following command:
mkswap -c partition sizeFor example, for a secondary memory using 10000 blocks, on the second partition of the second disc (hdb2) the command would be as follows:
mkswap -c /dev/hdb2 10000Use the command swapon to activate this partition
Use the following command to create the file system ext2fs:
mke2fs -c partition sizefor example:
mke2fs -c /dev/hda2 202137