Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/x86/kernel.xml

    r1d9abb9 rfe422de  
    4949    xpointer="xpointer(//*[@os='d'])"/>
    5050
     51    <note os="kc"><para>A good starting place for setting up the kernel
     52    configuration is to run <command>make defconfig</command>. This will set the    base configuration to a good state that takes your current system
     53    architecture into account.</para>
     54
     55    <para>Be sure to enable or disable following features or the system might
     56    not work correctly or boot at all:</para>
     57
     58    <screen role="nodump">Device Drivers  ---&gt;
     59  Generic Driver Options  ---&gt;
     60    ()  path to uevent helper
     61    [*] Maintain a devtmpfs filesystem to mount at /dev
     62    [ ] Fallback user-helper invocation for firmware loading</screen></note>
     63
    5164    <para os="ae">Configure the kernel via a menu-driven interface:</para>
    5265
     
    8093
    8194<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- \
    82     INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
     95    INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
    8396
    8497    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    87100
    88101<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- \
    89    INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
     102    INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
    90103
    91104    <para os="u">After kernel compilation is complete, additional steps are
    92105    required to complete the installation. Some files need to be copied to
    93     the <filename class="directory">${CLFS}/boot</filename> directory.</para>
     106    the <filename class="directory">/tools/boot</filename> directory.</para>
    94107
    95     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    96     href="../../bootable/x86/kernel.xml"
    97     xpointer="xpointer(//*[@os='v'])"/>
     108    <para os="v">Issue the following commands to install the kernel:</para>
    98109
    99 <screen><userinput>cp -v arch/i386/boot/bzImage ${CLFS}/boot/vmlinuz-clfs-&linux-version;</userinput></screen>
     110<screen><userinput>mkdir -pv /tools/boot
     111cp -v arch/i386/boot/bzImage /tools/boot/vmlinuz-clfs-&linux-version;</userinput></screen>
    100112
    101113    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    103115    xpointer="xpointer(//*[@os='w'])"/>
    104116
    105 <screen os="w1"><userinput>cp -v System.map ${CLFS}/boot/System.map-&linux-version;</userinput></screen>
     117<screen os="w1"><userinput>cp -v System.map /tools/boot/System.map-&linux-version;</userinput></screen>
    106118
    107119    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    109121    xpointer="xpointer(//*[@os='x'])"/>
    110122
    111 <screen os="x1"><userinput>cp -v .config ${CLFS}/boot/config-&linux-version;</userinput></screen>
     123<screen os="x1"><userinput>cp -v .config /tools/boot/config-&linux-version;</userinput></screen>
    112124
    113125  </sect2>
Note: See TracChangeset for help on using the changeset viewer.