229 |
{ |
{ |
230 |
"blocklist", |
"blocklist", |
231 |
blocklist_func, |
blocklist_func, |
232 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
233 |
"blocklist FILE", |
"blocklist FILE", |
234 |
"Print the blocklist notation of the file FILE." |
"Print the blocklist notation of the file FILE." |
235 |
}; |
}; |
347 |
{ |
{ |
348 |
"boot", |
"boot", |
349 |
boot_func, |
boot_func, |
350 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
351 |
"boot", |
"boot", |
352 |
"Boot the OS/chain-loader which has been loaded." |
"Boot the OS/chain-loader which has been loaded." |
353 |
}; |
}; |
390 |
{ |
{ |
391 |
"bootp", |
"bootp", |
392 |
bootp_func, |
bootp_func, |
393 |
BUILTIN_CMDLINE | BUILTIN_MENU, |
BUILTIN_CMDLINE | BUILTIN_MENU | BUILTIN_HELP_LIST, |
394 |
"bootp [--with-configfile]", |
"bootp [--with-configfile]", |
395 |
"Initialize a network device via BOOTP. If the option `--with-configfile'" |
"Initialize a network device via BOOTP. If the option `--with-configfile'" |
396 |
" is given, try to load a configuration file specified by the 150 vendor" |
" is given, try to load a configuration file specified by the 150 vendor" |
419 |
{ |
{ |
420 |
"cat", |
"cat", |
421 |
cat_func, |
cat_func, |
422 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
423 |
"cat FILE", |
"cat FILE", |
424 |
"Print the contents of the file FILE." |
"Print the contents of the file FILE." |
425 |
}; |
}; |
491 |
{ |
{ |
492 |
"chainloader", |
"chainloader", |
493 |
chainloader_func, |
chainloader_func, |
494 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
495 |
"chainloader [--force] FILE", |
"chainloader [--force] FILE", |
496 |
"Load the chain-loader FILE. If --force is specified, then load it" |
"Load the chain-loader FILE. If --force is specified, then load it" |
497 |
" forcibly, whether the boot loader signature is present or not." |
" forcibly, whether the boot loader signature is present or not." |
701 |
{ |
{ |
702 |
"color", |
"color", |
703 |
color_func, |
color_func, |
704 |
BUILTIN_CMDLINE | BUILTIN_MENU, |
BUILTIN_CMDLINE | BUILTIN_MENU | BUILTIN_HELP_LIST, |
705 |
"color NORMAL [HIGHLIGHT]", |
"color NORMAL [HIGHLIGHT]", |
706 |
"Change the menu colors. The color NORMAL is used for most" |
"Change the menu colors. The color NORMAL is used for most" |
707 |
" lines in the menu, and the color HIGHLIGHT is used to highlight the" |
" lines in the menu, and the color HIGHLIGHT is used to highlight the" |
751 |
{ |
{ |
752 |
"configfile", |
"configfile", |
753 |
configfile_func, |
configfile_func, |
754 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
755 |
"configfile FILE", |
"configfile FILE", |
756 |
"Load FILE as the configuration file." |
"Load FILE as the configuration file." |
757 |
}; |
}; |
849 |
{ |
{ |
850 |
"device", |
"device", |
851 |
device_func, |
device_func, |
852 |
BUILTIN_MENU | BUILTIN_CMDLINE, |
BUILTIN_MENU | BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
853 |
"device DRIVE DEVICE", |
"device DRIVE DEVICE", |
854 |
"Specify DEVICE as the actual drive for a BIOS drive DRIVE. This command" |
"Specify DEVICE as the actual drive for a BIOS drive DRIVE. This command" |
855 |
" can be used only in the grub shell." |
" can be used only in the grub shell." |
870 |
{ |
{ |
871 |
"dhcp", |
"dhcp", |
872 |
dhcp_func, |
dhcp_func, |
873 |
BUILTIN_CMDLINE | BUILTIN_MENU, |
BUILTIN_CMDLINE | BUILTIN_MENU | BUILTIN_HELP_LIST, |
874 |
"dhcp", |
"dhcp", |
875 |
"Initialize a network device via DHCP." |
"Initialize a network device via DHCP." |
876 |
}; |
}; |
913 |
{ |
{ |
914 |
"displayapm", |
"displayapm", |
915 |
displayapm_func, |
displayapm_func, |
916 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
917 |
"displayapm", |
"displayapm", |
918 |
"Display APM BIOS information." |
"Display APM BIOS information." |
919 |
}; |
}; |
967 |
{ |
{ |
968 |
"displaymem", |
"displaymem", |
969 |
displaymem_func, |
displaymem_func, |
970 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
971 |
"displaymem", |
"displaymem", |
972 |
"Display what GRUB thinks the system address space map of the" |
"Display what GRUB thinks the system address space map of the" |
973 |
" machine is, including all regions of physical RAM installed." |
" machine is, including all regions of physical RAM installed." |
1232 |
{ |
{ |
1233 |
"find", |
"find", |
1234 |
find_func, |
find_func, |
1235 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
1236 |
"find FILENAME", |
"find FILENAME", |
1237 |
"Search for the filename FILENAME in all of partitions and print the list of" |
"Search for the filename FILENAME in all of partitions and print the list of" |
1238 |
" the devices which contain the file." |
" the devices which contain the file." |
1354 |
{ |
{ |
1355 |
"geometry", |
"geometry", |
1356 |
geometry_func, |
geometry_func, |
1357 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
1358 |
"geometry DRIVE [CYLINDER HEAD SECTOR [TOTAL_SECTOR]]", |
"geometry DRIVE [CYLINDER HEAD SECTOR [TOTAL_SECTOR]]", |
1359 |
"Print the information for a drive DRIVE. In the grub shell, you can" |
"Print the information for a drive DRIVE. In the grub shell, you can" |
1360 |
" set the geometry of the drive arbitrarily. The number of the cylinders," |
" set the geometry of the drive arbitrarily. The number of the cylinders," |
1382 |
{ |
{ |
1383 |
"halt", |
"halt", |
1384 |
halt_func, |
halt_func, |
1385 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
1386 |
"halt [--no-apm]", |
"halt [--no-apm]", |
1387 |
"Halt your system. If APM is avaiable on it, turn off the power using" |
"Halt your system. If APM is avaiable on it, turn off the power using" |
1388 |
" the APM BIOS, unless you specify the option `--no-apm'." |
" the APM BIOS, unless you specify the option `--no-apm'." |
1407 |
int len; |
int len; |
1408 |
int i; |
int i; |
1409 |
|
|
1410 |
/* If this cannot be run in the command-line interface, |
/* If this doesn't need to be listed automatically, |
1411 |
skip this. */ |
skip this. */ |
1412 |
if (! ((*builtin)->flags & BUILTIN_CMDLINE)) |
if (! ((*builtin)->flags & BUILTIN_HELP_LIST)) |
1413 |
continue; |
continue; |
1414 |
|
|
1415 |
len = grub_strlen ((*builtin)->short_doc); |
len = grub_strlen ((*builtin)->short_doc); |
1428 |
|
|
1429 |
left = ! left; |
left = ! left; |
1430 |
} |
} |
1431 |
|
|
1432 |
|
/* If the last entry was at the left column, no newline was printed |
1433 |
|
at the end. */ |
1434 |
|
if (! left) |
1435 |
|
grub_putchar ('\n'); |
1436 |
} |
} |
1437 |
else |
else |
1438 |
{ |
{ |
1497 |
{ |
{ |
1498 |
"help", |
"help", |
1499 |
help_func, |
help_func, |
1500 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
1501 |
"help [PATTERN ...]", |
"help [PATTERN ...]", |
1502 |
"Display helpful information about builtin commands." |
"Display helpful information about builtin commands." |
1503 |
}; |
}; |
1540 |
{ |
{ |
1541 |
"hide", |
"hide", |
1542 |
hide_func, |
hide_func, |
1543 |
BUILTIN_CMDLINE | BUILTIN_MENU, |
BUILTIN_CMDLINE | BUILTIN_MENU | BUILTIN_HELP_LIST, |
1544 |
"hide PARTITION", |
"hide PARTITION", |
1545 |
"Hide PARTITION by setting the \"hidden\" bit in" |
"Hide PARTITION by setting the \"hidden\" bit in" |
1546 |
" its partition type code." |
" its partition type code." |
1594 |
{ |
{ |
1595 |
"ifconfig", |
"ifconfig", |
1596 |
ifconfig_func, |
ifconfig_func, |
1597 |
BUILTIN_CMDLINE | BUILTIN_MENU, |
BUILTIN_CMDLINE | BUILTIN_MENU | BUILTIN_HELP_LIST, |
1598 |
"ifconfig [--address=IP] [--gateway=IP] [--mask=MASK] [--server=IP]", |
"ifconfig [--address=IP] [--gateway=IP] [--mask=MASK] [--server=IP]", |
1599 |
"Configure the IP address, the netmask, the gateway and the server" |
"Configure the IP address, the netmask, the gateway and the server" |
1600 |
" address or print current network configuration." |
" address or print current network configuration." |
1654 |
{ |
{ |
1655 |
"initrd", |
"initrd", |
1656 |
initrd_func, |
initrd_func, |
1657 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
1658 |
"initrd FILE [ARG ...]", |
"initrd FILE [ARG ...]", |
1659 |
"Load an initial ramdisk FILE for a Linux format boot image and set the" |
"Load an initial ramdisk FILE for a Linux format boot image and set the" |
1660 |
" appropriate parameters in the Linux setup area in memory." |
" appropriate parameters in the Linux setup area in memory." |
2312 |
{ |
{ |
2313 |
"kernel", |
"kernel", |
2314 |
kernel_func, |
kernel_func, |
2315 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
2316 |
"kernel [--no-mem-option] [--type=TYPE] FILE [ARG ...]", |
"kernel [--no-mem-option] [--type=TYPE] FILE [ARG ...]", |
2317 |
"Attempt to load the primary boot image from FILE. The rest of the" |
"Attempt to load the primary boot image from FILE. The rest of the" |
2318 |
" line is passed verbatim as the \"kernel command line\". Any modules" |
" line is passed verbatim as the \"kernel command line\". Any modules" |
2361 |
{ |
{ |
2362 |
"makeactive", |
"makeactive", |
2363 |
makeactive_func, |
makeactive_func, |
2364 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
2365 |
"makeactive", |
"makeactive", |
2366 |
"Set the active partition on the root disk to GRUB's root device." |
"Set the active partition on the root disk to GRUB's root device." |
2367 |
" This command is limited to _primary_ PC partitions on a hard disk." |
" This command is limited to _primary_ PC partitions on a hard disk." |
2424 |
{ |
{ |
2425 |
"map", |
"map", |
2426 |
map_func, |
map_func, |
2427 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
2428 |
"map TO_DRIVE FROM_DRIVE", |
"map TO_DRIVE FROM_DRIVE", |
2429 |
"Map the drive FROM_DRIVE to the drive TO_DRIVE. This is necessary" |
"Map the drive FROM_DRIVE to the drive TO_DRIVE. This is necessary" |
2430 |
" when you chain-load some operating systems, such as DOS, if such an" |
" when you chain-load some operating systems, such as DOS, if such an" |
2484 |
{ |
{ |
2485 |
"md5crypt", |
"md5crypt", |
2486 |
md5crypt_func, |
md5crypt_func, |
2487 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
2488 |
"md5crypt", |
"md5crypt", |
2489 |
"Generate a password in MD5 format." |
"Generate a password in MD5 format." |
2490 |
}; |
}; |
2529 |
{ |
{ |
2530 |
"module", |
"module", |
2531 |
module_func, |
module_func, |
2532 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
2533 |
"module FILE [ARG ...]", |
"module FILE [ARG ...]", |
2534 |
"Load a boot module FILE for a Multiboot format boot image (no" |
"Load a boot module FILE for a Multiboot format boot image (no" |
2535 |
" interpretation of the file contents is made, so users of this" |
" interpretation of the file contents is made, so users of this" |
2562 |
{ |
{ |
2563 |
"modulenounzip", |
"modulenounzip", |
2564 |
modulenounzip_func, |
modulenounzip_func, |
2565 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
2566 |
"modulenounzip FILE [ARG ...]", |
"modulenounzip FILE [ARG ...]", |
2567 |
"The same as `module', except that automatic decompression is" |
"The same as `module', except that automatic decompression is" |
2568 |
" disabled." |
" disabled." |
2681 |
{ |
{ |
2682 |
"partnew", |
"partnew", |
2683 |
partnew_func, |
partnew_func, |
2684 |
BUILTIN_CMDLINE | BUILTIN_MENU, |
BUILTIN_CMDLINE | BUILTIN_MENU | BUILTIN_HELP_LIST, |
2685 |
"partnew PART TYPE START LEN", |
"partnew PART TYPE START LEN", |
2686 |
"Create a primary partition at the starting address START with the" |
"Create a primary partition at the starting address START with the" |
2687 |
" length LEN, with the type TYPE. START and LEN are in sector units." |
" length LEN, with the type TYPE. START and LEN are in sector units." |
2759 |
{ |
{ |
2760 |
"parttype", |
"parttype", |
2761 |
parttype_func, |
parttype_func, |
2762 |
BUILTIN_CMDLINE | BUILTIN_MENU, |
BUILTIN_CMDLINE | BUILTIN_MENU | BUILTIN_HELP_LIST, |
2763 |
"parttype PART TYPE", |
"parttype PART TYPE", |
2764 |
"Change the type of the partition PART to TYPE." |
"Change the type of the partition PART to TYPE." |
2765 |
}; |
}; |
2877 |
{ |
{ |
2878 |
"quit", |
"quit", |
2879 |
quit_func, |
quit_func, |
2880 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
2881 |
"quit", |
"quit", |
2882 |
"Exit from the GRUB shell." |
"Exit from the GRUB shell." |
2883 |
}; |
}; |
2906 |
{ |
{ |
2907 |
"rarp", |
"rarp", |
2908 |
rarp_func, |
rarp_func, |
2909 |
BUILTIN_CMDLINE | BUILTIN_MENU, |
BUILTIN_CMDLINE | BUILTIN_MENU | BUILTIN_HELP_LIST, |
2910 |
"rarp", |
"rarp", |
2911 |
"Initialize a network device via RARP." |
"Initialize a network device via RARP." |
2912 |
}; |
}; |
2951 |
{ |
{ |
2952 |
"reboot", |
"reboot", |
2953 |
reboot_func, |
reboot_func, |
2954 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
2955 |
"reboot", |
"reboot", |
2956 |
"Reboot your system." |
"Reboot your system." |
2957 |
}; |
}; |
3035 |
{ |
{ |
3036 |
"root", |
"root", |
3037 |
root_func, |
root_func, |
3038 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
3039 |
"root [DEVICE [HDBIAS]]", |
"root [DEVICE [HDBIAS]]", |
3040 |
"Set the current \"root device\" to the device DEVICE, then" |
"Set the current \"root device\" to the device DEVICE, then" |
3041 |
" attempt to mount it to get the partition size (for passing the" |
" attempt to mount it to get the partition size (for passing the" |
3074 |
{ |
{ |
3075 |
"rootnoverify", |
"rootnoverify", |
3076 |
rootnoverify_func, |
rootnoverify_func, |
3077 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
3078 |
"rootnoverify [DEVICE [HDBIAS]]", |
"rootnoverify [DEVICE [HDBIAS]]", |
3079 |
"Similar to `root', but don't attempt to mount the partition. This" |
"Similar to `root', but don't attempt to mount the partition. This" |
3080 |
" is useful for when an OS is outside of the area of the disk that" |
" is useful for when an OS is outside of the area of the disk that" |
3295 |
{ |
{ |
3296 |
"serial", |
"serial", |
3297 |
serial_func, |
serial_func, |
3298 |
BUILTIN_MENU | BUILTIN_CMDLINE, |
BUILTIN_MENU | BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
3299 |
"serial [--unit=UNIT] [--port=PORT] [--speed=SPEED] [--word=WORD] [--parity=PARITY] [--stop=STOP] [--device=DEV]", |
"serial [--unit=UNIT] [--port=PORT] [--speed=SPEED] [--word=WORD] [--parity=PARITY] [--stop=STOP] [--device=DEV]", |
3300 |
"Initialize a serial device. UNIT is a digit that specifies which serial" |
"Initialize a serial device. UNIT is a digit that specifies which serial" |
3301 |
" device is used (e.g. 0 == COM1). If you need to specify the port number," |
" device is used (e.g. 0 == COM1). If you need to specify the port number," |
3538 |
{ |
{ |
3539 |
"setkey", |
"setkey", |
3540 |
setkey_func, |
setkey_func, |
3541 |
BUILTIN_CMDLINE | BUILTIN_MENU, |
BUILTIN_CMDLINE | BUILTIN_MENU | BUILTIN_HELP_LIST, |
3542 |
"setkey [TO_KEY FROM_KEY]", |
"setkey [TO_KEY FROM_KEY]", |
3543 |
"Change the keyboard map. The key FROM_KEY is mapped to the key TO_KEY." |
"Change the keyboard map. The key FROM_KEY is mapped to the key TO_KEY." |
3544 |
" A key must be an alphabet, a digit, or one of these: escape, exclam," |
" A key must be an alphabet, a digit, or one of these: escape, exclam," |
3841 |
{ |
{ |
3842 |
"setup", |
"setup", |
3843 |
setup_func, |
setup_func, |
3844 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
3845 |
"setup [--prefix=DIR] [--stage2=STAGE2_FILE] [--force-lba] INSTALL_DEVICE [IMAGE_DEVICE]", |
"setup [--prefix=DIR] [--stage2=STAGE2_FILE] [--force-lba] INSTALL_DEVICE [IMAGE_DEVICE]", |
3846 |
"Set up the installation of GRUB automatically. This command uses" |
"Set up the installation of GRUB automatically. This command uses" |
3847 |
" the more flexible command \"install\" in the backend and installs" |
" the more flexible command \"install\" in the backend and installs" |
4004 |
{ |
{ |
4005 |
"terminal", |
"terminal", |
4006 |
terminal_func, |
terminal_func, |
4007 |
BUILTIN_MENU | BUILTIN_CMDLINE, |
BUILTIN_MENU | BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
4008 |
"terminal [--dumb] [--timeout=SECS] [console] [serial]", |
"terminal [--dumb] [--timeout=SECS] [console] [serial]", |
4009 |
"Select a terminal. When serial is specified, wait until you push any key" |
"Select a terminal. When serial is specified, wait until you push any key" |
4010 |
" to continue. If both console and serial are specified, the terminal" |
" to continue. If both console and serial are specified, the terminal" |
4204 |
{ |
{ |
4205 |
"testvbe", |
"testvbe", |
4206 |
testvbe_func, |
testvbe_func, |
4207 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
4208 |
"testvbe MODE", |
"testvbe MODE", |
4209 |
"Test the VBE mode MODE. Hit any key to return." |
"Test the VBE mode MODE. Hit any key to return." |
4210 |
}; |
}; |
4229 |
{ |
{ |
4230 |
"tftpserver", |
"tftpserver", |
4231 |
tftpserver_func, |
tftpserver_func, |
4232 |
BUILTIN_CMDLINE | BUILTIN_MENU, |
BUILTIN_CMDLINE | BUILTIN_MENU | BUILTIN_HELP_LIST, |
4233 |
"tftpserver IPADDR", |
"tftpserver IPADDR", |
4234 |
"Override the TFTP server address." |
"Override the TFTP server address." |
4235 |
}; |
}; |
4297 |
{ |
{ |
4298 |
"unhide", |
"unhide", |
4299 |
unhide_func, |
unhide_func, |
4300 |
BUILTIN_CMDLINE | BUILTIN_MENU, |
BUILTIN_CMDLINE | BUILTIN_MENU | BUILTIN_HELP_LIST, |
4301 |
"unhide PARTITION", |
"unhide PARTITION", |
4302 |
"Unhide PARTITION by clearing the \"hidden\" bit in its" |
"Unhide PARTITION by clearing the \"hidden\" bit in its" |
4303 |
" partition type code." |
" partition type code." |
4319 |
{ |
{ |
4320 |
"uppermem", |
"uppermem", |
4321 |
uppermem_func, |
uppermem_func, |
4322 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
4323 |
"uppermem KBYTES", |
"uppermem KBYTES", |
4324 |
"Force GRUB to assume that only KBYTES kilobytes of upper memory are" |
"Force GRUB to assume that only KBYTES kilobytes of upper memory are" |
4325 |
" installed. Any system address range maps are discarded." |
" installed. Any system address range maps are discarded." |
4438 |
{ |
{ |
4439 |
"vbeprobe", |
"vbeprobe", |
4440 |
vbeprobe_func, |
vbeprobe_func, |
4441 |
BUILTIN_CMDLINE, |
BUILTIN_CMDLINE | BUILTIN_HELP_LIST, |
4442 |
"vbeprobe [MODE]", |
"vbeprobe [MODE]", |
4443 |
"Probe VBE information. If the mode number MODE is specified, show only" |
"Probe VBE information. If the mode number MODE is specified, show only" |
4444 |
" the information about only the mode." |
" the information about only the mode." |