Changes between Version 3 and Version 4 of bootloaders/grub2
- Timestamp:
- May 13, 2010, 6:04:59 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
bootloaders/grub2
v3 v4 22 22 The 'make check' is optional. 23 23 {{{ 24 ./configure --prefix=/usr 24 ./configure --prefix=/usr --sysconfdir=/etc 25 25 make 26 26 make check … … 36 36 37 37 == 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 , both starting from zero. For example, partition hda1 is (hd0,0) to GRUB and hdb3 is (hd1,2). 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).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). 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, 1), remember to substitute this for your hard drive and parition.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. 41 41 {{{ 42 42 cat > ${CLFS}/boot/grub/grub.cfg << "EOF" … … 66 66 }}} 67 67 68 68 69 === Setting the Frame Buffer Resolution === 69 70 Add the following to the start of your grub.cfg file.