2008-09-03 Felix Zielcke <fzielcke@z-51.de>
Based on patch from Ville Skyttä <ville.skytta@iki.fi> * docs/multiboot.texi: Fix some spelling. * docs/internals.texi: Likewise. * docs/grub.texi: Likewise.
This commit is contained in:
parent
508a5c4f33
commit
193d1e43d9
4 changed files with 30 additions and 23 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2008-09-03 Felix Zielcke <fzielcke@z-51.de>
|
||||||
|
|
||||||
|
Based on patch from Ville Skyttä <ville.skytta@iki.fi>
|
||||||
|
* docs/multiboot.texi: Fix some spelling.
|
||||||
|
* docs/internals.texi: Likewise.
|
||||||
|
* docs/grub.texi: Likewise.
|
||||||
|
|
||||||
2008-05-20 Robert Millan <rmh@aybabtu.com>
|
2008-05-20 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
* netboot/cs89x0.c: Fix license violation.
|
* netboot/cs89x0.c: Fix license violation.
|
||||||
|
|
|
@ -96,7 +96,7 @@ This edition documents version @value{VERSION}.
|
||||||
* Images:: GRUB image files
|
* Images:: GRUB image files
|
||||||
* Filesystem:: Filesystem syntax and semantics
|
* Filesystem:: Filesystem syntax and semantics
|
||||||
* Interface:: The menu and the command-line
|
* Interface:: The menu and the command-line
|
||||||
* Commands:: The list of available builtin commands
|
* Commands:: The list of available built-in commands
|
||||||
* Troubleshooting:: Error messages produced by GRUB
|
* Troubleshooting:: Error messages produced by GRUB
|
||||||
* Invoking the grub shell:: How to use the grub shell
|
* Invoking the grub shell:: How to use the grub shell
|
||||||
* Invoking grub-install:: How to use the GRUB installer
|
* Invoking grub-install:: How to use the GRUB installer
|
||||||
|
@ -236,7 +236,7 @@ Support many of the various free 32-bit kernels that lack Multiboot
|
||||||
compliance (primarily FreeBSD, NetBSD, OpenBSD, and
|
compliance (primarily FreeBSD, NetBSD, OpenBSD, and
|
||||||
Linux). Chain-loading of other boot loaders is also supported.
|
Linux). Chain-loading of other boot loaders is also supported.
|
||||||
|
|
||||||
@item Load multiples modules
|
@item Load multiple modules
|
||||||
Fully support the Multiboot feature of loading multiple modules.
|
Fully support the Multiboot feature of loading multiple modules.
|
||||||
|
|
||||||
@item Load a configuration file
|
@item Load a configuration file
|
||||||
|
@ -266,7 +266,7 @@ devices, partitions, and files in a directory depending on context.
|
||||||
|
|
||||||
@item Support multiple filesystem types
|
@item Support multiple filesystem types
|
||||||
Support multiple filesystem types transparently, plus a useful explicit
|
Support multiple filesystem types transparently, plus a useful explicit
|
||||||
blocklist notation. The currently supported filesystem types are
|
block list notation. The currently supported filesystem types are
|
||||||
@dfn{BSD FFS}, @dfn{DOS FAT16 and FAT32}, @dfn{Minix fs}, @dfn{Linux
|
@dfn{BSD FFS}, @dfn{DOS FAT16 and FAT32}, @dfn{Minix fs}, @dfn{Linux
|
||||||
ext2fs}, @dfn{ReiserFS}, @dfn{JFS}, @dfn{XFS}, and @dfn{VSTa
|
ext2fs}, @dfn{ReiserFS}, @dfn{JFS}, @dfn{XFS}, and @dfn{VSTa
|
||||||
fs}. @xref{Filesystem}, for more information.
|
fs}. @xref{Filesystem}, for more information.
|
||||||
|
@ -516,7 +516,7 @@ The device file name may be different. Consult the manual for your OS.
|
||||||
@section Installing GRUB natively
|
@section Installing GRUB natively
|
||||||
|
|
||||||
@strong{Caution:} Installing GRUB's stage1 in this manner will erase the
|
@strong{Caution:} Installing GRUB's stage1 in this manner will erase the
|
||||||
normal boot-sector used by an OS.
|
normal boot sector used by an OS.
|
||||||
|
|
||||||
GRUB can currently boot GNU Mach, Linux, FreeBSD, NetBSD, and OpenBSD
|
GRUB can currently boot GNU Mach, Linux, FreeBSD, NetBSD, and OpenBSD
|
||||||
directly, so using it on a boot sector (the first sector of a
|
directly, so using it on a boot sector (the first sector of a
|
||||||
|
@ -638,7 +638,7 @@ boot floppy with a filesystem. Here is an example:
|
||||||
|
|
||||||
Another example is when you have a separate boot partition
|
Another example is when you have a separate boot partition
|
||||||
which is mounted at @file{/boot}. Since GRUB is a boot loader, it
|
which is mounted at @file{/boot}. Since GRUB is a boot loader, it
|
||||||
doesn't know anything about mountpoints at all. Thus, you need to run
|
doesn't know anything about mount points at all. Thus, you need to run
|
||||||
@command{grub-install} like this:
|
@command{grub-install} like this:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
|
@ -1287,7 +1287,7 @@ timeout 30
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
As the comment says, GRUB will boot automatically in 30 seconds, unless
|
As the comment says, GRUB will boot automatically in 30 seconds, unless
|
||||||
interrupted with a keypress.
|
interrupted with a key press.
|
||||||
|
|
||||||
@example
|
@example
|
||||||
@group
|
@group
|
||||||
|
@ -1459,7 +1459,7 @@ Otherwise, run @command{ifconfig}, like this:
|
||||||
grub> @kbd{ifconfig --address=192.168.110.23 --server=192.168.110.14}
|
grub> @kbd{ifconfig --address=192.168.110.23 --server=192.168.110.14}
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
You can also use @command{ifconfig} in conjuction with @command{bootp},
|
You can also use @command{ifconfig} in conjunction with @command{bootp},
|
||||||
@command{dhcp} or @command{rarp} (e.g. to reassign the server address
|
@command{dhcp} or @command{rarp} (e.g. to reassign the server address
|
||||||
manually). @xref{ifconfig}, for more details.
|
manually). @xref{ifconfig}, for more details.
|
||||||
|
|
||||||
|
@ -1891,7 +1891,7 @@ This represents that GRUB should read blocks 0 through 99, block 200,
|
||||||
and blocks 300 through 599. If you omit an offset, then GRUB assumes
|
and blocks 300 through 599. If you omit an offset, then GRUB assumes
|
||||||
the offset is zero.
|
the offset is zero.
|
||||||
|
|
||||||
Like the file name syntax (@pxref{File name syntax}), if a blocklist
|
Like the file name syntax (@pxref{File name syntax}), if a block list
|
||||||
does not contain a device name, then GRUB uses GRUB's @dfn{root
|
does not contain a device name, then GRUB uses GRUB's @dfn{root
|
||||||
device}. So @code{(hd0,1)+1} is the same as @code{+1} when the root
|
device}. So @code{(hd0,1)+1} is the same as @code{+1} when the root
|
||||||
device is @samp{(hd0,1)}.
|
device is @samp{(hd0,1)}.
|
||||||
|
@ -2678,9 +2678,9 @@ you forget a command, you can run the command @command{help}
|
||||||
* savedefault:: Save current entry as the default entry
|
* savedefault:: Save current entry as the default entry
|
||||||
* setup:: Set up GRUB's installation automatically
|
* setup:: Set up GRUB's installation automatically
|
||||||
* testload:: Load a file for testing a filesystem
|
* testload:: Load a file for testing a filesystem
|
||||||
* testvbe:: Test VESA BIOS EXTENSION
|
* testvbe:: Test VESA BIOS Extension
|
||||||
* uppermem:: Set the upper memory size
|
* uppermem:: Set the upper memory size
|
||||||
* vbeprobe:: Probe VESA BIOS EXTENSION
|
* vbeprobe:: Probe VESA BIOS Extension
|
||||||
@end menu
|
@end menu
|
||||||
|
|
||||||
|
|
||||||
|
@ -2721,7 +2721,7 @@ grub> @kbd{cat /etc/fstab}
|
||||||
|
|
||||||
@deffn Command chainloader [@option{--force}] file
|
@deffn Command chainloader [@option{--force}] file
|
||||||
Load @var{file} as a chain-loader. Like any other file loaded by the
|
Load @var{file} as a chain-loader. Like any other file loaded by the
|
||||||
filesystem code, it can use the blocklist notation to grab the first
|
filesystem code, it can use the block list notation to grab the first
|
||||||
sector of the current partition with @samp{+1}. If you specify the
|
sector of the current partition with @samp{+1}. If you specify the
|
||||||
option @option{--force}, then load @var{file} forcibly, whether it has a
|
option @option{--force}, then load @var{file} forcibly, whether it has a
|
||||||
correct signature or not. This is required when you want to load a
|
correct signature or not. This is required when you want to load a
|
||||||
|
@ -2860,7 +2860,7 @@ is shut down using APM.
|
||||||
@subsection help
|
@subsection help
|
||||||
|
|
||||||
@deffn Command help @option{--all} [pattern @dots{}]
|
@deffn Command help @option{--all} [pattern @dots{}]
|
||||||
Display helpful information about builtin commands. If you do not
|
Display helpful information about built-in commands. If you do not
|
||||||
specify @var{pattern}, this command shows short descriptions of most of
|
specify @var{pattern}, this command shows short descriptions of most of
|
||||||
available commands. If you specify the option @option{--all} to this
|
available commands. If you specify the option @option{--all} to this
|
||||||
command, short descriptions of rarely used commands (such as
|
command, short descriptions of rarely used commands (such as
|
||||||
|
@ -2905,7 +2905,7 @@ In short, it will perform a full install presuming the Stage 2 or Stage
|
||||||
|
|
||||||
In slightly more detail, it will load @var{stage1_file}, validate that
|
In slightly more detail, it will load @var{stage1_file}, validate that
|
||||||
it is a GRUB Stage 1 of the right version number, install in it a
|
it is a GRUB Stage 1 of the right version number, install in it a
|
||||||
blocklist for loading @var{stage2_file} as a Stage 2. If the option
|
block list for loading @var{stage2_file} as a Stage 2. If the option
|
||||||
@option{d} is present, the Stage 1 will always look for the actual
|
@option{d} is present, the Stage 1 will always look for the actual
|
||||||
disk @var{stage2_file} was installed on, rather than using the booting
|
disk @var{stage2_file} was installed on, rather than using the booting
|
||||||
drive. The Stage 2 will be loaded at address @var{addr}, which must be
|
drive. The Stage 2 will be loaded at address @var{addr}, which must be
|
||||||
|
@ -3109,7 +3109,7 @@ hex format.
|
||||||
Set the current @dfn{root device} to the device @var{device}, then
|
Set the current @dfn{root device} to the device @var{device}, then
|
||||||
attempt to mount it to get the partition size (for passing the partition
|
attempt to mount it to get the partition size (for passing the partition
|
||||||
descriptor in @code{ES:ESI}, used by some chain-loaded boot loaders), the
|
descriptor in @code{ES:ESI}, used by some chain-loaded boot loaders), the
|
||||||
BSD drive-type (for booting BSD kernels using their native boot format),
|
BSD drive type (for booting BSD kernels using their native boot format),
|
||||||
and correctly determine the PC partition where a BSD sub-partition is
|
and correctly determine the PC partition where a BSD sub-partition is
|
||||||
located. The optional @var{hdbias} parameter is a number to tell a BSD
|
located. The optional @var{hdbias} parameter is a number to tell a BSD
|
||||||
kernel how many BIOS drive numbers are on controllers before the current
|
kernel how many BIOS drive numbers are on controllers before the current
|
||||||
|
@ -3210,7 +3210,7 @@ to try loading a kernel.
|
||||||
@subsection testvbe
|
@subsection testvbe
|
||||||
|
|
||||||
@deffn Command testvbe mode
|
@deffn Command testvbe mode
|
||||||
Test the VESA BIOS EXTENSION mode @var{mode}. This command will switch
|
Test the VESA BIOS Extension mode @var{mode}. This command will switch
|
||||||
your video card to the graphics mode, and show an endless animation. Hit
|
your video card to the graphics mode, and show an endless animation. Hit
|
||||||
any key to return. See also @ref{vbeprobe}.
|
any key to return. See also @ref{vbeprobe}.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
@ -3234,7 +3234,7 @@ also be used for debugging purposes to lie to an OS.
|
||||||
@subsection vbeprobe
|
@subsection vbeprobe
|
||||||
|
|
||||||
@deffn Command vbeprobe [mode]
|
@deffn Command vbeprobe [mode]
|
||||||
Probe VESA BIOS EXTENSION information. If the mode @var{mode} is
|
Probe VESA BIOS Extension information. If the mode @var{mode} is
|
||||||
specified, show only the information about @var{mode}. Otherwise, this
|
specified, show only the information about @var{mode}. Otherwise, this
|
||||||
command lists up available VBE modes on the screen. See also
|
command lists up available VBE modes on the screen. See also
|
||||||
@ref{testvbe}.
|
@ref{testvbe}.
|
||||||
|
@ -3313,7 +3313,7 @@ The following is a comprehensive list of error messages for the Stage 2
|
||||||
description):
|
description):
|
||||||
|
|
||||||
@table @asis
|
@table @asis
|
||||||
@item 1 : Filename must be either an absolute filename or blocklist
|
@item 1 : Filename must be either an absolute filename or block list
|
||||||
This error is returned if a file name is requested which doesn't fit the
|
This error is returned if a file name is requested which doesn't fit the
|
||||||
syntax/rules listed in the @ref{Filesystem}.
|
syntax/rules listed in the @ref{Filesystem}.
|
||||||
|
|
||||||
|
@ -3696,7 +3696,7 @@ into/from your computer.
|
||||||
@chapter Invoking grub-md5-crypt
|
@chapter Invoking grub-md5-crypt
|
||||||
|
|
||||||
The program @command{grub-md5-crypt} encrypts a password in MD5 format.
|
The program @command{grub-md5-crypt} encrypts a password in MD5 format.
|
||||||
This is just a frontend of the grub shell (@pxref{Invoking the grub
|
This is just a front-end of the grub shell (@pxref{Invoking the grub
|
||||||
shell}). Passwords encrypted by this program can be used with the
|
shell}). Passwords encrypted by this program can be used with the
|
||||||
command @command{password} (@pxref{password}).
|
command @command{password} (@pxref{password}).
|
||||||
|
|
||||||
|
@ -3918,7 +3918,7 @@ for.
|
||||||
|
|
||||||
@item
|
@item
|
||||||
Write down anything that you think might be related. Please understand
|
Write down anything that you think might be related. Please understand
|
||||||
that we often need to reproduce the same problem you encounterred in our
|
that we often need to reproduce the same problem you encountered in our
|
||||||
environment. So your information should be sufficient for us to do the
|
environment. So your information should be sufficient for us to do the
|
||||||
same thing---Don't forget that we cannot see your computer directly. If
|
same thing---Don't forget that we cannot see your computer directly. If
|
||||||
you are not sure whether to state a fact or leave it out, state it!
|
you are not sure whether to state a fact or leave it out, state it!
|
||||||
|
|
|
@ -267,9 +267,9 @@ done with only one mount if in the same filesystem).
|
||||||
@node Command interface
|
@node Command interface
|
||||||
@section The generic interface for built-ins
|
@section The generic interface for built-ins
|
||||||
|
|
||||||
GRUB built-in commands are defined in a uniformal interface, whether
|
GRUB built-in commands are defined in a uniform interface, whether
|
||||||
they are menu-specific or can be used anywhere. The definition of a
|
they are menu-specific or can be used anywhere. The definition of a
|
||||||
builtin command consists of two parts: the code itself and the table of
|
built-in command consists of two parts: the code itself and the table of
|
||||||
the information.
|
the information.
|
||||||
|
|
||||||
The code must be a function which takes two arguments, a command-line
|
The code must be a function which takes two arguments, a command-line
|
||||||
|
|
|
@ -375,7 +375,7 @@ The fields @samp{magic}, @samp{flags} and @samp{checksum} are defined in
|
||||||
@samp{load_addr}, @samp{load_end_addr}, @samp{bss_end_addr} and
|
@samp{load_addr}, @samp{load_end_addr}, @samp{bss_end_addr} and
|
||||||
@samp{entry_addr} are defined in @ref{Header address fields}, and the
|
@samp{entry_addr} are defined in @ref{Header address fields}, and the
|
||||||
fields @samp{mode_type}, @samp{width}, @samp{height} and @samp{depth} are
|
fields @samp{mode_type}, @samp{width}, @samp{height} and @samp{depth} are
|
||||||
defind in @ref{Header graphics fields}.
|
defined in @ref{Header graphics fields}.
|
||||||
|
|
||||||
|
|
||||||
@node Header magic fields
|
@node Header magic fields
|
||||||
|
@ -1208,7 +1208,7 @@ A few wording changes.
|
||||||
Header checksum.
|
Header checksum.
|
||||||
|
|
||||||
@item
|
@item
|
||||||
Clasification of machine state passed to an operating system.
|
Classification of machine state passed to an operating system.
|
||||||
@end itemize
|
@end itemize
|
||||||
|
|
||||||
@item 0.5
|
@item 0.5
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue