summaryrefslogtreecommitdiffstats
path: root/essential.xml
blob: 4f3eb4d50611a77bbce4b85c982a215e79799b82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">

<sect1 id="essential">
  <?dbhtml filename="essential.html"?>

  <title>Reconfiguring the Kernel</title>
  <note><para>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</para></note>
  <para>After having patched your kernel sources with aufs, you will have to configure your kernel to enable the new features.</para>
  <para>Use your favorite configuration tool, like <quote>make menuconfig</quote>.</para>
  <important>
    <para>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-&lt;kernel-version&gt;.</para>
  </important>
  <para>Enable <quote>Initial RAM filesystem and RAM disk (initramfs/initrd) support</quote> in <quote>General setup</quote>.</para>
  <para>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).</para>
  <para>In <quote>Processor type and features</quote>, select <quote>386</quote> as <quote>Processor family</quote></para>
  <para>You will have to enable loopback device support and ramdisk support in <quote>Device Drivers->Block devices</quote></para>
  <para>If you plan to build a live usb key, you will have to say yes to <quote>USB support</quote> and to <quote>Support for Host-side USB</quote>, as well as <quote>UHCI HCD support</quote>, <quote>OHCI HCD support</quote> and <quote>EHCI HCD (USB 2.0) support</quote>. Say yes (y) to <quote>USB Mass Storage support</quote> also.</para>
  <para>You will also need <quote>SCSI device support: SCSI disk support</quote>.</para>
  <para/>
  <para>If you plan to build a live cd or dvd, make sure you build the following modules direct into the kernel (* not m) :</para>
  <para>*<quote>SCSI device support->SCSI CDROM support</quote></para>
  <para>*<quote>SCSI generic support</quote></para>
  <para>*<quote>ISO 9660 CDROM file system support</quote> in CD-ROM/DVD Filesystems</para>
  <para>*<quote>PATA support.</quote></para>
  <para/>
  <para>Last, but not least, enable AUFS and SquashFS, in <quote>File systems->Miscellaneous filesystems</quote>
  </para>
  <para>After configuration, just build and install your kernel.
  </para>
</sect1>