-->
Previous | Table of Contents | Next |
Most of you will want to designate the remainder of the hard drive as the Linux partition, so thats the assumption made in the remainder of this chapter. With Command (m for help): on your screen, select n for new partition. Youll see the following:
Command action e extended p primary partition (1-4)
Type p, and enter the partition number. If youve already installed a DOS or OS/2 partition, youll need to select the number 2, as partition number 1 is already is use:
Partition number (1-4): 2
If youve already installed a swap partition, youll need to designate this partition as 3.
Youll then be asked where to place the partition and how large to make it. Generally speaking, youll want to place the partition immediately after the previous partition:
First cylinder (64-1010): 64
Your numbers will undoubtedly be different. The point here is that fdisk automatically lists the first unassigned cylinder here (in this case, it was cylinder 64), and you should go with that number.
Youll then be asked how large you want to make the partition:
Last cylinder or +size or +sizeM or +sizeK (64-1010): 1010
Since Linux gives us the number of the last cylinder (1010), well go with that. There are no advantages to creating more than one Linux partition, unless youre using a very large hard drive (larger than 4 gigabytes).
NOTE: This wont apply to most users, but Linux doesnt do very well if its installed as a boot partition on cylinder 1023 or above. (This occurs with very large hard drives1 gigabyte or larger.) This has nothing to do with Linux, but rather with the limitations in the PCs BIOS. Subsequently, you should avoid installing the Linux boot partition on a partition containing this cylinder or higher.
Finally, youll want to make sure that this is a Linux boot partition so you can boot from the hard disk in the future via LILO. The t command toggles whether or not you want to use a partition as a boot partition. Type t, and then specify this partition (2) as the partition you want to boot from.
Fdisk will then ask for a command. Youll need to make sure your changes are recorded, so select w, which writes the partition table to disk and then exits fdisk. After this is done, Linux gives you a command prompt (#) again. Its now time to run the setup program.
OS/2 Partitions and the Linux Fdisk Command
If youve used the OS/2 FDISK command to create your Linux partition, now is the time to change the partition from an OS/2 partition to a Linux partition.
With the Linux fdisk command, you can change the current status of partitions by changing the tag. Using the Linux fdisk, youll change the tag of the OS/2 partition to a Linux native partition. In this instance, youll need to change the type of the partition. When you created this partition, it was set up as an OS/2 partition. However, Linux needs to know that this is a Linux partition, so you need to change the type with the t command:
Partition number (1-4): 2 Hex code (type L to list codes): 83
Linux supports a wide range of partition types, as youd see if you typed L. However, you can take our word for it; 83 is the proper hex code for a Linux native partition.
Quit fdisk using w, making sure that your changes are written to disk. It will take a few seconds for this to happen.
Now comes the fun part: actually installing Linux. For this, youll run the setup command from a command line:
# setup
Youll then see a menu with the following choices:
HELP Read the Slackware Setup Help file KEYMAP Remap your keyboard if you're not using a US one MAKE TAGS Experts may customize tagfiles to preselect files ADDSWAP Set up your swap partition(s) TARGET Set up your target partition SOURCE Select source media DISK SETS Decide which disk sets you wish to install INSTALL Install selected disk sets CONFIGURE Reconfigure your Linux system EXIT Exit Slackware Linux Setup
You should first look through the help file, which is listed first. Some of the steps presented therein may assist you in the Linux installation process.
To move through the selections in this menu, you use the cursor (arrow) keys or type the first letter in each line (such as H for help).
Basically, the installation from CD-ROM is pretty simple. It follows these steps:
Each of these steps will be covered in its own section.
NOTE: Before you get started on the installation steps, you should know that the Slackware distribution of Linux supports many different keymaps for different languages and setups. If you want access to another languagesay, Germanor another keyboard layoutsuch as the Dvorak keyboardyou should select Keymap from the Setup menu.
As youve probably guessed by now, a lot of Linux installation involves an actual installation and then additional steps, telling Linux about the installation. This is certainly true if youve installed a swap partition. (If you have not, you can skip this step.) Youve already installed the partition, made it active, and changed its type to a Linux swap partition. You again need to tell Linux about this partition. However, you dont need to format this partition, as youve already done so with the mkswap command.
Previous | Table of Contents | Next |