Changeset e787b1f for chapter08/grub.xml
- 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
- File:
-
- 1 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
Note:
See TracChangeset
for help on using the changeset viewer.