* commands/gptsync.c (grub_cmd_gptsync): Fix typos.
(GRUB_MOD_INIT): Fix capitalisation. * docs/grub.texi (Command-line and menu entry commands): Document gettext and gptsync commands.
This commit is contained in:
parent
ab6316112c
commit
9121567e16
3 changed files with 45 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2010-06-02 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
|
* commands/gptsync.c (grub_cmd_gptsync): Fix typos.
|
||||||
|
(GRUB_MOD_INIT): Fix capitalisation.
|
||||||
|
* docs/grub.texi (Command-line and menu entry commands): Document
|
||||||
|
gettext and gptsync commands.
|
||||||
|
|
||||||
2010-06-02 Colin Watson <cjwatson@ubuntu.com>
|
2010-06-02 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
* conf/any-emu.rmk (kernel_img_SOURCES) [!x86]: Include
|
* conf/any-emu.rmk (kernel_img_SOURCES) [!x86]: Include
|
||||||
|
|
|
@ -138,8 +138,8 @@ grub_cmd_gptsync (grub_command_t cmd __attribute__ ((unused)),
|
||||||
{
|
{
|
||||||
grub_device_close (dev);
|
grub_device_close (dev);
|
||||||
return grub_error (GRUB_ERR_OUT_OF_RANGE,
|
return grub_error (GRUB_ERR_OUT_OF_RANGE,
|
||||||
"only partitions resding in the first 2TB "
|
"only partitions residing in the first 2TB "
|
||||||
"can be presen in hybrid MBR");
|
"can be present in hybrid MBR");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -243,8 +243,8 @@ GRUB_MOD_INIT(gptsync)
|
||||||
cmd = grub_register_command ("gptsync", grub_cmd_gptsync,
|
cmd = grub_register_command ("gptsync", grub_cmd_gptsync,
|
||||||
N_("DEVICE [PARTITION[+/-[TYPE]]] ..."),
|
N_("DEVICE [PARTITION[+/-[TYPE]]] ..."),
|
||||||
N_("Fill hybrid MBR of GPT drive DEVICE. "
|
N_("Fill hybrid MBR of GPT drive DEVICE. "
|
||||||
"specified partitions will be a part "
|
"Specified partitions will be a part "
|
||||||
"of hybrid mbr. Up to 3 partitions are "
|
"of hybrid MBR. Up to 3 partitions are "
|
||||||
"allowed. TYPE is an MBR type. "
|
"allowed. TYPE is an MBR type. "
|
||||||
"+ means that partition is active. "
|
"+ means that partition is active. "
|
||||||
"Only one partition can be active."));
|
"Only one partition can be active."));
|
||||||
|
|
|
@ -1139,6 +1139,8 @@ you forget a command, you can run the command @command{help}
|
||||||
* date:: Display or set current date and time
|
* date:: Display or set current date and time
|
||||||
* echo:: Display a line of text
|
* echo:: Display a line of text
|
||||||
* export:: Export an environment variable
|
* export:: Export an environment variable
|
||||||
|
* gettext:: Translate a string
|
||||||
|
* gptsync:: Fill an MBR based on GPT entries
|
||||||
* halt:: Shut down your computer
|
* halt:: Shut down your computer
|
||||||
* help:: Show help messages
|
* help:: Show help messages
|
||||||
* insmod:: Insert a module
|
* insmod:: Insert a module
|
||||||
|
@ -1320,6 +1322,38 @@ to subsidiary configuration files loaded using @command{configfile}.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
|
|
||||||
|
@node gettext
|
||||||
|
@subsection gettext
|
||||||
|
|
||||||
|
@deffn Command gettext string
|
||||||
|
Translate @var{string} into the current language.
|
||||||
|
|
||||||
|
The current language code is stored in the @samp{lang} variable in GRUB's
|
||||||
|
environment. Translation files in MO format are read from
|
||||||
|
@samp{locale_dir}, usually @file{/boot/grub/locale}.
|
||||||
|
@end deffn
|
||||||
|
|
||||||
|
|
||||||
|
@node gptsync
|
||||||
|
@subsection gptsync
|
||||||
|
|
||||||
|
@deffn Command gptsync device [partition[+/-[type]]] @dots{}
|
||||||
|
Disks using the GUID Partition Table (GPT) also have a legacy Master Boot
|
||||||
|
Record (MBR) partition table for compatibility with the BIOS and with older
|
||||||
|
operating systems. The legacy MBR can only represent a limited subset of
|
||||||
|
GPT partition entries.
|
||||||
|
|
||||||
|
This command populates the legacy MBR with the specified @var{partition}
|
||||||
|
entries on @var{device}. Up to three partitions may be used.
|
||||||
|
|
||||||
|
@var{type} is an MBR partition type code; prefix with @samp{0x} if you want
|
||||||
|
to enter this in hexadecimal. The separator between @var{partition} and
|
||||||
|
@var{type} may be @samp{+} to make the partition active, or @samp{-} to make
|
||||||
|
it inactive; only one partition may be active. If both the separator and
|
||||||
|
type are omitted, then the partition will be inactive.
|
||||||
|
@end deffn
|
||||||
|
|
||||||
|
|
||||||
@node halt
|
@node halt
|
||||||
@subsection halt
|
@subsection halt
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue