fix some bugs in the document.
This commit is contained in:
parent
21236a8556
commit
9a41c6b1d4
3 changed files with 30 additions and 25 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2000-06-22 OKUJI Yoshinori <okuji@gnu.org>
|
||||||
|
|
||||||
|
* docs/tutorial.texi: Fixed some typos and syntax errors.
|
||||||
|
* docs/user-ref.texi: Likewise.
|
||||||
|
|
||||||
2000-06-21 OKUJI Yoshinori <okuji@gnu.org>
|
2000-06-21 OKUJI Yoshinori <okuji@gnu.org>
|
||||||
|
|
||||||
* stage2/stage2.c (run_menu): Initialize CUR_ENTRY at the
|
* stage2/stage2.c (run_menu): Initialize CUR_ENTRY at the
|
||||||
|
|
|
@ -10,7 +10,7 @@ operating system (e.g. a GNU system).
|
||||||
GRUB can load a wide variety of free operating systems, as well as
|
GRUB can load a wide variety of free operating systems, as well as
|
||||||
chain-loading@footnote{@dfn{chain-load} is the mechanism for loading
|
chain-loading@footnote{@dfn{chain-load} is the mechanism for loading
|
||||||
unsupported operating systems by loading another boot loader. It is
|
unsupported operating systems by loading another boot loader. It is
|
||||||
typically used for loading DOS or Windows} proprietary operating
|
typically used for loading DOS or Windows.} proprietary operating
|
||||||
systems.
|
systems.
|
||||||
|
|
||||||
The important feature in GRUB is flexibility; GRUB understands
|
The important feature in GRUB is flexibility; GRUB understands
|
||||||
|
@ -420,7 +420,7 @@ See the documentation in the Linux source tree for the complete
|
||||||
information on the available options.
|
information on the available options.
|
||||||
|
|
||||||
@item
|
@item
|
||||||
If you use initrd, execute the command @command{initrd} after
|
If you use an initrd, execute the command @command{initrd} after
|
||||||
@command{kernel}:
|
@command{kernel}:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
|
@ -435,7 +435,7 @@ Finally, run the command @command{boot}.
|
||||||
option to the kernel, to let it use less than actual memory size, you
|
option to the kernel, to let it use less than actual memory size, you
|
||||||
will also have to specify the same memory size to GRUB. To let GRUB know
|
will also have to specify the same memory size to GRUB. To let GRUB know
|
||||||
the size, run the command @command{uppermem} @emph{before} loading the
|
the size, run the command @command{uppermem} @emph{before} loading the
|
||||||
kernel. See @xref{Command-line-specific commands}, for more information.
|
kernel. @xref{Command-line-specific commands}, for more information.
|
||||||
|
|
||||||
@node FreeBSD
|
@node FreeBSD
|
||||||
@subsection FreeBSD
|
@subsection FreeBSD
|
||||||
|
@ -467,7 +467,7 @@ Set GRUB's root device with @command{root}.
|
||||||
|
|
||||||
@item
|
@item
|
||||||
Load the kernel with @command{kernel}. You should append the ugly option
|
Load the kernel with @command{kernel}. You should append the ugly option
|
||||||
@option{--type=netbsd}, if you want to load a ELF kernel, like this:
|
@option{--type=netbsd}, if you want to load an ELF kernel, like this:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
grub> kernel --type=netbsd /netbsd-elf
|
grub> kernel --type=netbsd /netbsd-elf
|
||||||
|
@ -479,7 +479,7 @@ Run @command{boot}.
|
||||||
|
|
||||||
For now, however, GRUB doesn't allow you to pass kernel parameters, so
|
For now, however, GRUB doesn't allow you to pass kernel parameters, so
|
||||||
it may be better to chain-load it instead, for more information please
|
it may be better to chain-load it instead, for more information please
|
||||||
see @xref{Chain-loading}.
|
see @ref{Chain-loading}.
|
||||||
|
|
||||||
|
|
||||||
@node OpenBSD
|
@node OpenBSD
|
||||||
|
@ -751,7 +751,7 @@ This boots GNU/Linux, but from the second hard disk.
|
||||||
# For booting Mach (getting kernel from floppy)
|
# For booting Mach (getting kernel from floppy)
|
||||||
title Utah Mach4 multiboot
|
title Utah Mach4 multiboot
|
||||||
root (hd0,2)
|
root (hd0,2)
|
||||||
pause Insert the diskette now!!
|
pause Insert the diskette now^G!!
|
||||||
kernel (fd0)/boot/kernel root=hd0s3
|
kernel (fd0)/boot/kernel root=hd0s3
|
||||||
module (fd0)/boot/bootstrap
|
module (fd0)/boot/bootstrap
|
||||||
@end group
|
@end group
|
||||||
|
|
|
@ -84,8 +84,8 @@ GRUB fully supports the Multiboot feature of loading multiple modules.
|
||||||
@item Configuration File
|
@item Configuration File
|
||||||
Supports a human-readable text configuration file with preset boot
|
Supports a human-readable text configuration file with preset boot
|
||||||
commands. The list of commands (@pxref{Commands}) are a superset of
|
commands. The list of commands (@pxref{Commands}) are a superset of
|
||||||
those supported on the command line. An example command file is provided
|
those supported on the command line. An example configuration file is
|
||||||
in @ref{Configuration}.
|
provided in @ref{Configuration}.
|
||||||
|
|
||||||
@item Menu Interface
|
@item Menu Interface
|
||||||
A menu interface listing the preset boot commands, with a programmable
|
A menu interface listing the preset boot commands, with a programmable
|
||||||
|
@ -95,14 +95,14 @@ entries, and the current implementation has space for several hundred.
|
||||||
@item Flexible Command Line Interface
|
@item Flexible Command Line Interface
|
||||||
A fairly flexible command line interface, accessible from the menu,
|
A fairly flexible command line interface, accessible from the menu,
|
||||||
is available to edit any preset commands, or write a new boot command
|
is available to edit any preset commands, or write a new boot command
|
||||||
set from scratch. If no command file is present, GRUB drops to
|
set from scratch. If no configuration file is present, GRUB drops to
|
||||||
the command line.
|
the command line.
|
||||||
|
|
||||||
The list of commands (@pxref{Commands}) are a subset of those supported
|
The list of commands (@pxref{Commands}) are a subset of those supported
|
||||||
for command files. Editing commands closely resemble the Bash command
|
for configuration files. Editing commands closely resembles the Bash
|
||||||
line (@pxref{Command Line Editing, Bash, Command Line Editing, features,
|
command line (@pxref{Command Line Editing, Bash, Command Line Editing,
|
||||||
Bash Features}), with @key{TAB}-completion of commands, devices,
|
features, Bash Features}), with @key{TAB}-completion of commands,
|
||||||
partitions, and files in a directory depending on context.
|
devices, partitions, and files in a directory depending on context.
|
||||||
|
|
||||||
@item Multiple Filesystem Types
|
@item Multiple Filesystem Types
|
||||||
Supports multiple filesystem types transparently, plus a useful explicit
|
Supports multiple filesystem types transparently, plus a useful explicit
|
||||||
|
@ -117,7 +117,7 @@ functions operate upon the uncompressed contents of the specified
|
||||||
files). This greatly reduces file size and loading time, a particularly
|
files). This greatly reduces file size and loading time, a particularly
|
||||||
major benefit for floppies.@footnote{There are a few pathological cases
|
major benefit for floppies.@footnote{There are a few pathological cases
|
||||||
where loading a very badly organized ELF kernel might take longer, but
|
where loading a very badly organized ELF kernel might take longer, but
|
||||||
in practice this never happens.}
|
in practice this never happen.}
|
||||||
|
|
||||||
It is conceivable that some kernel modules should be loaded in a
|
It is conceivable that some kernel modules should be loaded in a
|
||||||
compressed state, so a different module-loading command can be specified
|
compressed state, so a different module-loading command can be specified
|
||||||
|
@ -146,7 +146,7 @@ In traditional disk calls (called @dfn{CHS mode}), there is a geometry
|
||||||
translation problem, that is, the BIOS cannot access over 1024
|
translation problem, that is, the BIOS cannot access over 1024
|
||||||
cylinders, so the accessible space is limited to at least 508 MB and to
|
cylinders, so the accessible space is limited to at least 508 MB and to
|
||||||
at most 8GB. GRUB can't universally solve this problem, as there is no
|
at most 8GB. GRUB can't universally solve this problem, as there is no
|
||||||
standard interface used in all machines. However, some newer machines
|
standard interface used in all machines. However, several newer machines
|
||||||
have the new interface, Logical Block Address (@dfn{LBA}) mode. GRUB
|
have the new interface, Logical Block Address (@dfn{LBA}) mode. GRUB
|
||||||
automatically detects if LBA mode is available and uses it if
|
automatically detects if LBA mode is available and uses it if
|
||||||
available. In LBA mode, GRUB can access the entire disk.
|
available. In LBA mode, GRUB can access the entire disk.
|
||||||
|
@ -598,8 +598,8 @@ color magenta/blue black/magenta
|
||||||
@deffn Command device drive file
|
@deffn Command device drive file
|
||||||
In the grub shell, specify the file @var{file} as the actual drive for a
|
In the grub shell, specify the file @var{file} as the actual drive for a
|
||||||
@sc{bios} drive @var{drive}. You can use this command to create a disk
|
@sc{bios} drive @var{drive}. You can use this command to create a disk
|
||||||
image and to fix the drives guessed by GRUB when GRUB fails to determine
|
image, and/or to fix the drives guessed by GRUB when GRUB fails to
|
||||||
them correctly, like this:
|
determine them correctly, like this:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
grub> device (fd0) /floppy-image
|
grub> device (fd0) /floppy-image
|
||||||
|
@ -647,8 +647,8 @@ A key must be an alphabet, a digit, or one of these symbols:
|
||||||
@samp{tilde}, @samp{shift}, @samp{backslash}, @samp{bar}, @samp{comma},
|
@samp{tilde}, @samp{shift}, @samp{backslash}, @samp{bar}, @samp{comma},
|
||||||
@samp{less}, @samp{period}, @samp{greater}, @samp{slash},
|
@samp{less}, @samp{period}, @samp{greater}, @samp{slash},
|
||||||
@samp{question}, @samp{alt}, @samp{space}, @samp{capslock}, @samp{FX}
|
@samp{question}, @samp{alt}, @samp{space}, @samp{capslock}, @samp{FX}
|
||||||
(@samp{X} is a digit), and @samp{delete}. This table describes which
|
(@samp{X} is a digit), and @samp{delete}. This table describes to which
|
||||||
character each of the symbols corresponds to:
|
character each of the symbols corresponds:
|
||||||
|
|
||||||
@table @samp
|
@table @samp
|
||||||
@item exclam
|
@item exclam
|
||||||
|
@ -815,19 +815,19 @@ bytes like this:
|
||||||
Differ at the offset 777: 0xbe [foo], 0xef [bar]
|
Differ at the offset 777: 0xbe [foo], 0xef [bar]
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
If they are complete identical, nothing will be printed.
|
If they are completely identical, nothing will be printed.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
@deffn Command configfile file
|
@deffn Command configfile file
|
||||||
Load @var{file} as the configuration file.
|
Load @var{file} as a configuration file.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
@deffn Command embed stage1_5 device
|
@deffn Command embed stage1_5 device
|
||||||
Embed the Stage 1.5 @var{stage1_5} in the sectors after the MBR if
|
Embed the Stage 1.5 @var{stage1_5} in the sectors after the MBR if
|
||||||
@var{device} is a drive, or in the @dfn{boot loader} area if @var{device}
|
@var{device} is a drive, or in the @dfn{boot loader} area if @var{device}
|
||||||
is a FFS partition.@footnote{The latter feature has not been implemented
|
is a FFS partition or a ReiserFS partition.@footnote{The latter feature
|
||||||
yet.} Print the number of sectors which @var{stage1_5} occupies if
|
has not been implemented yet.} Print the number of sectors which
|
||||||
successful.
|
@var{stage1_5} occupies, if successful.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
@deffn Command displaymem
|
@deffn Command displaymem
|
||||||
|
@ -875,7 +875,7 @@ based on the C/H/S values automatically.
|
||||||
Display helpful information about builtin commands. If you do not
|
Display helpful information about builtin commands. If you do not
|
||||||
specify @var{pattern}, this command lists the short documents of all
|
specify @var{pattern}, this command lists the short documents of all
|
||||||
available commands, and, if you specify one or more @var{pattern}s, it
|
available commands, and, if you specify one or more @var{pattern}s, it
|
||||||
displays long documents of the commands which match @var{pattern}.
|
displays long documents of the commands which match @var{pattern}(s).
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
@deffn Command impsprobe
|
@deffn Command impsprobe
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue