mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
clean up after condxml merge
This commit is contained in:
parent
b17714a9bb
commit
3d7b4f686a
@ -135,7 +135,7 @@ xorriso -as cdrecord -v dev=/dev/cdrw blank=as_needed grub-img.iso</userinput></
|
|||||||
|
|
||||||
<para>Generate <filename>/boot/grub/grub.cfg</filename>:</para>
|
<para>Generate <filename>/boot/grub/grub.cfg</filename>:</para>
|
||||||
|
|
||||||
<screen revision="sysv"><userinput>cat > /boot/grub/grub.cfg << "EOF"
|
<screen><userinput>cat > /boot/grub/grub.cfg << "EOF"
|
||||||
<literal># Begin /boot/grub/grub.cfg
|
<literal># Begin /boot/grub/grub.cfg
|
||||||
set default=0
|
set default=0
|
||||||
set timeout=5
|
set timeout=5
|
||||||
@ -148,20 +148,6 @@ menuentry "GNU/Linux, Linux &linux-version;-lfs-&version;" {
|
|||||||
}</literal>
|
}</literal>
|
||||||
EOF</userinput></screen>
|
EOF</userinput></screen>
|
||||||
|
|
||||||
<screen revision="systemd"><userinput>cat > /boot/grub/grub.cfg << "EOF"
|
|
||||||
<literal># Begin /boot/grub/grub.cfg
|
|
||||||
set default=0
|
|
||||||
set timeout=5
|
|
||||||
|
|
||||||
insmod ext2
|
|
||||||
set root=(hd0,2)
|
|
||||||
|
|
||||||
menuentry "GNU/Linux, Linux &linux-version;-lfs-&version;" {
|
|
||||||
linux /boot/vmlinuz-&linux-version;-lfs-&version; root=/dev/sda2 ro
|
|
||||||
}</literal>
|
|
||||||
EOF</userinput></screen>
|
|
||||||
|
|
||||||
|
|
||||||
<note><para>From <application>GRUB</application>'s perspective, the
|
<note><para>From <application>GRUB</application>'s perspective, the
|
||||||
kernel files are relative to the partition used. If you
|
kernel files are relative to the partition used. If you
|
||||||
used a separate /boot partition, remove /boot from the above
|
used a separate /boot partition, remove /boot from the above
|
||||||
|
@ -225,9 +225,7 @@ File systems --->
|
|||||||
the automatic setup of the boot process described in the next section. The
|
the automatic setup of the boot process described in the next section. The
|
||||||
following command assumes an x86 architecture:</para>
|
following command assumes an x86 architecture:</para>
|
||||||
|
|
||||||
<screen revision="sysv"><userinput remap="install">cp -iv arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&version;</userinput></screen>
|
<screen><userinput remap="install">cp -iv arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&version;</userinput></screen>
|
||||||
|
|
||||||
<screen revision="systemd"><userinput remap="install">cp -iv arch/x86/boot/bzImage /boot/vmlinuz-&linux-version;-lfs-&version;</userinput></screen>
|
|
||||||
|
|
||||||
<para><filename>System.map</filename> is a symbol file for the kernel.
|
<para><filename>System.map</filename> is a symbol file for the kernel.
|
||||||
It maps the function entry points of every function in the kernel API,
|
It maps the function entry points of every function in the kernel API,
|
||||||
|
Loading…
Reference in New Issue
Block a user