Changeset 3d7b4f6


Ignore:
Timestamp:
10/13/2021 11:27:35 AM (4 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
multilib, trunk
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.