Changeset 1969cea for chapter08/grub.xml


Ignore:
Timestamp:
01/09/2004 11:45:52 PM (20 years ago)
Author:
Greg Schafer <greg@…>
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:
45340ae
Parents:
29d091b
Message:

Added --no-mem-option to Grub command line in menu.lst to disable
Grub's insistence on passing mem= to the kernel. Closes 737.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/grub.xml

    r29d091b r1969cea  
    8989title LFS &milestone;
    9090root (hd0,3)
    91 kernel /boot/lfskernel root=/dev/hda4 ro
     91kernel --no-mem-option /boot/lfskernel root=/dev/hda4
    9292<userinput>EOF</userinput></screen>
     93
     94<note><para>By default, Grub will automatically pass a "mem=xxx" command line
     95argument to the kernel. However, Grub sometimes gets the amount of memory wrong
     96which can lead to problems in some circumstances. It's best to disable this
     97functionality and let the kernel determine the amount of memory itself, hence
     98the use of the <emphasis>--no-mem-option</emphasis> above.</para></note>
    9399
    94100<para>You may want to add an entry for your host distribution.  It might look
     
    98104title Red Hat
    99105root (hd0,2)
    100 kernel /boot/kernel-2.4.20 root=/dev/hda3 ro
     106kernel /boot/kernel-2.4.20 root=/dev/hda3
    101107initrd /boot/initrd-2.4.20
    102108<userinput>EOF</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.