Changeset d72e04a


Ignore:
Timestamp:
01/30/2005 12:51:22 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
1770019
Parents:
bce08ef
Message:

Added <literal> tags.
Added NEW comments to commands that differs from testing.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4599 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
33 edited

Legend:

Unmodified
Added
Removed
  • chapter04/settingenviron.xml

    rbce08ef rd72e04a  
    99
    1010<screen><userinput>cat &gt; ~/.bash_profile &lt;&lt; "EOF"
    11 exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash
     11<literal>exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash</literal>
    1212EOF</userinput></screen>
    1313
    1414<screen><userinput>cat &gt; ~/.bashrc &lt;&lt; "EOF"
    15 set +h
     15<literal>set +h
    1616umask 022
    1717LFS=/mnt/lfs
    1818LC_ALL=POSIX
    1919PATH=/tools/bin:/bin:/usr/bin
    20 export LFS LC_ALL PATH
     20export LFS LC_ALL PATH</literal>
    2121EOF</userinput></screen>
    2222
  • chapter05/adjusting.xml

    rbce08ef rd72e04a  
    3333<para>The output of the last command will be of the form:</para>
    3434
    35 <screen><computeroutput>[Requesting program interpreter: /tools/lib/ld-linux.so.2]</computeroutput></screen>
     35<screen><computeroutput>[Requesting program interpreter:
     36    /tools/lib/ld-linux.so.2]</computeroutput></screen>
    3637
    3738<para>Remove the test files:</para>
  • chapter05/binutils-pass1.xml

    rbce08ef rd72e04a  
    3333<para>Now prepare Binutils for compilation:</para>
    3434
    35 <screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools --disable-nls</userinput></screen>
     35<screen><userinput>../binutils-&binutils-version;/configure --prefix=/tools \
     36    --disable-nls</userinput></screen>
    3637
    3738<para>Continue with compiling the package:</para>
  • chapter05/binutils-pass2.xml

    rbce08ef rd72e04a  
    3737<para>Test the results:</para>
    3838
     39<!-- NEW -->
    3940<screen><userinput>make -k check</userinput></screen>
    4041
     
    4546* 1 FAIL for selective4
    4647* 1 FAIL for selective5</computeroutput></screen>
     48<!-- END NEW-->
    4749
    4850<para>And install the package:</para>
  • chapter05/gcc-pass1.xml

    rbce08ef rd72e04a  
    2828<para>Prepare GCC for compilation:</para>
    2929
     30<!--NEW-->
    3031<screen><userinput>CC="gcc -B/usr/bin" ../gcc-&gcc-version;/configure \
    3132    --prefix=/tools --libexecdir=/tools/lib \
  • chapter05/gcc-pass2.xml

    rbce08ef rd72e04a  
    3939<screen><userinput>../gcc-&gcc-version;/configure --prefix=/tools \
    4040    --libexecdir=/tools/lib --with-local-prefix=/tools \
    41     --enable-clocale=gnu --enable-shared --enable-threads=posix \
    42     --enable-__cxa_atexit --enable-languages=c,c++ \
    43     --disable-libstdcxx-pch</userinput></screen>
     41    --enable-clocale=gnu --enable-shared \
     42    --enable-threads=posix --enable-__cxa_atexit \
     43    --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen>
    4444
    4545<para>Compile the package:</para>
  • chapter06/binutils.xml

    rbce08ef rd72e04a  
    3434<para>Now prepare Binutils for compilation:</para>
    3535
    36 <screen><userinput>../binutils-&binutils-version;/configure --prefix=/usr --enable-shared</userinput></screen>
     36<screen><userinput>../binutils-&binutils-version;/configure --prefix=/usr \
     37    --enable-shared</userinput></screen>
    3738
    3839<para>Compile the package:</para>
     
    4243<para>Test the results:</para>
    4344
     45<!--NEW-->
    4446<screen><userinput>make -k check</userinput></screen>
    4547
  • chapter06/coreutils.xml

    rbce08ef rd72e04a  
    2929<para>Apply another patch:</para>
    3030
    31 <screen><userinput>patch -Np1 -i ../coreutils-&coreutils-version;-suppress_uptime_kill_su-1.patch</userinput></screen>
     31<screen><userinput>patch -Np1 -i \
     32    ../coreutils-&coreutils-version;-suppress_uptime_kill_su-1.patch</userinput></screen>
    3233
    3334<para>Now prepare Coreutils for compilation:</para>
     
    6465
    6566<screen><userinput>mv /usr/bin/{[,basename,cat,chgrp,chmod,chown,cp,dd,df} /bin
    66 mv /usr/bin/{date,echo,false,head,install,ln,ls} /bin
    67 mv /usr/bin/{mkdir,mknod,mv,pwd,rm,rmdir,sync} /bin
     67mv /usr/bin/{date,echo,false,head,hostname,install,ln} /bin
     68mv /usr/bin/{ls,mkdir,mknod,mv,pwd,rm,rmdir,sync} /bin
    6869mv /usr/bin/{sleep,stty,test,touch,true,uname} /bin
    69 mv /usr/bin/hostname /bin
    7070mv /usr/bin/chroot /usr/sbin</userinput></screen>
    7171
  • chapter06/flex.xml

    rbce08ef rd72e04a  
    5252<para>Create a lex script:</para>
    5353
    54 <screen><userinput>cat &gt; /usr/bin/lex &lt;&lt; "EOF"</userinput>
    55 #!/bin/sh
     54<screen><userinput>cat &gt; /usr/bin/lex &lt;&lt; "EOF"
     55<literal>#!/bin/sh
    5656# Begin /usr/bin/lex
    5757
    5858exec /usr/bin/flex -l "$@"
    5959
    60 # End /usr/bin/lex
    61 <userinput>EOF
     60# End /usr/bin/lex</literal>
     61EOF
    6262chmod 755 /usr/bin/lex</userinput></screen>
    6363
  • chapter06/gcc.xml

    rbce08ef rd72e04a  
    4343
    4444<screen><userinput>../gcc-&gcc-version;/configure --prefix=/usr \
    45     --libexecdir=/usr/lib --enable-shared --enable-threads=posix \
    46     --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++</userinput></screen>
     45    --libexecdir=/usr/lib --enable-shared \
     46    --enable-threads=posix --enable-__cxa_atexit \
     47    --enable-clocale=gnu --enable-languages=c,c++</userinput></screen>
    4748
    4849<para>Compile the package:</para>
  • chapter06/glibc.xml

    rbce08ef rd72e04a  
    9494
    9595<screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
    96 # Begin /etc/nsswitch.conf
     96<literal># Begin /etc/nsswitch.conf
    9797
    9898passwd: files
     
    108108rpc: files
    109109
    110 # End /etc/nsswitch.conf
     110# End /etc/nsswitch.conf</literal>
    111111EOF</userinput></screen>
    112112
     
    130130
    131131<screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
    132 # Begin /etc/ld.so.conf
     132<literal># Begin /etc/ld.so.conf
    133133
    134134/usr/local/lib
    135135/opt/lib
    136136
    137 # End /etc/ld.so.conf
     137# End /etc/ld.so.conf</literal>
    138138EOF</userinput></screen>
    139139
  • chapter06/iproute2.xml

    rbce08ef rd72e04a  
    3232    <screen><userinput>patch -Np1 -i ../iproute2-&iproute2-patch-version;-remove_db-1.patch</userinput></screen>
    3333
     34    <!--NEW-->
    3435    <para>The patch below fixes the issue with the newer versions of findutils,
    3536    the issue will give an error message it options are not in the proper order.
     
    4748
    4849    <para>Now install it:</para>
    49 
     50   
     51    <!--NEW-->
    5052    <screen><userinput>make install SBINDIR=/sbin</userinput></screen>
    5153   
  • chapter06/libol.xml

    rbce08ef rd72e04a  
    2525<para>Prepare Libol for compilation</para>
    2626
     27<!--NEW-->
    2728<screen><userinput>./configure --prefix=/usr</userinput></screen>
    2829
  • chapter06/man.xml

    rbce08ef rd72e04a  
    4343<screen><userinput>make install</userinput></screen>
    4444
     45<para>For some internazionalitation issues, see testing.</para>
     46
    4547</sect2>
    4648
  • chapter06/pwdgroup.xml

    rbce08ef rd72e04a  
    1111
    1212<screen><userinput>cat &gt; /etc/passwd &lt;&lt; "EOF"
    13 root:x:0:0:root:/root:/bin/bash
     13<literal>root:x:0:0:root:/root:/bin/bash</literal>
    1414EOF</userinput></screen>
    1515
     
    1717
    1818<screen><userinput>cat &gt; /etc/group &lt;&lt; "EOF"
    19 root:x:0:
     19<literal>root:x:0:
    2020bin:x:1:
    2121sys:x:2:
     
    3131video:x:12:
    3232utmp:x:13:
    33 usb:x:14:
     33usb:x:14:</literal>
    3434EOF</userinput></screen>
    3535
  • chapter06/readjusting.xml

    rbce08ef rd72e04a  
    55]>
    66<sect1 id="ch-system-readjusting">
    7 <title>Rea-djusting the Toolchain</title>
     7<title>Re-adjusting the Toolchain</title>
    88<?dbhtml filename="readjusting.html"?>
    99
     
    1515<para>Amend the GCC specs file:</para>
    1616
    17 <!-- Ampersands are needed to allow cut and paste -->
    18 
    1917<screen><userinput>perl -pi -e 's@ /tools/lib/ld-linux.so.2@ /lib/ld-linux.so.2@g;' \
    2018    -e 's@\*startfile_prefix_spec:\n@$_/usr/lib/@g;' \
    21     `gcc --print-file specs`</userinput></screen>
     19        `gcc --print-file specs`</userinput></screen>
    2220
    2321<caution><para>Perform a simple sanity check:</para>
  • chapter06/readline.xml

    rbce08ef rd72e04a  
    2323<title>Installation of Readline</title>
    2424
     25<!-- NEW set of commands-->
    2526<para>Apply a patch.</para>
    2627
  • chapter06/shadow.xml

    rbce08ef rd72e04a  
    5454<screen><userinput>mv /usr/bin/passwd /bin</userinput></screen>
    5555
    56 <para>Move a library:</para>
     56<para>Move the library:</para>
    5757
    58 <screen><userinput>mv /lib/libshadow.*a /usr/lib</userinput></screen>
    59 
    60 <para>Create the following symlinks:</para>
    61 
    62 <screen><userinput>rm /lib/libshadow.so
     58<screen><userinput>mv /lib/libshadow.*a /usr/lib
     59rm /lib/libshadow.so
    6360ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen>
    6461
  • chapter06/syslogng.xml

    rbce08ef rd72e04a  
    4444<screen><userinput>mkdir -p /etc/syslog-ng
    4545cat &gt; /etc/syslog-ng/syslog-ng.conf &lt;&lt; "EOF"
    46 # Begin /etc/syslog-ng/syslog-ng.conf
     46<literal># Begin /etc/syslog-ng/syslog-ng.conf
    4747
    4848options {       sync (0);
     
    115115log { source(src); destination(console_all); };
    116116
    117 # END /etc/syslog-ng/syslog-ng.conf
     117# END /etc/syslog-ng/syslog-ng.conf</literal>
    118118EOF</userinput></screen>
    119119
  • chapter06/sysvinit.xml

    rbce08ef rd72e04a  
    4444
    4545<screen><userinput>cat &gt; /etc/inittab &lt;&lt; "EOF"
    46 # Begin /etc/inittab
     46<literal># Begin /etc/inittab
    4747
    4848id:3:initdefault:
     
    69696:2345:respawn:/sbin/agetty -I '\033(K' tty6 9600
    7070
    71 # End /etc/inittab
     71# End /etc/inittab</literal>
    7272EOF</userinput></screen>
    7373
  • chapter06/udev.xml

    rbce08ef rd72e04a  
    3333<para>Install our configuration files:</para>
    3434
    35 <screen><userinput>cp ../udev-config-2.permissions /etc/udev/permissions.d/25-lfs.permissions
     35<screen><userinput>cp ../udev-config-2.permissions \
     36    /etc/udev/permissions.d/25-lfs.permissions
    3637cp ../udev-config-1.rules /etc/udev/rules.d/25-lfs.rules</userinput></screen>
    3738
  • chapter06/util-linux.xml

    rbce08ef rd72e04a  
    2525<para>Issue a sed sustitution:</para>
    2626
    27 <screen><userinput>sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' hwclock/hwclock.c
     27<screen><userinput>sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
     28    hwclock/hwclock.c
    2829mkdir -p /var/lib/hwclock</userinput></screen>
    2930
  • chapter06/vim.xml

    rbce08ef rd72e04a  
    6161
    6262<screen><userinput>cat &gt; /etc/vimrc &lt;&lt; "EOF"
    63 " Begin /etc/vimrc
     63<literal>" Begin /etc/vimrc
    6464
    6565set nocompatible
     
    7171endif
    7272
    73 " End /etc/vimrc
     73" End /etc/vimrc</literal>
    7474EOF</userinput></screen>
    7575
  • chapter06/zlib.xml

    rbce08ef rd72e04a  
    2323<title>Installation of Zlib</title>
    2424
     25<!-- NEW set of commands-->
    2526<para>Prepare Zlib for compilation:</para>
    2627
  • chapter07/console.xml

    rbce08ef rd72e04a  
    1111
    1212<screen><userinput>cat &gt;/etc/sysconfig/console &lt;&lt;"EOF"
    13 KEYMAP="<replaceable>[arguments for loadkeys]</replaceable>"
    14 FONT="<replaceable>[arguments for setfont]</replaceable>"
     13<literal>KEYMAP="<replaceable>[arguments for loadkeys]</replaceable>"
     14FONT="<replaceable>[arguments for setfont]</replaceable>"</literal>
    1515EOF</userinput></screen>
    1616
     
    1818create the following keymap snippet to fix this issue:</para>
    1919
    20 <screen><userinput>mkdir -p /etc/kbd &amp;&amp; cat &gt;/etc/kbd/bs-sends-del &lt;&lt;"EOF"
    21                 keycode 14 =    Delete  Delete          Delete Delete
    22         alt     keycode 14 =    Meta_Delete
    23 altgr   alt     keycode 14 =    Meta_Delete
    24                 keycode 111 =  Remove
    25 altgr   control keycode 111 =  Boot
    26 control alt     keycode 111 =  Boot
    27 altgr   control alt keycode 111 = Boot
     20<screen><userinput>mkdir -p /etc/kbd &amp;&amp; cat &gt; /etc/kbd/bs-sends-del &lt;&lt;"EOF"
     21<literal>                  keycode  14 = Delete Delete Delete Delete
     22              alt keycode  14 = Meta_Delete
     23        altgr alt keycode  14 = Meta_Delete
     24                  keycode 111 = Remove
     25    altgr control keycode 111 = Boot
     26      control alt keycode 111 = Boot
     27altgr control alt keycode 111 = Boot</literal>
    2828EOF</userinput></screen>
    2929
     
    3232
    3333<screen><userinput>cat &gt;&gt;/etc/sysconfig/console &lt;&lt;"EOF"
    34 KEYMAP_CORRECTION="/etc/kbd/bs-sends-del"
     34<literal>KEYMAP_CORRECTION="/etc/kbd/bs-sends-del"</literal>
    3535EOF</userinput></screen>
    3636
  • chapter07/hosts.xml

    rbce08ef rd72e04a  
    88<?dbhtml filename="hosts.html"?>
    99
     10<para>If a network card is to be configured, create the
     11<filename>/etc/hosts</filename> file by running:</para>
     12
     13<screen><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"
     14<literal># Begin /etc/hosts (network card version)
     15
     16127.0.0.1 localhost
     17<replaceable>[192.168.1.1]</replaceable> <replaceable>[&lt;HOSTNAME&gt;.example.org]</replaceable> <replaceable>[HOSTNAME]</replaceable>
     18
     19# End /etc/hosts (network card version)</literal>
     20EOF</userinput></screen>
     21
    1022<para>If a network card is not going to be configured, create the
    1123<filename>/etc/hosts</filename> file by running:</para>
    1224
    1325<screen><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"
    14 # Begin /etc/hosts (no network card version)
     26<literal># Begin /etc/hosts (no network card version)
    1527
    16 127.0.0.1 <replaceable>[&lt;value of HOSTNAME&gt;.example.org]</replaceable> <replaceable>[value of HOSTNAME]</replaceable> localhost
     28127.0.0.1 <replaceable>[&lt;HOSTNAME&gt;.example.org]</replaceable> <replaceable>[HOSTNAME]</replaceable> localhost
    1729
    18 # End /etc/hosts (no network card version)
    19 EOF</userinput></screen>
    20 
    21 <para>If a network card is to be configured, create the
    22 <filename>/etc/hosts</filename> file by running:</para>
    23 
    24 <screen><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"
    25 # Begin /etc/hosts (network card version)
    26 
    27 127.0.0.1 localhost
    28 <replaceable>[192.168.1.1]</replaceable> <replaceable>[&lt;value of HOSTNAME&gt;.example.org]</replaceable> <replaceable>[value of HOSTNAME]</replaceable>
    29 
    30 # End /etc/hosts (network card version)
     30# End /etc/hosts (no network card version)</literal>
    3131EOF</userinput></screen>
    3232
  • chapter07/inputrc.xml

    rbce08ef rd72e04a  
    1111
    1212<screen><userinput>cat &gt; /etc/inputrc &lt;&lt; "EOF"
    13 # Begin /etc/inputrc
     13<literal># Begin /etc/inputrc
     14# Modified by Chris Lynn &lt;roryo@roryo.dynup.net&gt;
    1415
    1516# Make sure we don't output everything on the 1 line
     
    5253"\e[F": end-of-line
    5354
    54 # End /etc/inputrc
     55# End /etc/inputrc</literal>
    5556EOF</userinput></screen>
    5657
  • chapter07/network.xml

    rbce08ef rd72e04a  
    1818mkdir ifconfig.eth0 &amp;&amp;
    1919cat &gt; ifconfig.eth0/ipv4 &lt;&lt; "EOF"
    20 ONBOOT=yes
     20<literal>ONBOOT=yes
    2121SERVICE=ipv4-static
    2222IP=192.168.1.1
    2323GATEWAY=192.168.1.2
    2424PREFIX=24
    25 BROADCAST=192.168.1.255
     25BROADCAST=192.168.1.255</literal>
    2626EOF</userinput></screen>
    2727
     
    2929
    3030<sect2 id="resolv.conf">
    31 <title>Creating the /etc/resolv.conf file</title>
     31<title>Creating the /etc/resolv.conf File</title>
    3232
    3333<para>Create the file by running the following:</para>
    3434
    3535<screen><userinput>cat &gt; /etc/resolv.conf &lt;&lt; "EOF"
    36 # Begin /etc/resolv.conf
     36<literal># Begin /etc/resolv.conf
    3737
    3838domain {<replaceable>[Your Domain Name]</replaceable>}
    39 nameserver <replaceable>[IP address of your nameserver]</replaceable>
     39nameserver <replaceable>[IP address of your primary nameserver]</replaceable>
     40nameserver <replaceable>[IP address of your secondary nameserver]</replaceable>
    4041
    41 # End /etc/resolv.conf
     42# End /etc/resolv.conf</literal>
    4243EOF</userinput></screen>
    4344
  • chapter07/profile.xml

    rbce08ef rd72e04a  
    1212
    1313<screen><userinput>cat &gt; /etc/profile &lt;&lt; "EOF"
    14 # Begin /etc/profile
     14<literal># Begin /etc/profile
    1515
    1616export LC_ALL=<replaceable>[ll]</replaceable>_<replaceable>[CC]</replaceable>
     
    1818export INPUTRC=/etc/inputrc
    1919
    20 # End /etc/profile
     20# End /etc/profile</literal>
    2121EOF</userinput></screen>
    2222
  • chapter07/setclock.xml

    rbce08ef rd72e04a  
    1313
    1414<screen><userinput>cat &gt; /etc/sysconfig/clock &lt;&lt; "EOF"
    15 # Begin /etc/sysconfig/clock
     15<literal># Begin /etc/sysconfig/clock
    1616
    1717UTC=1
    1818
    19 # End /etc/sysconfig/clock
     19# End /etc/sysconfig/clock</literal>
    2020EOF</userinput></screen>
    2121
  • chapter08/fstab.xml

    rbce08ef rd72e04a  
    88<?dbhtml filename="fstab.html"?>
    99
     10<screen><userinput>cat &gt; /etc/fstab &lt;&lt; "EOF"
     11<literal># Begin /etc/fstab
    1012
    11 <screen><userinput>cat &gt; /etc/fstab &lt;&lt; "EOF"
    12 # Begin /etc/fstab
     13# file system  mount-point  type   options         dump  fsck
     14#                                                        order
    1315
    14 # file system  mount-point  fs-type  options         dump  fsck-order
    15 
    16 /dev/<replaceable>[xxx]</replaceable>     /            <replaceable>[fff]</replaceable>    defaults        1     1
    17 /dev/<replaceable>[yyy]</replaceable>     swap         swap     pri=1           0     0
    18 proc           /proc        proc     defaults        0     0
    19 sysfs          /sys         sysfs    defaults        0     0
    20 devpts         /dev/pts     devpts   gid=4,mode=620  0     0
    21 shm            /dev/shm     tmpfs    defaults        0     0
    22 # End /etc/fstab
     16/dev/<replaceable>[xxx]</replaceable>     /            <replaceable>[fff]</replaceable>  defaults        1     1
     17/dev/<replaceable>[yyy]</replaceable>     swap         swap   pri=1           0     0
     18proc           /proc        proc   defaults        0     0
     19sysfs          /sys         sysfs  defaults        0     0
     20devpts         /dev/pts     devpts gid=4,mode=620  0     0
     21shm            /dev/shm     tmpfs  defaults        0     0
     22# End /etc/fstab</literal>
    2323EOF</userinput></screen>
    2424
  • chapter08/grub.xml

    rbce08ef rd72e04a  
    3939
    4040<screen><userinput>cat &gt; /boot/grub/menu.lst &lt;&lt; "EOF"
    41 # Begin /boot/grub/menu.lst
     41<literal># Begin /boot/grub/menu.lst
    4242
    4343# By default boot the first menu entry.
     
    5353title LFS &version;
    5454root (hd0,3)
    55 kernel /boot/lfskernel-&linux-version; root=/dev/hda4
     55kernel /boot/lfskernel-&linux-version; root=/dev/hda4</literal>
    5656EOF</userinput></screen>
    5757
     
    6060
    6161<screen><userinput>cat &gt;&gt; /boot/grub/menu.lst &lt;&lt; "EOF"
    62 title Red Hat
     62<literal>title Red Hat
    6363root (hd0,2)
    6464kernel /boot/kernel-2.4.20 root=/dev/hda3
    65 initrd /boot/initrd-2.4.20
     65initrd /boot/initrd-2.4.20</literal>
    6666EOF</userinput></screen>
    6767
     
    7070
    7171<screen><userinput>cat &gt;&gt; /boot/grub/menu.lst &lt;&lt; "EOF"
    72 title Windows
     72<literal>title Windows
    7373rootnoverify (hd0,0)
    74 chainloader +1
     74chainloader +1</literal>
    7575EOF</userinput></screen>
    7676
  • chapter08/kernel.xml

    rbce08ef rd72e04a  
    3434<screen><userinput>make mrproper</userinput></screen>
    3535
     36<!--NEW: the sed command has been removed-->
     37
    3638<para>If, in <xref linkend="ch-scripts-console"/>, you decided you want
    3739to compile the keymap into the kernel, issue the command below:</para>
    3840
    3941<screen><userinput>loadkeys -m /usr/share/kbd/keymaps/<replaceable>[path to  keymap]</replaceable> &gt; \
    40     <replaceable>[unpacked sources dir]</replaceable>/linux-&linux-version;/drivers/char/defkeymap.c</userinput></screen>
     42    drivers/char/defkeymap.c</userinput></screen>
    4143
    4244<para>Configure the kernel via a menu-driven interface:</para>
Note: See TracChangeset for help on using the changeset viewer.