- Timestamp:
- 05/27/2016 07:55:47 PM (8 years ago)
- 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, 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:
- 1aff37f
- Parents:
- cbd8bf0f
- Location:
- chapter08
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/grub.xml
rcbd8bf0f re787b1f 129 129 <para>Generate <filename>/boot/grub/grub.cfg</filename>:</para> 130 130 131 <screen ><userinput>cat > /boot/grub/grub.cfg << "EOF"131 <screen revision="sysv"><userinput>cat > /boot/grub/grub.cfg << "EOF" 132 132 <literal># Begin /boot/grub/grub.cfg 133 133 set default=0 … … 141 141 }</literal> 142 142 EOF</userinput></screen> 143 144 <screen revision="systemd"><userinput>cat > /boot/grub/grub.cfg << "EOF" 145 <literal># Begin /boot/grub/grub.cfg 146 set default=0 147 set timeout=5 148 149 insmod ext2 150 set root=(hd0,2) 151 152 menuentry "GNU/Linux, Linux &linux-version;-lfs-&versiond;" { 153 linux /boot/vmlinuz-&linux-version;-lfs-&versiond; root=/dev/sda2 ro 154 }</literal> 155 EOF</userinput></screen> 156 143 157 144 158 <note><para>From <application>GRUB</application>'s perspective, the -
chapter08/kernel.xml
rcbd8bf0f re787b1f 210 210 following command assumes an x86 architecture:</para> 211 211 212 <screen><userinput remap="install">cp -v arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&version;</userinput></screen> 212 <screen revision="sysv"><userinput remap="install">cp -v arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&version;</userinput></screen> 213 214 <screen revision="systemd"><userinput remap="install">cp -v arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&versiond;</userinput></screen> 213 215 214 216 <para><filename>System.map</filename> is a symbol file for the kernel. … … 319 321 <seglistitem> 320 322 <seg>config-&linux-version;, 321 vmlinuz-&linux-version;-lfs-&version;, and 322 System.map-&linux-version;</seg> 323 <phrase revision="sysv">vmlinuz-&linux-version;-lfs-&version;,</phrase> 324 <phrase revision="systemd">vmlinuz-&linux-version;-lfs-&versiond;,</phrase> 325 and System.map-&linux-version;</seg> 323 326 <seg>/lib/modules, /usr/share/doc/linux-&linux-version;</seg> 324 327 </seglistitem> … … 341 344 342 345 <varlistentry id="lfskernel"> 343 <term><filename>vmlinuz-&linux-version;-lfs-&version;</filename></term> 346 <term revision="sysv"><filename>vmlinuz-&linux-version;-lfs-&version;</filename></term> 347 <term revision="systemd"><filename>vmlinuz-&linux-version;-lfs-&versiond;</filename></term> 344 348 <listitem> 345 349 <para>The engine of the Linux system. When turning on the computer,
Note:
See TracChangeset
for help on using the changeset viewer.