Changes between Version 7 and Version 8 of bootloaders/grub2
- Timestamp:
- May 12, 2017, 12:20:49 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
bootloaders/grub2
v7 v8 1 = Grub2 =1 = Grub2 for CLFS Builds = 2 2 3 3 === Needed Files === 4 4 Grub2 [[ftp://alpha.gnu.org/gnu/grub/grub-1.97.1.tar.gz]] 5 5 6 == Changes to boot method ==7 These changes apply if you are using the boot method.6 == Changes for Boot Method == 7 These changes apply if you are using the Boot Method. 8 8 9 9 === Building Grub2 === … … 16 16 }}} 17 17 18 == Changes to Final-System==19 These changes apply to the final-system section of the book.18 == Changes for Final-System Section == 19 These changes apply to the Final-System section of the book. 20 20 21 21 === Building Grub2 === … … 38 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 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). 39 39 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.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. 41 41 {{{ 42 42 cat > ${CLFS}/boot/grub/grub.cfg << "EOF"