mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-27 23:59:21 +01:00
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
This commit is contained in:
parent
29d091b85f
commit
1969ceae32
@ -50,6 +50,10 @@
|
|||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
<listitem><para>January 9th, 2004 [greg]: Chapter 8 - Making the LFS system
|
||||||
|
bootable: Added --no-mem-option to Grub command line in menu.lst to disable
|
||||||
|
Grub's insistence on passing mem= to the kernel. Closes 737.</para></listitem>
|
||||||
|
|
||||||
<listitem><para>January 7th, 2004 [greg]: Chapter 5 - Util-linux: Added command
|
<listitem><para>January 7th, 2004 [greg]: Chapter 5 - Util-linux: Added command
|
||||||
to install the arch program which is needed by Perl for consistency. Upgraded
|
to install the arch program which is needed by Perl for consistency. Upgraded
|
||||||
to Kbd-1.10.</para></listitem>
|
to Kbd-1.10.</para></listitem>
|
||||||
|
@ -88,16 +88,22 @@ color green/black light-green/black
|
|||||||
# The first entry is for LFS.
|
# The first entry is for LFS.
|
||||||
title LFS &milestone;
|
title LFS &milestone;
|
||||||
root (hd0,3)
|
root (hd0,3)
|
||||||
kernel /boot/lfskernel root=/dev/hda4 ro
|
kernel --no-mem-option /boot/lfskernel root=/dev/hda4
|
||||||
<userinput>EOF</userinput></screen>
|
<userinput>EOF</userinput></screen>
|
||||||
|
|
||||||
|
<note><para>By default, Grub will automatically pass a "mem=xxx" command line
|
||||||
|
argument to the kernel. However, Grub sometimes gets the amount of memory wrong
|
||||||
|
which can lead to problems in some circumstances. It's best to disable this
|
||||||
|
functionality and let the kernel determine the amount of memory itself, hence
|
||||||
|
the use of the <emphasis>--no-mem-option</emphasis> above.</para></note>
|
||||||
|
|
||||||
<para>You may want to add an entry for your host distribution. It might look
|
<para>You may want to add an entry for your host distribution. It might look
|
||||||
like this:</para>
|
like this:</para>
|
||||||
|
|
||||||
<screen><userinput>cat >> /boot/grub/menu.lst << "EOF"</userinput>
|
<screen><userinput>cat >> /boot/grub/menu.lst << "EOF"</userinput>
|
||||||
title Red Hat
|
title Red Hat
|
||||||
root (hd0,2)
|
root (hd0,2)
|
||||||
kernel /boot/kernel-2.4.20 root=/dev/hda3 ro
|
kernel /boot/kernel-2.4.20 root=/dev/hda3
|
||||||
initrd /boot/initrd-2.4.20
|
initrd /boot/initrd-2.4.20
|
||||||
<userinput>EOF</userinput></screen>
|
<userinput>EOF</userinput></screen>
|
||||||
|
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
"/usr/share/docbook/docbookx.dtd" [
|
"/usr/share/docbook/docbookx.dtd" [
|
||||||
|
|
||||||
|
|
||||||
<!ENTITY version "CVS-20040108">
|
<!ENTITY version "CVS-20040109">
|
||||||
<!ENTITY releasedate "January 8th, 2004">
|
<!ENTITY releasedate "January 9th, 2004">
|
||||||
<!ENTITY milestone "5.1">
|
<!ENTITY milestone "5.1">
|
||||||
<!ENTITY nbsp " ">
|
<!ENTITY nbsp " ">
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user