GRUB startup command details

Source: Internet
Author: User
GRUB startup command details-general Linux technology-Linux technology and application information. The following is a detailed description. GRUB startup command details

I. menu commands

The menu command can only be used in the global configuration part of the grub configuration file. It cannot be used in the grub command line interactive interface. The menu command should be placed before other commands in the configuration file.

1. default // set the default menu item

2. fallback // set the menu item that is reversed after a menu item fails to be started

3. hiddenmenu // hide the menu interface

4. timeout // set the time delay for automatic menu startup

5. title // start a menu item

II. General commands

Common commands can be performed on the interface between the configuration file and the grub command line. Common Commands include

1. bootp // initialize a network device through bootp

2. color // set the color of the menu interface

3. device // specify the device file as the drive

4. dhcp // initialize the network device through DHCP

5. hide // hide a partition

6. ifconfig // manually configure the network device

7. pager // change the state of the internal page program

8. partnew // create a primary Partition

9. parttype // change the partition type

10. Set password for the menu interface

11. rarp // initialize network settings through RARP

12. serial // set the serial port device

13. setkey // set keyboard ing

14. splashimage // set the background image file when GRUB is started.

15. termainal // select the terminal type

16. tftpserver // specify the TFTP Server

17. unhide // restore a hidden partition

3. Command Line and menu item commands

The command line and menu item commands can be used in the menu item settings in the GRUB configuration file, or in the GRUB command interaction interface.

1. bolcklist // display the partition location of a file (block list notation)

2. boot // start the Operating System

3. cat // display the File Content

4. chainloader // Soft Control of startup to another boot loader

5. cmp // compare two files

6. configfile // load the existing GRUB configuration file

7. debug // set to debug mode

8. displayapm // display apm bios Information

9. displaymem // Display memory configuration

10. embed // embed the Stage 1.5 File

11. find // find all devices that contain a file

12. fstest // test the File System

13. geometry // display the physical information of a drive

14. halt // stop the computer (software shutdown)

15. help // display the GRUB Command help information

16. impsprobe // query information of symmetric multi-processor (SMP)

17. initrd // load the initrd File

18. install // install GRUB

19. ioprobe // query the input/output (I/O) Port of a drive

20. kernel // boot the operating system kernel

21. lock // lock a GRUB menu item so that it can be started only after entering the password

22. makeactive // activate a primary Partition

23. map // map a drive

24. md5crypt // use the MD5 encryption Password

25. module // load the module

26. modulenounzip // The loading module is not extracted.

27. pause // pause and wait for the button

28. quit // exit GRUB

29. reboot // restart the computer

30. read // read the content in the memory

31. root // set the root device of GRUB

32. rootnoverify // The root device of the GRUB device but does not load the File System

33. savedefault // Save the current Start Menu item as the default start

34. setup // automatically install GRUB

35. testload // read a file from the file system

36. testvbe // test VESA BIOS EXTENSION

37. uppermem // forcibly set the upper host memory size

38. vbeprobe // query vesa bios extension Information

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.