Lines Matching full:command
11 command from a
57 * Interface:: The menu and the command-line
63 * Invoking grub-terminfo:: How to generate a terminfo command
111 When booting with GRUB, you can use either a command-line interface
112 (*note Command-line interface::), or a menu interface (*note Menu
113 interface::). Using the command-line interface, you type the drive
117 Configuration::). While in the menu, you can switch to the command-line
210 supported on the command-line. An example configuration file is
219 Have a flexible command-line interface
220 A fairly flexible command-line interface, accessible from the menu,
222 command set from scratch. If no configuration file is present,
223 GRUB drops to the command-line.
227 resembles the Bash command-line (*note Bash: (features)Command
247 compressed state, so a different module-loading command can be
378 need to use the device specification in a command, like `root (fd0)' or
380 partition you want, the GRUB command-line (*note Command-line
500 Once started, GRUB will show the command-line interface (*note
501 Command-line interface::). First, set the GRUB's "root device"(1)
508 use the command `find' (*note find::), like this:
515 Once you've set the root device correctly, run the command `setup'
520 This command will install the GRUB boot loader on the Master Boot
531 After using the setup command, you will boot into GRUB without the
540 add the argument into the command `kernel'.
719 with the command `root' (*note root::).
721 2. Load the kernel image with the command `kernel' (*note kernel::).
723 3. If you need modules, load them with the command `module' (*note
726 4. Run the command `boot' (*note boot::).
729 manner. You load a kernel image with the command `kernel' and then run
730 the command `boot'. If the kernel requires some parameters, just append
746 1. Set GRUB's root device to the partition by the command
751 2. Set the "active" flag in the partition using the command
757 3. Load the boot loader with the command `chainloader' (*note
766 4. Run the command `boot' (*note boot::).
807 the command `find /boot/gnumach' or similar can help you (*note
815 3. Run the command `boot' (*note boot::).
827 the command `find /vmlinuz' or similar can help you (*note find::).
834 the command. For example, to set `vga' to `ext', do this:
841 3. If you use an initrd, execute the command `initrd' (*note
846 4. Finally, run the command `boot' (*note boot::).
851 the command `uppermem' _before_ loading the kernel. *Note uppermem::,
917 command `map' (*note map::), like this:
1057 This command sets the saved entry to `1', that is, to the new kernel.
1108 because the command `fallback' specifies that `1' is the first fallback
1124 You should run this command in a startup script such as `rc.local' to
1188 begins with a special command, `title' (*note title::), and the action
1189 is described after it. Note that there is no command `boot' (*note
1193 The argument for the command `title' is used to display a short
1263 In the last entry, the command `color' is used (*note color::), to
1264 change the menu colors (try it!). This command is somewhat special,
1265 because it can be used both in the command-line and in the menu. GRUB
1303 (*note rarp::) for BOOTP, DHCP or RARP, respectively. Each command will
1415 The command `serial' initializes the serial unit 0 with the speed
1417 use COM2, you must specify `--unit=1' instead. This command accepts
1420 The command `terminal' (*note terminal::) chooses which type of
1422 serial terminal, but you can also pass `console' to the command, as
1429 command if your terminal emulator is not VT100-compatible or implements
1472 preset menu to execute the command `bootp' (*note bootp::)
1501 user can even read `/etc/passwd' in the command-line interface by the
1502 command `cat' (*note cat::). So it is necessary to disable all the
1507 entering the command-line interface). To use this feature, you need to
1508 run the command `password' in your configuration file (*note
1518 You can encrypt your password with the command `md5crypt' (*note
1542 GRUB provides the command `lock' (*note lock::). This command always
1554 You can also use the command `password' instead of `lock'. In this
1634 you see the files in a device or use the command `find' (*note find::).
1700 command `root' (*note root::), then `/boot/kernel' is the same as
1730 configuration file, and a highly flexible command-line for performing
1735 entries were found in the file. If you choose the "command-line" menu
1737 the command-line interface.
1741 * Command-line interface:: The flexible command-line interface
1747 File: grub.info, Node: Command-line interface, Next: Menu interface, Up: Interface
1749 12.1 The flexible command-line interface
1752 The command-line interface provides a prompt and after it an editable
1753 text area much like a command-line in Unix or DOS. Each command is
1754 immediately executed after it is entered(1) (*note Command-line
1755 interface-Footnote-1::). The commands (*note Command-line and menu
1805 the first word in the command-line, pressing the <TAB> key (or <C-i>)
1816 File: grub.info, Node: Command-line interface-Footnotes, Up: Command-line interface
1822 File: grub.info, Node: Menu interface, Next: Menu entry editor, Prev: Command-line interface, Up: Interface
1836 Commands are available to enter a bare command-line by pressing <c>
1859 special version of the GRUB command-line to edit that line. When the
1878 interface explicitly with the command `hiddenmenu' (*note
1884 back to the command-line interface (*note Command-line interface::).
1896 be entered on the command-line and can be used either anywhere in the
1903 * Command-line and menu entry commands::
1947 -- Command: default num
1949 from 0, and the entry number 0 is the default if the command is not
1953 default entry is the entry saved with the command `savedefault'.
1962 -- Command: fallback num...
1966 `default' command (*note default::)). This obviously won't help if
1976 -- Command: hiddenmenu
1977 Don't display the menu. If the command is used, no menu will be
1989 -- Command: timeout sec
1999 -- Command: title name ...
2004 File: grub.info, Node: General commands, Next: Command-line and menu entry commands, Prev: Menu-specific commands, Up: Commands
2009 Commands usable anywhere in the menu and in the command-line.
2037 -- Command: bootp [`--with-configfile']
2038 Initialize a network device via the "BOOTP" protocol. This command
2042 If you specify `--with-configfile' to this command, GRUB will
2052 -- Command: color normal [highlight]
2099 This command can be used in the configuration file and on the
2100 command line, so you may write something like this in your
2116 -- Command: device drive file
2118 BIOS drive DRIVE. You can use this command to create a disk image,
2125 This command can be used only in the grub shell (*note Invoking
2134 -- Command: dhcp [-with-configfile]
2136 this command is just an alias for `bootp', since the two protocols
2137 are very similar. This command is only available if GRUB is
2140 If you specify `--with-configfile' to this command, GRUB will
2150 -- Command: hide partition
2162 -- Command: ifconfig [`--server=server'] [`--gateway=gateway']
2167 not important. This command shows current network configuration,
2176 -- Command: pager [flag]
2187 -- Command: partnew part type from len
2199 -- Command: parttype part type
2210 -- Command: password [`--md5'] passwd [new-config-file]
2212 interactive editing control (menu entry editor and command-line)
2213 and entries protected by the command `lock'. If the password
2217 instructions. You can also use this command in the script
2228 -- Command: rarp
2229 Initialize a network device via the "RARP" protocol. This command
2239 -- Command: serial [`--unit=unit'] [`--port=port'] [`--speed=speed']
2255 `terminal' command is used (*note terminal::).
2257 This command is only available if GRUB is compiled with serial
2266 -- Command: setkey [to_key from_key]
2269 this command _does not_ exchange the keys. If you want to exchange
2270 the keys, run this command again with the arguments exchanged,
2392 -- Command: terminal [`--dumb'] [`--no-echo'] [`--no-edit']
2400 reported. This command is only available if GRUB is compiled with
2427 -- Command: terminfo `--name=name' `--cursor-address=seq'
2430 Define the capabilities of your terminal. Use this command to
2435 arguments to this command. *Note Invoking grub-terminfo::.
2445 -- Command: tftpserver ipaddr
2446 *Caution:* This command exists only for backward compatibility.
2451 `192.168.0.15'. This command is only available if GRUB is compiled
2460 -- Command: unhide partition
2467 File: grub.info, Node: Command-line and menu entry commands, Prev: General commands, Up: Commands
2469 13.3 The list of command-line and menu entry commands
2472 These commands are usable in the command-line and in menu entries. If
2473 you forget a command, you can run the command `help' (*note help::).
2517 File: grub.info, Node: blocklist, Next: boot, Up: Command-line and menu entry commands
2522 -- Command: blocklist file
2527 File: grub.info, Node: boot, Next: cat, Prev: blocklist, Up: Command-line and menu entry commands
2532 -- Command: boot
2534 if running the fully interactive command-line (it is implicit at
2538 File: grub.info, Node: cat, Next: chainloader, Prev: boot, Up: Command-line and menu entry commands
2543 -- Command: cat file
2544 Display the contents of the file FILE. This command may be useful
2550 File: grub.info, Node: chainloader, Next: cmp, Prev: cat, Up: Command-line and menu entry commands
2555 -- Command: chainloader [`--force'] file
2565 File: grub.info, Node: cmp, Next: configfile, Prev: chainloader, Up: Command-line and menu entry commands
2570 -- Command: cmp file1 file2
2584 File: grub.info, Node: configfile, Next: debug, Prev: cmp, Up: Command-line and menu entry commands
2589 -- Command: configfile file
2593 File: grub.info, Node: debug, Next: displayapm, Prev: configfile, Up: Command-line and menu entry commands
2598 -- Command: debug
2605 File: grub.info, Node: displayapm, Next: displaymem, Prev: debug, Up: Command-line and menu entry commands
2610 -- Command: displayapm
2614 File: grub.info, Node: displaymem, Next: embed, Prev: displayapm, Up: Command-line and menu entry commands
2619 -- Command: displaymem
2630 File: grub.info, Node: embed, Next: find, Prev: displaymem, Up: Command-line and menu entry commands
2635 -- Command: embed stage1_5 device
2641 Usually, you don't need to run this command directly. *Note
2650 File: grub.info, Node: find, Next: fstest, Prev: embed, Up: Command-line and menu entry commands
2655 -- Command: find filename
2662 File: grub.info, Node: fstest, Next: geometry, Prev: find, Up: Command-line and menu entry commands
2667 -- Command: fstest
2678 Command-line and menu entry commands
2683 -- Command: geometry drive [cylinder head sector [total_sector]]
2692 File: grub.info, Node: halt, Next: help, Prev: geometry, Up: Command-line and menu entry commands
2697 -- Command: halt `--no-apm'
2698 The command halts the computer. If the `--no-apm' option is
2703 File: grub.info, Node: help, Next: impsprobe, Prev: halt, Up: Command-line and menu entry commands
2708 -- Command: help `--all' [pattern ...]
2710 specify PATTERN, this command shows short descriptions of most of
2712 command, short descriptions of rarely used commands (such as *Note
2719 File: grub.info, Node: impsprobe, Next: initrd, Prev: help, Up: Command-line and menu entry commands
2724 -- Command: impsprobe
2727 a tight loop. This command can be used only in the Stage 2, but
2731 File: grub.info, Node: initrd, Next: install, Prev: impsprobe, Up: Command-line and menu entry commands
2736 -- Command: initrd file ...
2742 File: grub.info, Node: install, Next: ioprobe, Prev: initrd, Up: Command-line and menu entry commands
2747 -- Command: install [`--force-lba'] [`--stage2=os_stage2_file']
2750 This command is fairly complex, and you should not use this command
2774 name REAL_CONFIG_FILE. This command preserves the DOS BPB (and for
2808 File: grub.info, Node: ioprobe, Next: kernel, Prev: install, Up: Command-line and menu entry commands
2813 -- Command: ioprobe drive
2814 Probe I/O ports used for the drive DRIVE. This command will list
2819 File: grub.info, Node: kernel, Next: lock, Prev: ioprobe, Up: Command-line and menu entry commands
2824 -- Command: kernel [`--type=type'] [`--no-mem-option'] file ...
2828 command-line". Any modules must be reloaded after using this
2829 command.
2831 This command also accepts the option `--type' so that you can
2844 File: grub.info, Node: lock, Next: makeactive, Prev: kernel, Up: Command-line and menu entry commands
2849 -- Command: lock
2851 must use the command `password' if you really want this command to
2854 This command is used in a menu, as shown in this example:
2864 File: grub.info, Node: makeactive, Next: map, Prev: lock, Up: Command-line and menu entry commands
2869 -- Command: makeactive
2871 This command is limited to _primary_ PC partitions on a hard disk.
2874 File: grub.info, Node: map, Next: md5crypt, Prev: makeactive, Up: Command-line and menu entry commands
2879 -- Command: map to_drive from_drive
2891 File: grub.info, Node: md5crypt, Next: module, Prev: map, Up: Command-line and menu entry commands
2896 -- Command: md5crypt
2898 encrypted password can be used with the command `password' (*note
2902 File: grub.info, Node: module, Next: modulenounzip, Prev: md5crypt, Up: Command-line and menu entry commands
2907 -- Command: module file ...
2910 command must know what the kernel in question expects). The rest
2911 of the line is passed as the "module command-line", like the
2912 `kernel' command. You must load a Multiboot kernel image before
2916 File: grub.info, Node: modulenounzip, Next: pause, Prev: module, Up: Command-line and menu entry commands
2921 -- Command: modulenounzip file ...
2926 File: grub.info, Node: pause, Next: quit, Prev: modulenounzip, Up: Command-line and menu entry commands
2931 -- Command: pause message ...
2938 File: grub.info, Node: quit, Next: reboot, Prev: pause, Up: Command-line and menu entry commands
2943 -- Command: quit
2945 This command can be used only in the grub shell.
2948 File: grub.info, Node: reboot, Next: read, Prev: quit, Up: Command-line and menu entry commands
2953 -- Command: reboot
2957 File: grub.info, Node: read, Next: root, Prev: reboot, Up: Command-line and menu entry commands
2962 -- Command: read addr
2967 File: grub.info, Node: root, Next: rootnoverify, Prev: read, Up: Command-line and menu entry commands
2972 -- Command: root device [hdbias]
2987 File: grub.info, Node: rootnoverify, Next: savedefault, Prev: root, Up: Command-line and menu entry commands
2992 -- Command: rootnoverify device [hdbias]
3000 File: grub.info, Node: savedefault, Next: setup, Prev: rootnoverify, Up: Command-line and menu entry commands
3005 -- Command: savedefault num
3034 File: grub.info, Node: setup, Next: testload, Prev: savedefault, Up: Command-line and menu entry commands
3039 -- Command: setup [`--force-lba'] [`--stage2=os_stage2_file']
3041 Set up the installation of GRUB automatically. This command uses
3042 the more flexible command `install' (*note install::) in the
3046 "root device", which can be set by the command `root'. If
3058 File: grub.info, Node: testload, Next: testvbe, Prev: setup, Up: Command-line and menu entry commands
3063 -- Command: testload file
3073 File: grub.info, Node: testvbe, Next: uppermem, Prev: testload, Up: Command-line and menu entry commands
3078 -- Command: testvbe mode
3079 Test the VESA BIOS EXTENSION mode MODE. This command will switch
3084 File: grub.info, Node: uppermem, Next: vbeprobe, Prev: testvbe, Up: Command-line and menu entry commands
3089 -- Command: uppermem kbytes
3099 File: grub.info, Node: vbeprobe, Prev: uppermem, Up: Command-line and menu entry commands
3104 -- Command: vbeprobe [mode]
3107 command lists up available VBE modes on the screen. See also *Note
3210 This error is returned if the install command points to
3275 This error is returned if the initrd command is used before
3279 This error is returned if the module load command is used before
3312 27 : Unrecognized command
3313 This error is returned if an unrecognized command is entered on the
3314 command-line or in a boot sequence section of a configuration file
3319 command is either trying to load its data such that it won't fit
3325 during an install of set active partition command.
3328 This error is returned if an argument specified to a command is
3333 block-lists (e.g. the command `install'). In this case, you should
3375 You can use the command `grub' for installing GRUB under your operating
3382 The command `grub' accepts the following options:
3385 Print a summary of the command-line options and exit.
3444 *Note Installation::, for more information. The command `grub'-specific
3459 that no activity is being done on it while the command `grub' is
3466 In addition, enter the command `quit' when you finish the
3471 option in the command-line. This is a simple example:
3527 Print a summary of the command-line options and exit.
3565 Passwords encrypted by this program can be used with the command
3571 Print a summary of the command-line options and exit.
3585 The program `grub-terminfo' generates a terminfo command from a
3594 Print a summary of the command-line options and exit.
3599 You must specify one argument to this command. For example:
3620 Print a summary of the command-line options and exit.
3646 may execute this command:
3670 Print a summary of the command-line options and exit.
3808 * Command interface:: The generic interface for built-ins
3844 Command-line buffer for Multiboot kernels and modules
3871 Buffers for various functions, such as password, command-line, cut
3954 File: grub.info, Node: Filesystem interface, Next: Command interface, Prev: Embedded data, Up: Internals
4049 File: grub.info, Node: Command interface, Next: Bootstrap tricks, Prev: Filesystem interface, Up: Internals
4056 builtin command consists of two parts: the code itself and the table of
4059 The code must be a function which takes two arguments, a command-line
4066 builtin', which contains the name of the command, a pointer to the
4067 function, flags, a short description of the command and a long
4068 description of the command. Since the descriptions are used only for
4070 command may not be called interactively (such as `title').
4073 `run_script' and `enter_cmdline' can find the command. See the files
4077 File: grub.info, Node: Bootstrap tricks, Next: I/O ports detection, Prev: Command interface, Up: Internals
4351 Node: Command-line interface67661
4352 Node: Command-line interface-Footnotes69602
4353 Ref: Command-line interface-Footnote-169691
4382 Node: Command-line and menu entry commands90486
4445 Node: Command interface148077