- Timestamp:
- 01/06/2023 04:58:37 AM (21 months ago)
- Branches:
- xry111/clfs-ng
- Children:
- 0678bd4
- Parents:
- 76b84d2 (diff), af944eb (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter10/grub.xml
r76b84d2 r985d253 20 20 <para> 21 21 If your system has UEFI support and you wish to boot LFS with UEFI, 22 you should skip this page, and config GRUB with UEFI support22 you should skip this page, and configure GRUB with UEFI support 23 23 using the instructions provided in 24 24 <ulink url="&blfs-book;postlfs/grub-setup.html">the BLFS page</ulink>. … … 55 55 the form of <emphasis>(hdn,m)</emphasis>, where <emphasis>n</emphasis> 56 56 is the hard drive number and <emphasis>m</emphasis> is the partition 57 number. The hard drive number starts from zero, but the partition number58 start s from one for normal partitions and five for extended partitions.57 number. The hard drive numbers start from zero, but the partition numbers 58 start from one for normal partitions (from five for extended partitions). 59 59 Note that this is different from earlier versions where 60 60 both numbers started from zero. For example, partition <filename … … 148 148 <filename>grub.cfg</filename> refers to some <quote>old</quote> 149 149 designators. If you wish to avoid such a problem, you may use 150 the UUID of partition and filesystem instead ofGRUB designator to151 specify a partition.150 the UUID of a partition and the UUID of a filesystem instead of a GRUB designator to 151 specify a device. 152 152 Run <command>lsblk -o UUID,PARTUUID,PATH,MOUNTPOINT</command> to show 153 the UUID of your filesystems (in<literal>UUID</literal> column) and154 partitions (in <literal>PARTUUID</literal> column). Then replace153 the UUIDs of your filesystems (in the <literal>UUID</literal> column) and 154 partitions (in the <literal>PARTUUID</literal> column). Then replace 155 155 <literal>set root=(hdx,y)</literal> with 156 <literal>search --set=root --fs-uuid <replaceable><UUID of the filesystem where the kernel is installed></replaceable></literal>, and replace 156 <literal>search --set=root --fs-uuid <replaceable><UUID of the filesystem 157 where the kernel is installed></replaceable></literal>, and replace 157 158 <literal>root=/dev/sda2</literal> with 158 <literal>root=PARTUUID=<replaceable><UUID of the partition where LFS is built></replaceable></literal>.</para> 159 <para>Note that the UUID of a partition and the UUID of the filesystem 160 in this partition is completely different. Some online resources may 159 <literal>root=PARTUUID=<replaceable><UUID of the partition where LFS 160 is built></replaceable></literal>.</para> 161 <para>Note that the UUID of a partition is completely different from the 162 UUID of the filesystem in this partition. Some online resources may 161 163 instruct you to use 162 164 <literal>root=UUID=<replaceable><filesystem UUID></replaceable></literal> 163 165 instead of 164 166 <literal>root=PARTUUID=<replaceable><partition UUID></replaceable></literal>, 165 but doing so will require an initramfs which is beyond the scope of167 but doing so will require an initramfs, which is beyond the scope of 166 168 LFS.</para> 167 169 <para>The name of the device node for a partition in 168 <filename class='directory'>/dev</filename> may also change ( more169 unlikely than GRUB designator change though). You can also replace170 <filename class='directory'>/dev</filename> may also change (this is less 171 likely than a GRUB designator change). You can also replace 170 172 paths to device nodes like <literal>/dev/sda1</literal> with 171 173 <literal>PARTUUID=<replaceable><partition UUID></replaceable></literal>,
Note:
See TracChangeset
for help on using the changeset viewer.