aboutsummaryrefslogtreecommitdiffstats
path: root/chapter10/grub.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2021-10-13 19:27:35 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2021-10-13 19:27:35 +0800
commit3d7b4f686a3669663fe7c3cb2fb0b8ee7d558f4c (patch)
treed42166d4f688a8bf3d2493dc339e29d725afa154 /chapter10/grub.xml
parentb17714a9bb9644a8cbfb02582be7d5244434b7ec (diff)
clean up after condxml merge
Diffstat (limited to 'chapter10/grub.xml')
-rw-r--r--chapter10/grub.xml16
1 files changed, 1 insertions, 15 deletions
diff --git a/chapter10/grub.xml b/chapter10/grub.xml
index b35d75540..c569525c9 100644
--- a/chapter10/grub.xml
+++ b/chapter10/grub.xml
@@ -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>
- <screen revision="sysv"><userinput>cat &gt; /boot/grub/grub.cfg &lt;&lt; "EOF"
+ <screen><userinput>cat &gt; /boot/grub/grub.cfg &lt;&lt; "EOF"
<literal># Begin /boot/grub/grub.cfg
set default=0
set timeout=5
@@ -148,20 +148,6 @@ menuentry "GNU/Linux, Linux &linux-version;-lfs-&version;" {
}</literal>
EOF</userinput></screen>
- <screen revision="systemd"><userinput>cat &gt; /boot/grub/grub.cfg &lt;&lt; "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
kernel files are relative to the partition used. If you
used a separate /boot partition, remove /boot from the above