Changeset 3d7b4f6 for chapter10


Ignore:
Timestamp:
10/13/2021 11:27:35 AM (3 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
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, 12.2, 12.2-rc1, arm, bdubbs/gcc13, 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/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
7af57d2e
Parents:
b17714a9
Message:

clean up after condxml merge

Location:
chapter10
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter10/grub.xml

    rb17714a9 r3d7b4f6  
    136136    <para>Generate <filename>/boot/grub/grub.cfg</filename>:</para>
    137137
    138     <screen revision="sysv"><userinput>cat &gt; /boot/grub/grub.cfg &lt;&lt; "EOF"
     138    <screen><userinput>cat &gt; /boot/grub/grub.cfg &lt;&lt; "EOF"
    139139<literal># Begin /boot/grub/grub.cfg
    140140set default=0
     
    148148}</literal>
    149149EOF</userinput></screen>
    150 
    151     <screen revision="systemd"><userinput>cat &gt; /boot/grub/grub.cfg &lt;&lt; "EOF"
    152 <literal># Begin /boot/grub/grub.cfg
    153 set default=0
    154 set timeout=5
    155 
    156 insmod ext2
    157 set root=(hd0,2)
    158 
    159 menuentry "GNU/Linux, Linux &linux-version;-lfs-&version;" {
    160         linux   /boot/vmlinuz-&linux-version;-lfs-&version; root=/dev/sda2 ro
    161 }</literal>
    162 EOF</userinput></screen>
    163 
    164150
    165151    <note><para>From <application>GRUB</application>'s perspective, the
  • chapter10/kernel.xml

    rb17714a9 r3d7b4f6  
    226226    following command assumes an x86 architecture:</para>
    227227
    228 <screen revision="sysv"><userinput remap="install">cp -iv arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&version;</userinput></screen>
    229 
    230 <screen revision="systemd"><userinput remap="install">cp -iv arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&version;</userinput></screen>
     228<screen><userinput remap="install">cp -iv arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&version;</userinput></screen>
    231229
    232230    <para><filename>System.map</filename> is a symbol file for the kernel.
Note: See TracChangeset for help on using the changeset viewer.