~ubuntu-branches/ubuntu/utopic/grub/utopic

« back to all changes in this revision

Viewing changes to docs/grub.texi

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2005-11-30 18:00:45 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051130180045-q90uxa58hf9pdrrp
Tags: 0.97-1ubuntu1
* Resynchronise with Debian.
* Drop Nathaniel McCallum's nonaltoptions patch, done differently in
  Debian (as defoptions); added migration code to deal with old Ubuntu
  menu.lst files.
* Drop Matthew Garrett's stage 2 drive fallback patch, since upstream has
  implemented a different solution which appears to address essentially
  the same problem.
* Generated debian/control once from debian/control.in using
  type-handling, but continue to avoid the build-dependency on
  type-handling; the generated debian/control is in the source package.
* Disable fix_amd64_compile.diff for now; it causes configure to fail with
  "GRUB requires a working absolute objcopy; upgrade your binutils".

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
* mbchk: (grub)Invoking mbchk.  Check for the format of a Multiboot kernel
33
33
@end direntry
34
34
 
35
 
@setchapternewpage off
 
35
@setchapternewpage odd
36
36
 
37
37
@ifinfo
38
38
Copyright @copyright{} 1999,2000,2001,2002,2004 Free Software Foundation, Inc.
83
83
by Free Software Foundation.
84
84
@end titlepage
85
85
 
 
86
@c Output the table of contents at the beginning.
 
87
@contents
 
88
 
86
89
@finalout
87
90
@headings double
88
91
 
1124
1127
 
1125
1128
First, modify your configuration file. Here is an example:
1126
1129
 
 
1130
@example
1127
1131
@group
1128
 
@example
1129
1132
default saved        # This is important!!!
1130
1133
timeout 10
1131
1134
 
1138
1141
root (hd0,0)
1139
1142
kernel /new_kernel
1140
1143
savedefault 0         # This is important!!!
 
1144
@end group
1141
1145
@end example
1142
 
@end group
1143
1146
 
1144
1147
Note that this configuration file uses @samp{default saved}
1145
1148
(@pxref{default}) at the head and @samp{savedefault 0}
1186
1189
among @samp{A}, @samp{B} and @samp{C}. A configuration file can be
1187
1190
written in this way:
1188
1191
 
 
1192
@example
1189
1193
@group
1190
 
@example
1191
1194
default saved        # This is important!!!
1192
1195
timeout 10
1193
1196
fallback 1 2         # This is important!!!
1206
1209
root (hd2,0)
1207
1210
kernel /kernel
1208
1211
savedefault
 
1212
@end group
1209
1213
@end example
1210
 
@end group
1211
1214
 
1212
1215
Note that @samp{default saved} (@pxref{default}), @samp{fallback 1 2}
1213
1216
and @samp{savedefault fallback} are used. GRUB will boot a saved entry
3783
3786
argument is normally the number of a default boot entry. For example,
3784
3787
if you have this configuration file:
3785
3788
 
 
3789
@example
3786
3790
@group
3787
 
@example
3788
3791
default saved
3789
3792
timeout 10
3790
3793
 
3795
3798
title GNU/Linux
3796
3799
root (hd0,1)
3797
3800
...
 
3801
@end group
3798
3802
@end example
3799
 
@end group
3800
3803
 
3801
3804
and if you want to set the next default boot entry to GNU/Linux, you
3802
3805
may execute this command:
3948
3951
 
3949
3952
 
3950
3953
@node Future
3951
 
@chapter Where GRUB will go
 
3954
@appendix Where GRUB will go
3952
3955
 
3953
3956
We started the next generation of GRUB, GRUB 2. This will include
3954
3957
internationalization, dynamic module loading, real memory management,
3969
3972
@printindex cp
3970
3973
 
3971
3974
 
3972
 
@contents
3973
3975
@bye
3974
3976
 
3975
3977
Some notes: