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 5 and Version 6 of bootloaders/grub2


Ignore:
Timestamp:
May 11, 2017, 1:36:31 PM (7 years ago)
Author:
M.N. Akhiezer
Comment:

Fixup of 7 typos.

Legend:

Unmodified
Added
Removed
Modified
  • bootloaders/grub2

    v5 v6  
    44Grub2 [[ftp://alpha.gnu.org/gnu/grub/grub-1.97.1.tar.gz]]
    55
    6 == Changed to boot method ==
     6== Changes to boot method ==
    77These changes apply if you are using the boot method.
    88
    9 === Builing Grub2 ===
     9=== Building Grub2 ===
    1010
    1111{{{
     
    3030
    3131== Installing Grub2 ==
    32 To install Grub2 onto the MBR you need to run the following command. Rember to substitute 'sda' for your boot hard drive.
     32To install Grub2 onto the MBR you need to run the following command. Remember to substitute 'sda' for your boot hard drive.
    3333{{{
    3434grub-install /dev/sda
     
    3636
    3737== Creating the Boot Menu ==
    38 GRUB 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 parition 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).
     38GRUB 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 parition.
     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"