documentation updates.
This commit is contained in:
parent
821c05373e
commit
c17c927969
7 changed files with 45 additions and 29 deletions
|
@ -125,11 +125,15 @@ utopia@dots{}
|
||||||
@strong{Caution:} GRUB requires binutils-2.9.1.0.23 or later because the
|
@strong{Caution:} GRUB requires binutils-2.9.1.0.23 or later because the
|
||||||
GNU assembler has been changed so that it can produce real 16bits
|
GNU assembler has been changed so that it can produce real 16bits
|
||||||
machine code between 2.9.1 and 2.9.1.0.x. The latest version can be
|
machine code between 2.9.1 and 2.9.1.0.x. The latest version can be
|
||||||
obtained from @url{ftp://ftp.varesearch.com/pub/support/hjl/binutils/}.
|
obtained from:
|
||||||
|
|
||||||
|
@url{ftp://ftp.varesearch.com/pub/support/hjl/binutils/}
|
||||||
@end quotation
|
@end quotation
|
||||||
|
|
||||||
GRUB can be obtained from the GNU alpha archive site
|
@c Do not change alpha.gnu.org:/gnu/hurd/src to the URI, since TeX does
|
||||||
@url{ftp://alpha.gnu.org/gnu/hurd/src} or any of its mirrors. The file
|
@c not format it well.
|
||||||
|
GRUB is avaliable from the GNU alpha archive site
|
||||||
|
@url{alpha.gnu.org:/gnu/hurd/src} or any of its mirrors. The file
|
||||||
will be named grub-version.tar.gz. The current version is
|
will be named grub-version.tar.gz. The current version is
|
||||||
@value{VERSION}, so the file you should grab is:
|
@value{VERSION}, so the file you should grab is:
|
||||||
|
|
||||||
|
@ -158,16 +162,23 @@ This will install the grub shell @file{grub} (@pxref{Invoking the grub
|
||||||
shell}), the Multiboot checker @file{mbchk} (@pxref{Invoking mbchk}),
|
shell}), the Multiboot checker @file{mbchk} (@pxref{Invoking mbchk}),
|
||||||
and the GRUB images It will also install the GRUB manual.
|
and the GRUB images It will also install the GRUB manual.
|
||||||
|
|
||||||
Also, you can obtain the latest version from the CVS. Use the repository
|
Also, the latest version is available from the CVS. The repository is:
|
||||||
@code{:pserver:anoncvs@@anoncvs.gnu.org:/gd/gnu/anoncvsroot} and the
|
|
||||||
module @code{grub}. The password for anoncvs is empty. So the
|
@code{:pserver:anoncvs@@anoncvs.gnu.org:/gd/gnu/anoncvsroot}
|
||||||
instruction is:
|
|
||||||
|
and the module is:
|
||||||
|
|
||||||
|
@code{grub}
|
||||||
|
|
||||||
|
The password for anoncvs is empty. So the instruction is:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
@group
|
@group
|
||||||
$ cvs -d :pserver:anoncvs@@anoncvs.gnu.org:/gd/gnu/anoncvsroot login
|
$ cvs -d :pserver:anoncvs@@anoncvs.gnu.org:/gd/gnu/anoncvsroot \
|
||||||
|
login
|
||||||
Password: @key{ENTER}
|
Password: @key{ENTER}
|
||||||
$ cvs -d :pserver:anoncvs@@anoncvs.gnu.org:/gd/gnu/anoncvsroot co grub
|
$ cvs -d :pserver:anoncvs@@anoncvs.gnu.org:/gd/gnu/anoncvsroot \
|
||||||
|
co grub
|
||||||
@end group
|
@end group
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
|
|
|
@ -80,9 +80,7 @@ by Free Software Foundation.
|
||||||
@finalout
|
@finalout
|
||||||
@headings double
|
@headings double
|
||||||
|
|
||||||
@c The Top node should not appear in TeX.
|
|
||||||
@ifnottex
|
@ifnottex
|
||||||
|
|
||||||
@node Top
|
@node Top
|
||||||
@top GRUB
|
@top GRUB
|
||||||
|
|
||||||
|
|
|
@ -120,8 +120,10 @@ cmain (unsigned long magic, unsigned long addr)
|
||||||
{
|
{
|
||||||
elf_section_header_table_t *elf_sec = &(mbi->u.elf_sec);
|
elf_section_header_table_t *elf_sec = &(mbi->u.elf_sec);
|
||||||
|
|
||||||
printf ("elf_sec: num = %d, size = 0x%x, addr = 0x%x, shndx = 0x%x\n",
|
printf ("elf_sec: num = %d, size = 0x%x,"
|
||||||
elf_sec->num, elf_sec->size, elf_sec->addr, elf_sec->shndx);
|
" addr = 0x%x, shndx = 0x%x\n",
|
||||||
|
elf_sec->num, elf_sec->size,
|
||||||
|
elf_sec->addr, elf_sec->shndx);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Are mmap_* valid? */
|
/* Are mmap_* valid? */
|
||||||
|
|
|
@ -120,8 +120,10 @@ cmain (unsigned long magic, unsigned long addr)
|
||||||
@{
|
@{
|
||||||
elf_section_header_table_t *elf_sec = &(mbi->u.elf_sec);
|
elf_section_header_table_t *elf_sec = &(mbi->u.elf_sec);
|
||||||
|
|
||||||
printf ("elf_sec: num = %d, size = 0x%x, addr = 0x%x, shndx = 0x%x\n",
|
printf ("elf_sec: num = %d, size = 0x%x,"
|
||||||
elf_sec->num, elf_sec->size, elf_sec->addr, elf_sec->shndx);
|
" addr = 0x%x, shndx = 0x%x\n",
|
||||||
|
elf_sec->num, elf_sec->size,
|
||||||
|
elf_sec->addr, elf_sec->shndx);
|
||||||
@}
|
@}
|
||||||
|
|
||||||
/* @r{Are mmap_* valid?} */
|
/* @r{Are mmap_* valid?} */
|
||||||
|
|
|
@ -67,7 +67,6 @@ into another language, under the above conditions for modified versions.
|
||||||
@end titlepage
|
@end titlepage
|
||||||
|
|
||||||
@ifnottex
|
@ifnottex
|
||||||
|
|
||||||
@node Top
|
@node Top
|
||||||
@top Multiboot Specification
|
@top Multiboot Specification
|
||||||
|
|
||||||
|
@ -936,11 +935,14 @@ library supporting the specification.
|
||||||
@section Example boot loader code
|
@section Example boot loader code
|
||||||
|
|
||||||
The GNU GRUB (@pxref{Top, , GRUB, grub.info, The GRUB manual}) project
|
The GNU GRUB (@pxref{Top, , GRUB, grub.info, The GRUB manual}) project
|
||||||
@url{http://www.gnu.org/software/grub/grub.en.html} is a full
|
is a full Multiboot-compliant boot loader, supporting all required and
|
||||||
Multiboot-compliant boot loader, supporting all required and optional
|
optional features present in this specification. A public release has
|
||||||
features present in this specification. A public release has not been
|
not been made, but the test release is available from:
|
||||||
made, but the test release is available in
|
|
||||||
@url{ftp://alpha.gnu.org/gnu/hurd/src/}.
|
@url{ftp://alpha.gnu.org/gnu/hurd/src/}
|
||||||
|
|
||||||
|
See the webpage @url{http://www.gnu.org/software/grub/grub.html}, for
|
||||||
|
more information.
|
||||||
|
|
||||||
|
|
||||||
@node Index
|
@node Index
|
||||||
|
|
|
@ -121,9 +121,9 @@ a UNIX-like OS. If you install GRUB on a UNIX-like OS, make sure that
|
||||||
you have a boot floppy disk so that you can rescue your computer when it
|
you have a boot floppy disk so that you can rescue your computer when it
|
||||||
crashes.
|
crashes.
|
||||||
|
|
||||||
Anyhow, copy your GRUB images (@file{stage1}, @file{stage2}, etc.) to
|
Anyhow, copy your GRUB images (@file{stage1}, @file{stage2}, and
|
||||||
the directory @file{/boot/grub} before staring to install
|
@file{*stage1_5}) to the directory @file{/boot/grub} before staring to
|
||||||
GRUB. Normally, the images are installed under the directory
|
install GRUB. Normally, the images are installed under the directory
|
||||||
@file{/usr/share/grub/i386-pc}.
|
@file{/usr/share/grub/i386-pc}.
|
||||||
|
|
||||||
@menu
|
@menu
|
||||||
|
|
|
@ -257,9 +257,9 @@ There are two ways to specify files, by @dfn{absolute filename} and by
|
||||||
@dfn{blocklist}.
|
@dfn{blocklist}.
|
||||||
|
|
||||||
An absolute filename resembles a Unix absolute filename, using @samp{/}
|
An absolute filename resembles a Unix absolute filename, using @samp{/}
|
||||||
for the directory separator (not @samp{\} as in DOS). One example of an
|
for the directory separator (not @samp{\} as in DOS). One example is
|
||||||
absolute filename is @samp{(hd0,0)/boot/grub/menu.lst}. This means the
|
@samp{(hd0,0)/boot/grub/menu.lst}. This means the file
|
||||||
file @file{/boot/grub/menu.lst} in the first partition of the first hard
|
@file{/boot/grub/menu.lst} in the first partition of the first hard
|
||||||
disk. If you omit the device name in an absolute filename, GRUB uses
|
disk. If you omit the device name in an absolute filename, GRUB uses
|
||||||
GRUB's @dfn{root device} implicitly. So if you set the root device to,
|
GRUB's @dfn{root device} implicitly. So if you set the root device to,
|
||||||
say, @samp{(hd1,0)} by the command @command{root}, then
|
say, @samp{(hd1,0)} by the command @command{root}, then
|
||||||
|
@ -657,8 +657,9 @@ maximum of 64MB).
|
||||||
|
|
||||||
@deffn Command find filename
|
@deffn Command find filename
|
||||||
Search for the filename @var{filename} in all of partitions and print
|
Search for the filename @var{filename} in all of partitions and print
|
||||||
the list of the devices which contain the file. @var{filename} should be
|
the list of the devices which contain the file. The filename
|
||||||
an absolute filename like @code{/boot/grub/stage1}.
|
@var{filename} should be an absolute filename like
|
||||||
|
@code{/boot/grub/stage1}.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
@deffn Command fstest
|
@deffn Command fstest
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue