diff options
author | William Harrington <kb0iic@berzerkula.org> | 2014-11-27 16:29:31 -0600 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2014-11-27 16:29:31 -0600 |
commit | 7df987a652b93d55dd8eca363706d3bacc469b55 (patch) | |
tree | 17f84ce0fee76a3a0476b714eae09486ab2470e6 /book/essential.html |
Diffstat (limited to 'book/essential.html')
-rw-r--r-- | book/essential.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/book/essential.html b/book/essential.html new file mode 100644 index 0000000..7f6af07 --- /dev/null +++ b/book/essential.html @@ -0,0 +1,4 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><title>3.1. Reconfiguring the Kernel</title><link rel="stylesheet" href="stylesheets/lfs.css" type="text/css" /><meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /><link rel="stylesheet" href="stylesheets/lfs-print.css" type="text/css" media="print" /></head><body class="lfs" id="lfs-0.3"><div class="navheader"><h4>LFS live howto - Version 0.3</h4><h3>Chapter 3. Essential step</h3><ul><li class="prev"><a accesskey="p" href="ch03.html" title="Essential step">Prev</a><p>Essential step</p></li><li class="next"><a accesskey="n" href="pt04.html" title="Preparing the build">Next</a><p>Preparing the build</p></li><li class="up"><a accesskey="u" href="ch03.html" title="Chapter 3. Essential step">Up</a></li><li class="home"><a accesskey="h" href="index.html" title="LFS live howto - Version 0.3">Home</a></li></ul></div><div class="sect1" lang="en" xml:lang="en"><h1 class="sect1"><a id="essential" name="essential"></a>3.1. Reconfiguring the Kernel</h1><div class="admon note"><img alt="[Note]" src="images/note.png" /><h3>Note</h3><p>This chapter is mandatory for building the livecd. The livekey only need an new kernel if you haven't enabled support for USB,EXT2/EXT3,SCSI and initial ramdisk</p></div><p>After having patched your kernel sources with aufs, you will have to configure your kernel to enable the new features.</p><p>Use your favorite configuration tool, like “<span class="quote">make menuconfig</span>”.</p><div class="admon important"><img alt="[Important]" src="images/important.png" /><h3>Important</h3><p>As you will use your actual LFS system and maybe make a few changes in it, you should now backup your present kernel config, located in /boot/config-<kernel-version>.</p></div><p>Enable “<span class="quote">Initial RAM filesystem and RAM disk (initramfs/initrd) support</span>” in “<span class="quote">General setup</span>”.</p><p>If you want your live system to boot on most architectures, you will have to enable Block layer SG support v4 (in menuconfig->Enable the block layer).</p><p>In “<span class="quote">Processor type and features</span>”, select “<span class="quote">386</span>” as “<span class="quote">Processor family</span>”</p><p>You will have to enable loopback device support and ramdisk support in “<span class="quote">Device Drivers->Block devices</span>”</p><p>If you plan to build a live usb key, you will have to say yes to “<span class="quote">USB support</span>” and to “<span class="quote">Support for Host-side USB</span>”, as well as “<span class="quote">UHCI HCD support</span>”, “<span class="quote">OHCI HCD support</span>” and “<span class="quote">EHCI HCD (USB 2.0) support</span>”. Say yes (y) to “<span class="quote">USB Mass Storage support</span>” also.</p><p>You will also need “<span class="quote">SCSI device support: SCSI disk support</span>”.</p><p></p><p>If you plan to build a live cd or dvd, make sure you build the following modules direct into the kernel (* not m) :</p><p>*“<span class="quote">SCSI device support->SCSI CDROM support</span>”</p><p>*“<span class="quote">SCSI generic support</span>”</p><p>*“<span class="quote">ISO 9660 CDROM file system support</span>” in CD-ROM/DVD Filesystems</p><p>*“<span class="quote">PATA support.</span>”</p><p></p><p>Last, but not least, enable AUFS and SquashFS, in “<span class="quote">File systems->Miscellaneous filesystems</span>” + </p><p>After configuration, just build and install your kernel. + </p></div><div class="navfooter"><ul><li class="prev"><a accesskey="p" href="ch03.html" title="Essential step">Prev</a><p>Essential step</p></li><li class="next"><a accesskey="n" href="pt04.html" title="Preparing the build">Next</a><p>Preparing the build</p></li><li class="up"><a accesskey="u" href="ch03.html" title="Chapter 3. Essential step">Up</a></li><li class="home"><a accesskey="h" href="index.html" title="LFS live howto - Version 0.3">Home</a></li></ul></div></body></html> |