- Timestamp:
- 10/13/2021 11:27:35 AM (3 years ago)
- 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
- Location:
- chapter10
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter10/grub.xml
rb17714a9 r3d7b4f6 136 136 <para>Generate <filename>/boot/grub/grub.cfg</filename>:</para> 137 137 138 <screen revision="sysv"><userinput>cat > /boot/grub/grub.cfg << "EOF"138 <screen><userinput>cat > /boot/grub/grub.cfg << "EOF" 139 139 <literal># Begin /boot/grub/grub.cfg 140 140 set default=0 … … 148 148 }</literal> 149 149 EOF</userinput></screen> 150 151 <screen revision="systemd"><userinput>cat > /boot/grub/grub.cfg << "EOF"152 <literal># Begin /boot/grub/grub.cfg153 set default=0154 set timeout=5155 156 insmod ext2157 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 ro161 }</literal>162 EOF</userinput></screen>163 164 150 165 151 <note><para>From <application>GRUB</application>'s perspective, the -
chapter10/kernel.xml
rb17714a9 r3d7b4f6 226 226 following command assumes an x86 architecture:</para> 227 227 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> 231 229 232 230 <para><filename>System.map</filename> is a symbol file for the kernel.
Note:
See TracChangeset
for help on using the changeset viewer.