summaryrefslogtreecommitdiffstats
path: root/chapter_02.xml
diff options
context:
space:
mode:
authorAlan Hicks <alan@lizella.net>2011-04-13 20:25:31 -0400
committerAlan Hicks <alan@lizella.net>2011-04-13 20:25:31 -0400
commit3793cae891f7b3c650137131216a7af535cd0b02 (patch)
treea48018da179d7b78d2f4dbab1c78617d0cb06e84 /chapter_02.xml
parentd7293e9b300149ddbb64b6e17f122cb6f39fd6ef (diff)
downloadslackbook-3793cae891f7b3c650137131216a7af535cd0b02.tar.xz
Chapter_02 - Finished the booting section and removed a couple of ugly
images, replacing them entirely with text. This should be the way to do things whenever possible as it increases the quality of the printed book.
Diffstat (limited to 'chapter_02.xml')
-rw-r--r--chapter_02.xml133
1 files changed, 110 insertions, 23 deletions
diff --git a/chapter_02.xml b/chapter_02.xml
index 1a4ef26..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!
+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>
+&lt;OPTION TO LOAD SUPPORT FOR NON-US KEYBOARD&gt;
+
+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/&lt;partition&gt; ; swapon /dev/&lt;partition&gt;
+
+- 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>