close Warning: Failed to sync with repository "(default)": [Errno 12] Cannot allocate memory; repository information may be out of date. Look in the Trac log for more information including mitigation strategies.

Changes between Version 7 and Version 8 of bootloaders/grub2


Ignore:
Timestamp:
May 12, 2017, 12:20:49 PM (7 years ago)
Author:
M.N. Akhiezer
Comment:

Made some terminology/capitalisations, consistent across bootloader wiki docs.

Legend:

Unmodified
Added
Removed
Modified
  • bootloaders/grub2

    v7 v8  
    1 = Grub2 =
     1= Grub2 for CLFS Builds =
    22
    33=== Needed Files ===
    44Grub2 [[ftp://alpha.gnu.org/gnu/grub/grub-1.97.1.tar.gz]]
    55
    6 == Changes to boot method ==
    7 These changes apply if you are using the boot method.
     6== Changes for Boot Method ==
     7These changes apply if you are using the Boot Method.
    88
    99=== Building Grub2 ===
     
    1616}}}
    1717
    18 == Changes to Final-System ==
    19 These changes apply to the final-system section of the book.
     18== Changes for Final-System Section ==
     19These changes apply to the Final-System section of the book.
    2020
    2121=== Building Grub2 ===
     
    3838GRUB uses its own naming structure for drives and partitions in the form of (hdn,m), where n is the hard drive number and m is the partition number. The hard drive numbers start from zero and the partition numbers from one. For example, partition hda1 is (hd0,1) to GRUB and hdb3 is (hd1,3). In contrast to Linux, GRUB does not consider CD-ROM drives to be hard drives. For example, if using a CD on hdb and a second hard drive on hdc, that second hard drive would still be (hd1).
    3939
    40 Create a "Boot Menu" for grub by defining the boot menu; ${CLFS} is only required if you are using the boot method. The menu below uses the second partition on the first hard drive, (hd0,2); remember to substitute this for your hard drive and partition.
     40Create a "Boot Menu" for grub by defining the boot menu; ${CLFS} is only required if you are using the Boot Method. The menu below uses the second partition on the first hard drive, (hd0,2); remember to substitute this for your hard drive and partition.
    4141{{{
    4242cat > ${CLFS}/boot/grub/grub.cfg << "EOF"