Changeset 673b0d8 for chapter08/grub.xml


Ignore:
Timestamp:
05/03/2004 10:59:46 AM (20 years ago)
Author:
Matthew Burgess <matthew@…>
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.0, 6.1, 6.1.1, 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, v5_1, v5_1_1, 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:
0c43171, 2ec64b3, a4a675f
Parents:
287ea55
Message:
  • Merged newxml into HEAD

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3435 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/grub.xml

    r287ea55 r673b0d8  
     1<?xml version="1.0" encoding="ISO-8859-1"?>
     2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
     3  <!ENTITY % general-entities SYSTEM "../general.ent">
     4  %general-entities;
     5]>
    16<sect1 id="ch-bootable-grub">
    27<title>Making the LFS system bootable</title>
    3 <?dbhtml filename="grub.html" dir="chapter08"?>
     8<?dbhtml filename="grub.html"?>
     9
     10<indexterm zone="ch-bootable-grub">
     11<primary sortas="a-Grub">Grub</primary>
     12<secondary>configuring</secondary></indexterm>
    413
    514<para>Your shiny new LFS system is almost complete. One of the last things to
    615do is ensure you can boot it. The instructions below apply only to computers of
    7 IA-32 architecture, meaning mainstream PCs. Information on "boot loading" for
    8 other architectures should be available in the usual resource specific
    9 locations for those architectures.</para>
     16IA-32 architecture, meaning mainstream PCs. Information on <quote>boot
     17loading</quote> for other architectures should be available in the usual
     18resource-specific locations for those architectures.</para>
    1019
    1120<para>Boot loading can be a complex area. First, a few cautionary words. You
     
    1423bootable. Please make sure that you have an emergency boot disk ready, so that
    1524you can rescue your computer if, by any chance, your computer becomes unusable
    16 (unbootable).</para>
     25(un-bootable).</para>
    1726
    1827<para>Earlier, we compiled and installed the Grub boot loader software in
     
    4554
    4655<para>First, tell Grub where to search for its <filename>stage{1,2}</filename>
    47 files -- you can use Tab everywhere to make Grub show the alternatives:</para>
     56files -- you can use the Tab key everywhere to make Grub show the alternatives:</para>
    4857
    4958<screen><userinput>root (hd0,3)</userinput></screen>
    5059
    51 <!-- HACK - Force some whitespace to appease tidy -->
    52 <literallayout></literallayout>
    5360
    5461<warning><para>The following command will overwrite your current boot loader.
     
    5663using a third party boot manager to manage your MBR (Master Boot Record). In
    5764this scenario, it would probably make more sense to install Grub into the
    58 "boot sector" of the LFS partition, in which case the command would become:
    59 <userinput>setup (hd0,3)</userinput>.</para></warning>
     65<quote>boot sector</quote> of the LFS partition, in which case this next command
     66would become: <userinput>setup (hd0,3)</userinput>.</para></warning>
    6067
    61 <!-- HACK - Force some whitespace to appease tidy -->
    62 <literallayout></literallayout>
    6368
    64 <para>Then tell it to install itself into the MBR (Master Boot Record) of
     69<para>Tell Grub to install itself into the MBR (Master Boot Record) of
    6570<filename>hda</filename>:</para>
    6671
     
    7277<screen><userinput>quit</userinput></screen>
    7378
    74 <para>Now we need to create a "menu list" file, defining Grub's boot
    75 menu:</para>
     79<para>Now we need to create a <quote>menu list</quote> file, defining Grub's
     80boot menu:</para>
    7681
    7782<screen><userinput>cat &gt; /boot/grub/menu.lst &lt;&lt; "EOF"</userinput>
     
    9398<userinput>EOF</userinput></screen>
    9499
    95 <note><para>By default, Grub will automatically pass a "mem=xxx" command line
    96 argument to the kernel. However, Grub occasionally gets the amount of memory
    97 wrong which can lead to problems in some circumstances. It's best to disable
    98 this functionality and let the kernel determine the amount of memory itself,
    99 hence the use of the <emphasis>--no-mem-option</emphasis> above.</para></note>
     100<note><para>By default, Grub will automatically pass a <quote>mem=xxx</quote>
     101command line argument to the kernel. However, Grub occasionally gets the amount
     102of memory wrong which can lead to problems in some circumstances. It's best to
     103disable this functionality and let the kernel determine the amount of memory
     104itself, hence the use of the <emphasis>--no-mem-option</emphasis> above.</para>
     105</note>
    100106
    101107<para>You may want to add an entry for your host distribution. It might look
     
    123129
    124130</sect1>
    125 
Note: See TracChangeset for help on using the changeset viewer.