Changeset 4122675
- Timestamp:
- 07/02/2005 06:00:19 PM (19 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 4b59d59
- Parents:
- d45df00
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter03/packages.xml
rd45df00 r4122675 166 166 167 167 <varlistentry> 168 <term>G rub(&grub-version;) - 949 KB:</term>168 <term>GRUB (&grub-version;) - 949 KB:</term> 169 169 <listitem> 170 170 <para><ulink url="&alpha-gnu;grub/"/></para> -
chapter06/grub.xml
rd45df00 r4122675 7 7 ]> 8 8 <sect1 id="ch-system-grub" role="wrap"> 9 <title>G rub-&grub-version;</title>9 <title>GRUB-&grub-version;</title> 10 10 <?dbhtml filename="grub.html"?> 11 11 12 <indexterm zone="ch-system-grub"><primary sortas="a-Grub">G rub</primary></indexterm>12 <indexterm zone="ch-system-grub"><primary sortas="a-Grub">GRUB</primary></indexterm> 13 13 14 14 <sect2 role="package"><title/> 15 <para>The G rub package contains the Grand Unified Bootloader.</para>15 <para>The GRUB package contains the GRand Unified Bootloader.</para> 16 16 17 17 <segmentedlist> … … 29 29 30 30 <sect2 role="installation"> 31 <title>Installation of G rub</title>31 <title>Installation of GRUB</title> 32 32 33 33 <para>This package is known to have issues when its default … … 36 36 variables that override default optimizations have been defined, such 37 37 as <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar>, 38 unset them when building G rub.</para>38 unset them when building GRUB.</para> 39 39 40 <para>Prepare G rubfor compilation:</para>40 <para>Prepare GRUB for compilation:</para> 41 41 42 42 <screen><userinput>./configure --prefix=/usr</userinput></screen> … … 75 75 76 76 77 <sect2 id="contents-g rub" role="content"><title>Contents of Grub</title>77 <sect2 id="contents-gRUB" role="content"><title>Contents of GRUB</title> 78 78 79 79 <segmentedlist> -
chapter08/grub.xml
rd45df00 r4122675 9 9 10 10 <indexterm zone="ch-bootable-grub"> 11 <primary sortas="a-Grub">G rub</primary>11 <primary sortas="a-Grub">GRUB</primary> 12 12 <secondary>configuring</secondary></indexterm> 13 13 … … 26 26 unusable (un-bootable).</para> 27 27 28 <para>Earlier, we compiled and installed the G rubboot loader software28 <para>Earlier, we compiled and installed the GRUB boot loader software 29 29 in preparation for this step. The procedure involves writing some 30 special G rubfiles to specific locations on the hard drive. We highly31 recommend creating a G rubboot floppy diskette as a backup. Insert a30 special GRUB files to specific locations on the hard drive. We highly 31 recommend creating a GRUB boot floppy diskette as a backup. Insert a 32 32 blank floppy diskette and run the following commands:</para> 33 33 … … 40 40 <screen><userinput>grub</userinput></screen> 41 41 42 <para>G rubuses its own naming structure for drives and partitions in42 <para>GRUB uses its own naming structure for drives and partitions in 43 43 the form of <emphasis>(hdn,m)</emphasis>, where <emphasis>n</emphasis> 44 44 is the hard drive number and <emphasis>m</emphasis> is the partition 45 45 number, both starting from zero. For example, partition <filename 46 46 class="partition">hda1</filename> is <emphasis>(hd0,0)</emphasis> to 47 G ruband <filename class="partition">hdb3</filename> is48 <emphasis>(hd1,2)</emphasis>. In contrast to Linux, G rubdoes not47 GRUB and <filename class="partition">hdb3</filename> is 48 <emphasis>(hd1,2)</emphasis>. In contrast to Linux, GRUB does not 49 49 consider CD-ROM drives to be hard drives. For example, if using a CD 50 50 on <filename class="partition">hdb</filename> and a second hard drive … … 58 58 class="partition">hda4</filename>.</para> 59 59 60 <para>Tell G rubwhere to search for its60 <para>Tell GRUB where to search for its 61 61 <filename>stage{1,2}</filename> files. The Tab key can be used 62 everywhere to make G rubshow the alternatives:</para>62 everywhere to make GRUB show the alternatives:</para> 63 63 64 64 <screen><userinput>root (hd0,3)</userinput></screen> … … 68 68 using a third party boot manager to manage the Master Boot Record 69 69 (MBR). In this scenario, it would make more sense to install 70 G rubinto the <quote>boot sector</quote> of the LFS partition. In this70 GRUB into the <quote>boot sector</quote> of the LFS partition. In this 71 71 case, this next command would become <userinput>setup 72 72 (hd0,3)</userinput>.</para></warning> 73 73 74 <para>Tell G rubto install itself into the MBR of74 <para>Tell GRUB to install itself into the MBR of 75 75 <filename class="partition">hda</filename>:</para> 76 76 77 77 <screen><userinput>setup (hd0)</userinput></screen> 78 78 79 <para>If all went well, G rubwill have reported finding its files in79 <para>If all went well, GRUB will have reported finding its files in 80 80 <filename class="directory">/boot/grub</filename>. That's all there is 81 81 to it. Quit the <command>grub</command> shell:</para> … … 83 83 <screen><userinput>quit</userinput></screen> 84 84 85 <para>Create a <quote>menu list</quote> file defining G rub's boot menu:</para>85 <para>Create a <quote>menu list</quote> file defining GRUB's boot menu:</para> 86 86 87 87 <screen><userinput>cat > /boot/grub/menu.lst << "EOF" … … 123 123 124 124 <para>If <command>info grub</command> does not provide all necessary material, additional 125 information regarding G rubis located on its website at:125 information regarding GRUB is located on its website at: 126 126 <ulink url="http://www.gnu.org/software/grub/"/>.</para> 127 127 128 <para>The FHS stipulates that G rub's <filename>menu.lst</filename> file should be symlinked to128 <para>The FHS stipulates that GRUB's <filename>menu.lst</filename> file should be symlinked to 129 129 <filename class="symlink">/etc/grub/menu.lst</filename>. To satisfy this requirement, issue the 130 130 following command:</para> -
chapter08/introduction.xml
rd45df00 r4122675 10 10 <para>It is time to make the LFS system bootable. This chapter 11 11 discusses creating an <filename>fstab</filename> file, building a 12 kernel for the new LFS system, and installing the G rubboot loader so12 kernel for the new LFS system, and installing the GRUB boot loader so 13 13 that the LFS system can be selected for booting at startup.</para> 14 14 -
chapter09/reboot.xml
rd45df00 r4122675 51 51 <screen><userinput>shutdown -r now</userinput></screen> 52 52 53 <para>Assuming the G rubboot loader was set up as outlined earlier, the menu53 <para>Assuming the GRUB boot loader was set up as outlined earlier, the menu 54 54 is set to boot <emphasis>LFS &version;</emphasis> automatically.</para> 55 55
Note:
See TracChangeset
for help on using the changeset viewer.