diff options
author | Vincent Batts <vbatts@hashbangbash.com> | 2011-04-13 22:43:06 -0400 |
---|---|---|
committer | Vincent Batts <vbatts@hashbangbash.com> | 2011-04-13 22:43:06 -0400 |
commit | b387ed87f6ee6cfc65b42a9cf1108f913adfa1d3 (patch) | |
tree | 7bcfb3c16d8cb86fe22b9949fc49b349263fc45c /chapter_02.xml | |
parent | 26492c4fd6cb1f53f1be0ea45c1dc457022b95df (diff) | |
parent | 27ac40e02cc63cfa86e4a369593a62d1a5c5ed2d (diff) | |
download | slackbook-b387ed87f6ee6cfc65b42a9cf1108f913adfa1d3.tar.xz |
Merge branch 'master' of rlworkman.net:slackbook
Diffstat (limited to 'chapter_02.xml')
-rw-r--r-- | chapter_02.xml | 133 |
1 files changed, 110 insertions, 23 deletions
diff --git a/chapter_02.xml b/chapter_02.xml index c817bf4..f022358 100644 --- a/chapter_02.xml +++ b/chapter_02.xml @@ -6,49 +6,136 @@ <title>Installation</title> <para> -Slackware's installation is a bit more simplistic than that of many/most - other Linux distributions, and is very reminiscent of installing one of the +Slackware's installation is a bit more simplistic than that of most +other Linux distributions, and is very reminiscent of installing one of the varieties of BSD operating systems. If you're familiar with those, you should feel right at home. If you've never installed Slackware or used a distribution that makes use of a non-graphical installer, you may -feel a bit overwhelmed. Don't panic. The installation is very easy +feel a bit overwhelmed at first. Don't panic! The installation is very easy once you understand it, and it works on just about any x86 platform. </para> <para> The latest versions of Slackware Linux are distributed on DVD or CD -media, but Slackware can be installed in a variety of other ways. This -book will only focus on the most common way: installing via optical -media. In order to install Slackware, you'll need at least an Intel -486 (or equivalent) or x86_64 CPU, but we recommend you obtain a 586 -or better CPU if at all possible. Slackware can be pared down to run -on as little as 32 MB of RAM, but with the size of the 2.6 kernel and -userspace applications, you will find yourself having a much easier -time if you have a minimum of 64 MB of RAM. If you wish to use -anything older than these, you might want to obtain an older copy of -Slackware which will perform better with fewer CPU Megahertz and less -RAM. +media, but Slackware can be installed in a variety of other ways. We're +only going to focus on the most common method - booting from a DVD - in +this book. If you don't have a CD or DVD drive, you might wish to take +a look at the various README files inside the +<filename>usb-and-pxe-installers</filename> directory at your favorite +Slackware mirror. This directory includes the necessary files and +instructions for booting the Slackware installer from a USB flash drive +or from a network card that support PXE. The files there are the best +source of information available for such boot methods. </para> <section> <title>Booting the Installer</title> <para> -FILL THIS IN! FILL THIS IN! -FILL THIS IN! FILL THIS IN! -FILL THIS IN! FILL THIS IN! -FILL THIS IN! FILL THIS IN! -FILL THIS IN! FILL THIS IN! -FILL THIS IN! FILL THIS IN! -FILL THIS IN! FILL THIS IN! +Booting the installer is simply a process of inserting the Slackware +install disk into your CD or DVD drive and rebooting. You may have to +enter your computer's BIOS and alter the boot order to place the +optical drive at a higher boot priority than your hard drives. Some +computers allow you to change the boot order on the fly by pressing a +specific function key during system boot-up. Since every computer is +different, we can't offer instructions on how to do this, but the +method is simple on nearly all machines. </para> <para> -<imagedata fileref="img/install_keymap.png" format="PNG" /> +Once your computer boots from the CD you'll be taken to a screen that +allows you to enter any special kernel parameters. This is here +primarily to allow you to use the installer as a sort of rescue disk. +Some systems may need special kernel parameters in order to boot, but +these are very rare exceptions to the norm. Most users can simply press +enter to let the kernel boot. </para> +<screen> +Welcome to Slackware version 13.37 (Linux kernel 2.6.37.6)! + +If you need to pass extra parameters to the kernel, enter them at the prompt +below after the name of the kernel to boot (huge.s etc). + +In a pinch, you can boot your system from here with a command like: + +boot: huge.s root=/dev/sda1 rdinit= ro + +In the example above, /dev/sda1 is the / Linux partition. + +This prompt is just for entering extra parameters. If you don't need to enter +any parameters, hit ENTER to boot the default kernel "huge.s" or press [F2] +for a listing of more kernel choices. + +</screen> + +<para> +You should see a lot of text go flying across your screen. Don't be +alarmed, this is all perfectly normal. The text you see is generated by +the kernel during boot-up as it discovers your hardware and prepares to +load the operating system (in this case, the installer). You can later +read these messages with the <application>dmesg</application>(1) +command if you're interested. Often these messages are very important +for troubleshooting any hardware problems you may have. Once the kernel +has completed its hardware discovery, the messages should stop and +you'll be given an option to load support for non-us keyboards. +</para> + +<screen> +<OPTION TO LOAD SUPPORT FOR NON-US KEYBOARD> + +If you are not using a US keyboard, you may not load a different +keyboard map. To select a different keyboard map, please enter 1 +now. To continue using the US map, just hit enter. + +Enter 1 to select a keyboard map: _ +</screen> + +<para> +Entering <keycap>1</keycap> and pressing <keycap>ENTER</keycap> will +give you a list of keyboard mappings. Simply select the mapping that +matches your keyboard type and continue on. +</para> + +<screen> +Welcome to the Slackware Linux installation disk! (version 13.37) + +###### IMPORTANT! READ THE INFORMATION BELOW CAREFULLY. ###### + +- You will need one or more partitions of type 'Linux' prepared. It is also + recommended that you create a swap partition (type 'Linux swap') prior + to installation. For more information, run 'setup' and read the help file. + +- If you're having problems that you think might be related to low memory, you + can try activating a swap partition before you run setup. After making a + swap partition (type 82) with cfdisk or fdisk, activate it like this: + mkswap /dev/<partition> ; swapon /dev/<partition> + +- Once you have prepared the disk partitions for Linux, type 'setup' to begin + the installation process. + +- If you do not have a color monitor, type: TERM=vt100 + before you start 'setup'. + +You may now login as 'root'. + +slackware login: <userinput>root</userinput> +</screen> + <para> -<imagedata fileref="img/install_login.png" format="PNG" /> +Unlike other Linux distributions which boot you directly into a +dedicated installer program, Slackware's installer gives you a limited +Linux distribution contained in your system's RAM from the word go. This +limited distribution is then used to run all the installation programs +manually, or can be used in emergencies to fix a broken system that +fails to boot. Now that you're logged in as root (there is no password +within the installer) it's time to start setting up your disks. At this +point, you may setup software RAID or LVM support if you wish, but +those topics are outside of the scope of this book. I encourage you to +refer to the excellent <filename>README_RAID.TXT</filename> and +<filename>README_LVM.TXT</filename> files on your CD if you desire to +setup your system with these advanced tools. Most users won't have any +need to do so and should proceed directly to partitioning. </para> </section> |